10-09-2017 02:55 PM
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?
10-09-2017 03:10 PM
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.
mcduff
10-09-2017 03:28 PM
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.
10-09-2017 04:15 PM
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.
mcduff