Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: Exporting to Excel
Reply to topic
Author Message
s.rafieivand@gmail.c



Joined: Oct 10, 2019
Posts: 6

PostPosted: Apr 14, 2020 8:39 AM    Post subject: Exporting to Excel

Hi, and I hope to be healthy.

I have different sorts of recorded signals in *.xdf format in the various numbers of channels 1, 2, 4 or 8. Now, I want to make a design that enables users to export each of them to Excel (*.csv) for analysis in other applications.

The problem is finding the number of recorded channels. Is there a property in XDFReader that return this?
Or have you any suggestions for converting files with a different number of channels?
jarek



Joined: Oct 22, 2007
Posts: 789

PostPosted: Apr 14, 2020 8:47 AM    Post subject:

You can open any .xdf file in the example design SessionReport which comes with BioEra.

There you have an option to see all channels, select some of them, and export to Excel.
s.rafieivand@gmail.c



Joined: Oct 10, 2019
Posts: 6

PostPosted: Apr 14, 2020 8:59 AM    Post subject:

I want user can browse their files and export them. So I cannot see number of channels manually.
jarek



Joined: Oct 22, 2007
Posts: 789

PostPosted: Apr 14, 2020 9:05 AM    Post subject:

It should be possible to create a specialized design like that. Not something I have on hand though.
s.rafieivand@gmail.c



Joined: Oct 10, 2019
Posts: 6

PostPosted: Apr 15, 2020 1:14 AM    Post subject:

Now, Is there a property in XDFReader that returns number of the recorded channels?
jarek



Joined: Oct 22, 2007
Posts: 789

PostPosted: Apr 15, 2020 9:08 AM    Post subject:

There is no such property. But it is possible to do with ElementInfo.

See this snippet:

http://proatech.com/design/xdf_channel_count.bpd
s.rafieivand@gmail.c



Joined: Oct 10, 2019
Posts: 6

PostPosted: Apr 16, 2020 12:04 AM    Post subject:

Nice. Thank u.
Reply to topic