Showing results for 
Search instead for 
Did you mean: 

DAQmx Logging TDMS Data - Provides timestamps in seconds

I am using DAQmx Configure logging function to read discrete inputs and log them in a TDMS file.

Timestamp at which the data is logged in TDMS file shows in terms of seconds. However when I read the data using DAQmx read function, I get the timestamp logged in milliseconds.See the attachments.

Can someone help me out on how I can configure TDMS file to get timestamp logs in milliseconds?


Download All
Message 1 of 4

You will need to know your group and channel name, but try reading the wf_start_time property ot get the time with milliseconds. Try the TDMS file viewer vi.







0 Kudos
Message 2 of 4

I did try to read the TDMS data stored through TDMS File viewer, and found that wf_start_time is being set with the same t0 value thats read from the TDMS file. Please see attached screenshot.

0 Kudos
Message 3 of 4

Looking at your BD,change your mode from continuous samples to finite samples and see if that changes anything, or keep it in continous mode and get rid of that 10 samples per channel.



0 Kudos
Message 4 of 4