LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timestamp along with acquired data in a binary file

Ladies and Gentlemen,

 

I am trying to add a Timestamp to some acquired data. The time stamp must be only one - when the file was created and in the beginning of the binary file. After that all the data should follow. Can anyone help and point out what do I need to do.

 

You can see from the attachment that I use DAQmx functions to create a TDMS file (without the time stamp - and I would like to keep the TDMS file for the moment) and then take the data and write it to the binary file (adding the time stamp). I haven't placed the triggers... I am just looking for the idea - what I am missing. I would like to keep the data the same (as taken from the graph) and just add the time stamp...

 

Thank you in advance!

MD 

 

0 Kudos
Message 1 of 3
(2,659 Views)
0 Kudos
Message 2 of 3
(2,635 Views)

Thank you very much Carmen!

 

I fixed the time stamp in a similar way.

 

I have another question now... I am writing the data to tdms files and a binary file. In the tdms file the data is fine, but in the binary file I have time to time empty spaces. I am extracting all Y values and trying to write them in the binary file... (I am not sure if I am doing it right...) Please see the attached pictures.

 

MD

Download All
0 Kudos
Message 3 of 3
(2,617 Views)