LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save time component from a waveform into spreadsheet?

Hi, i'm currently working on my final year project. Basically, the main idea of my project is to collect 3 data (EEG,ECG and EMG) simultaneously and save into spreadsheet after filtered. Spreadsheet is later view in excel. The block diagram I designed manage to collect and save the 3 data but I need another column for "time". I've try " Get time/ date string.vi" and "Format time/date string.vi", but I don't know how to combine with my 3 data and show the time value at the first column in spreadsheet. Can someone help me get through this difficulty? Sorry for my poor English, please do let me know if you do not understand my question. Thank you.

 

 

0 Kudos
Message 1 of 5
(2,874 Views)

Since you are using Express VIs that generate dynamic data (evil that it is), you might as well use the Express Write to Measurement File. In your VI, when you convert the dynamic data to a 2D DBL array, you have stripped all timing information from the data.

0 Kudos
Message 2 of 5
(2,868 Views)

im actually using DAQ to obtain dynamic data, i used the signal generator is because i do not have DAQ in hostel. haha. by the way, the write measurement file can write 1 data with the respective time right? i need 3 data simultaneously. For instance, 1st column is time, 2nd column is ECG, 3rd column is EMG and last column is EEG. Can "write to measurement file" be in this way? Thanks~~~^^

0 Kudos
Message 3 of 5
(2,847 Views)
Instead of asking, just try it.

Yes, the function puts a timestamp in column 1 and then data in the next columns. It gets column names from the channels you define in the DAQ Assistant.
0 Kudos
Message 4 of 5
(2,843 Views)

well...i'll play with it ~~Thanks for ur help~~^^

0 Kudos
Message 5 of 5
(2,839 Views)