11-20-2025 05:08 PM - edited 11-20-2025 05:53 PM
This is a bug that affects DAQmx 2025Q4 and LabVIEW 2025Q3; it also appears in LabVIEW 2021 and DAQmx 2021. I do not know what other versions it affects.
Background:
Attached is an example in LabVIEW 2019 for people to test/confirm the bug.
This example uses the built in DAQmx Logging Feature. It will write a TDMS file to your temporary folder and delete it when the VI is stopped. This VI makes use of the DAQmx Pause feature which allows one to pause saving data to the TDMS file.
This bug occurs with both real and simulated instruments. You may have to adjust the sampling rate and the number of points based on your device.
The Bug is as follows:
Since the logged data is correct the bug is not severe,but if in parallel you are analyzing the waveform data and depend on a valid t0 or dt, it is an issue.
Below is a screen shot of the bug. You can see the transitions in dt when the Pause button goes from T->F in the bottom plot; the bottom plot records dt for each DAQmx read iteration. (The correct dt is not 0 as it appears in the plot, it is 1/1024 which looks like 0 on the plot range.)