LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read EDF files in LabVIEW?

Solved!
Go to solution

Hi all.

 

I'm trying to read a EDF file (brain signals, EEG) into LabVIEW but I can't figure out how to do it. Would like to meet this challenge without converting the EDF file before processing. 

 

Are there someone out there who can help me? I'm using LabVIEW 2010

 

Kind regards

0 Kudos
Message 1 of 14
(7,789 Views)

Hi Clausny,

 

LabVIEW supports numerous data types through DataPlugins available here (login may be required), this includes the *.EDF (European Data Format).

 

Supported Features:

  • EDF (European Data Format) files. 
  • EDF+ files.
  • Large blocked data files.
  • Writing of EDF files.
    • All channels are saved into one channel group.
    • Saving of all numeric and waveform channels.
    • All channels must have the same channel length and the same "Waveform x-step width" property value.
    • "Waveform x-name" and "Waveform x-unit" properties will be ignored when writing to EDF file.

Non-Supported Features:

  • Annotations. Those will be supported in a later version.

The EDF DataPlugin also integrates into the NI Biomedical Startup Kit. The Biomedical Startup Kit uses the LabVIEW graphical development environment to analyze biomedical signals.

 

Also the link here gives a brief introduction on how to use DataPlugins with your version of LabVIEW.

 

Hope this helps with your application.

 

Thanks

 

Jamie

Jamie S.

Applications Engineer
National Instruments
0 Kudos
Message 2 of 14
(7,785 Views)

Ok thanks.

 

Actually I tried the DataPlugin solution before I maid this post but it wouldn't work with the EDF files. And it still won't work but it runs perfectly with the EDF+ files. Do you have a solution for this problem?

 

 - Clausny

0 Kudos
Message 3 of 14
(7,757 Views)

Hi Clausny,

 

Are you getting any error messages from your LabVIEW program? Also did you try installing the NI Biomedical Startup Kit available here (login may be required)? Although I understand you would rather not convert the *.EDF files it may be worth converting it to *.TDMS and try reading in the data that way to verify the operation of your program.

 

Thanks again.

Jamie

Jamie S.

Applications Engineer
National Instruments
0 Kudos
Message 4 of 14
(7,740 Views)

Hi!

Since September 26, 2011 there is a new version of the EDF DataPlugin online:

http://zone.ni.com/devzone/cda/epd/p/id/2642

If you used the previous version, you may want to give it a try for your EDF files.

Major changes are:

- Support writing

- Changed from VBS to C++ DataPlugin

 

Greetings,

Uwe

0 Kudos
Message 5 of 14
(7,725 Views)

Hi

 

Thanks for mention. I have now tried with the new DataPlugin version. It can still not read the EDF files but it works fine with the EDF+. It would be really nice if someone could help me with this problem and tell me what to do.

 

Thanks

Clausny

0 Kudos
Message 6 of 14
(7,687 Views)

Hi Clausny,

 

can you please provide an example file e.g. by putting it to

ftp://ftp.ni.com/incoming/

(Files posted there can only be accessed from inside NI)

You can also send it to

dataplugins@ni.com

0 Kudos
Message 7 of 14
(7,672 Views)

All right.

 

Should I post both the EDF file and my VI?

 

 

 

 

0 Kudos
Message 8 of 14
(7,668 Views)

EDF!  EDF!

0 Kudos
Message 9 of 14
(7,658 Views)
Solution
Accepted by clausny

Hi All.

 

Thank you for your help. It finally works now!!

I tried to uninstalled and then reinstalled the edf DataPlugin file. And now it works great, both the EDF+ and EDF.

 

 - Clausny.

0 Kudos
Message 10 of 14
(7,642 Views)