LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save my waveform to spreadsheet text file

I am a very beginner in DAQ programming with LV8.2 and USB-DAQ6212.
The waveform (in attachment) was obtained by using the "Analog 1D waveform N channels 1 sample.vi"
I would like to show the waveform and save it as a text or excel file.
 
The problem is that only single data was saved (Export to Waveform to Spreadsheet File.vi)
2008-03-13  16:39:08. 8.565898E+0
How to fix this problem?
 
My second problem is that I need more large significant number in time stamp(16:39:08.).
The data were recorded in the interval of less than 100 ms.
 
I would like to see more example to handle the type of Waveform.
 
Thank you in advance.


메시지가 03-13-2008 03:04 AM에 labmaster에 의해 편집되었음
0 Kudos
Message 1 of 4
(2,889 Views)
Hi Labmaster,

without looking at your vi you write: "N channels 1 sample". So you only get one sample per channel and write it to file. And now you wonder about getting only one sample in the file?

To get more significant digits in the timestamp you should change the format string to include something like "%3u" to save the milliseconds too. See the LabView help for format codes!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,871 Views)
Anyway, my example include waveform chart and spreadsheet.vi which are connected directly.
Would you please open my attachment?
The problem you pointed out should be checked in other posting.
 
Thanks
 
0 Kudos
Message 3 of 4
(2,867 Views)
Thank you.
I complexed between waveform chart and graph.
 
0 Kudos
Message 4 of 4
(2,864 Views)