LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DaqMX & TDMS Logging - No Datestamp and dt until Close

In our application, we are continuously logging data to a TDMS file using the "DaqMX Configure Logging (TDMS).vi". However, there are times when we need to look at the TDMS data while the application is still running (i.e. when a failure is found). What I've noticed is that the initial timestamp and dt are missing from the TDMS file until the "Stop and Clear Tasks.vi" is called, which in our application only occurs when the application is being terminated.

 

In other words, when I go to look at the TDMS data while the app is running, the TDMS File Viewer shows the time starting in year 1903 and the wrong sample width until after the application exits, and then it shows the correct time and sample time. How can this be fixed so that the initial timestamp appears while the app is running?

0 Kudos
Message 1 of 3
(2,919 Views)

I attached an example to show what the LabView bug is... feel free to change Resource to anything you have on your system to reproduce. The default values and Block Diagram comments re-explain the issue.

0 Kudos
Message 2 of 3
(2,908 Views)