Changing Acquisition Time During Data Acquisition

Updated Apr 28, 2025

Reported In

Driver

  • NI-DAQ™mx

Issue Details

  • After changing the PC local time, the measurement data acquisition time does not update accordingly. The NI program needs to be closed and reopened for the data acquisition time to reflect the new PC time.  Is there a solution for this issue?
  • Is it possible to change the acquisition time to the updated PC time during cDAQ data acquisition?

Solution

It is not possible to change the acquisition time to the updated PC time when it is change during data acquisition. This is because the NI-DAQmx driver reads the current system time (PC time) only when it first starts reading data. Subsequent timestamps are calculated based on the time interval (dt) between samples. This time interval is determined by hardware timing and is as accurate as the clock on the DAQ card being used.