LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems reading waveform files in MATLAB

Solved!
Go to solution

Deal all,

 

I acquired signals on 2 A/D channel (using DAQ board M USB-6215) and save them into waveform file using WriteWaveformsFile.vi. But for processing (FFT, elippse fitting, sinewave fitting) I want to use these data in MATLAB. I tried some options like conwert waveform to bin file but I cannot get these data in MATLAB correctly. I also convert waveform data (or data from one waveform) using WriteToSpreadsheetFile.vi, but still I can get correctly data in MATLAB. I am not sure what I'm doing wrong. Thank you for you help on any tip. I use matlab R2009a andLabview 8.5.

 

Tomaz.

0 Kudos
Message 1 of 3
(3,327 Views)
Solution
Accepted by topic author Tomaz Lusin

hi,

 While saving the data in a file,please use the write to measurement file(express VI) and configure for *.lvm ,without header and time column.So since this *.lvm file is a normal text like file,try to read it in matlab.

 

 

Thanks and regards,

srikrishaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 3
(3,317 Views)
Hello, I have waveform file saved and I want use these data to be read in MATLAB. I have problems to correctly save these data to file (e.g. .bin or .xls) to be available in MATLAB. I will try save data from waveform file to measurement file as you suggested. I hope this wil help. Thank you for the tip, srikrishaN.
0 Kudos
Message 3 of 3
(3,315 Views)