LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save waveform data with corresponding time array to spreadsheet file

Hello to all

I am looking for a possibility to save voltage data acquired and displayed continousely to a spreadsheet file. Acquiring and displaying is not a big problem, but I have troubble to save the data with the corresponding timestamp with more than seconds accuracy. I am acquiring the data at 1000 Hz and read packages of 500 samples. The recording time should not be limited, it will be started and stopped manually. In fact the acquired voltage data first has to be scaled and than saved. If I use the 'WRITE WAVEFORM TO SPREADSHEET' VI the time column is in seconds' accuracy and that is not what I need. If I create my own time array from the waveform parameters I have timing problems. The accuracy in time should reflect the sample rate. I will attach one of my not very successful trials for better understanding.

please help a newcomer!

Thanks in advance
Thomas

LV 7.1
Message 1 of 2
(6,617 Views)

I usually follow a simple method to generate time stamp

I keep sampling rate and number of samples to read as equal and do as shown in the attached VI

I also remember building a VI with a small modification to this time stamp generation logic to cater to acq, where number of samples to read is half/one fourth/one tenth of sampling rate specified, but cannot find that VI.

Hope this helps

Regards

Dev

 

 

 

Message 2 of 2
(6,613 Views)