Error -200010 in LabVIEW During a DAQmx Acquisition

Updated Apr 6, 2023

Reported In


  • LabVIEW


  • NI-DAQmx

Issue Details

When I run my LabVIEW program, I get the following error:

 Warning -200010 occurs at DAQmx Read: Finite Acquisition has been stopped before the requested number of samples were acquired or generated.



This is caused most from the program being stopped before all the samples were collected or a buffer overflow. To avoid this error, you can try the following troubleshooting steps:
  • Try adding a DAQmx Wait Until Done VI or DAQmx Is Task Done  VI to ensure the physical acquisition has finished before the code finishes execution.
  • If the error is occurring at a DAQmx Read VI inside a while loop:
    • Reduce the number of samples to read for the DAQmx Read VI.
    • Increase the buffer size using the Samples per Channel of the DAQmx Timing VI.
This error has also been seen with older M-Series cards with faster CPU's, when starting and stopping DAQmx tasks very quickly. The computer can request the task to start, faster than the older hardware and function, cause this error to throw. To solve this: