From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Numeric time format

Hello everyone,
I am new to LabVIEW. I recently wrote a LabVIEW block diagram that is used to collect data from 3 different sensors which are connected to the same DAQ. My block diagram outputs the data into a spread sheet. The issue I have is that the time column contains the time in the following format (00:00:00:00). All the values in the column are in the same format with a 0.01 seconds difference from the previous values. I'd like the output to my time data column in the spreadsheet at least in a numeric form (0, 0.01, 0.02, 0.03, etc) while sticking with the waveform.


Is that possible and how to do so?

Thank you and regards

0 Kudos
Message 1 of 4
(2,234 Views)
If course it's possible. What are you using to write to file now?
0 Kudos
Message 2 of 4
(2,220 Views)

I'm using "Export waveform to spreadsheet"

0 Kudos
Message 3 of 4
(2,216 Views)
Write to Measurement File uses relative time if I recall. Write to Spreadsheet File, you can use any format you want but you have to write the code yourself. You can create an array with just the dt and a shift register inside a for loop.
0 Kudos
Message 4 of 4
(2,208 Views)