From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

TDMS timestamp

I just started reading about the properties of the TDMS file format, and am getting nervous my data doesn't have timestamps.  I have been acquiring data using this format for a week already.    Right now I'm working on the code for the viewer executable.  I thought for sure that TDMS saved a timestamp for every waveform sample, but after some reading I'm not so sure anymore.  It sounds like it is dependent on your code.  I'm acquiring my data from a DAQ device.  I haven't had much luck using the "Get TDMS property VIs" to see if I have a timestamp for every sample or not.  My samples aren't all at the same dt.  I'm saving based on time and in the event of an alarm.

0 Kudos
Message 1 of 2
(4,655 Views)

Without being able to see your code, and based on your description, it sounds like you should be saving the timestamp with every datapoint.

 

This is a good example of how you could do that:

 

https://decibel.ni.com/content/docs/DOC-11313

 

 

http://www.medicollector.com
0 Kudos
Message 2 of 2
(4,635 Views)