LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accuracy of time stamp in file

I'm rying to get the best way to display the system time at the start of my data collection.  Basically have the system time show up as the first sample +/- .010 seconds.  I am wondering if this VI will do it for me.  It is a basic stream to file VI with a "get cpu time" if the loop iteration is 0.  Let me know if you guys think this will do what I am trying to accomplish. 
0 Kudos
Message 1 of 2
(2,472 Views)

I'm having some trouble understanding why you are removing the start time information and then putting it back in. Your waveform data type has a t0. Have you looked at using the Export Waveforms to Spreadsheet File?

 

Also, the wiring of the iteration terminal to an indicator, then using a local variable, then doing a comparison is silly. If you want to do something only on the first iteration, wire the iteration terminal directly to the case statement selector.

0 Kudos
Message 2 of 2
(2,459 Views)