LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

export waveform data&date

I use Labview 6.0.I use Export Waveforms to Spreadsheet File.vi to save my data. When I opened the file the date and time was wrong. It was like this
t0 01.01.1904 03:00:00.000000
delta t 1.000000

time Y
01.01.1904 03:00:00.000000 0.010000
01.01.1904 03:00:01.000000 0.010000
01.01.1904 03:00:02.000000 0.010000
I know that date is expressed as seconds since January 01, 1904 in Labview and I need to convert the date/time to a string in 04/06/2004 format. But i couldn't convert it. Would you please send me export waveform to spreadsheet file.vi example which converts the date in current date.
Thanks in advance.
0 Kudos
Message 1 of 2
(2,608 Views)
The t0 of your waveform needs to be the present time. The example that you are using does not do anything to the timestamp except to convert it to a date-time string. You can either configure what ever you are getting the data from to return the t0 as the accureate present time, or you can get the waveform component of t0, change it, and then build the waveform back together again. This should get you what you are looking for.
0 Kudos
Message 2 of 2
(2,608 Views)