LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to Measurement File Incorrect Time Stamps

Solved!
Go to solution

Hello all,

 

I am trying to use the Write To Measurement File Vi to record 8 channels of data from a DAQ. In the settings, there is an option to automatically add a column of timestamps to the data, which I would like to use. However, when I test it, the only thing recorded in the timestamp column is the epoch (1/1/1904 00:00:00.000). 

IncorrectTimeColumn1.PNG

Sometimes the first row will have a correct time, but the other rows are incorrect. 

IncorrectTimeColumn2.PNG

I originally assumed that there was something extra that I needed to do to make it record correctly (i.e, wire the current time to the Write To Measurement File vi or something) but I can't find anything. My computer's date and time are up to date. Why am I seeing this odd behavior? 

 

By the way, I am aware (of course) that I can manually work around this in ways that avoid using the automatic timestamp feature at all. I will do it if I have to. However, since the feature is there, it would be nice to be able to use it. 

 

Download All
0 Kudos
Message 1 of 3
(1,276 Views)
Solution
Accepted by topic author BrendanMitchell

Just a guess here, but it looks like you are getting a 2D array of data from your DAQ. In that 2D array there is no timestamp information. I am guessing that if the output from your DAQ was an array of waveforms, the timestamp information would be there, and the file would have the information. (Typically it's best to include the VIs instead of pictures.)

Message 2 of 3
(1,265 Views)

With some further testing, it looks like you're right. I guess this vi is only intended to be used with waveforms, not arrays or single data points? That wasn't obvious to me from the documentation. 

Anyway, thanks!

0 Kudos
Message 3 of 3
(1,209 Views)