Solution
The timestamp data in a NI-DAQmx waveform is based on the system clock, so this issue can occur for the following reasons:
- Incorrect LabVIEW code.
- Corrupt NI-DAQmx.
- Corrupt NI Measurement & Automation Explorer (MAX).
To resolve this issue, following the steps below:
- Ensure that the LabVIEW code does not initialize the waveform data with default values.
- LabVIEW will automatically use a default dt of 1.000000 and t0 of 00:00:00 PM MM/DD/YYYY. Instead of initializing the array with a default element, ensure that the waveform array starts empty and is only populated with data from the DAQmx Read VI.
- It may be that the NI-DAQmx installation is corrupt. Using NI Package Manager, repair NI-DAQmx.
- If the above steps do not resolve the issue, repair NI MAX using NI Package Manager.