Unable to Acquire Data at Maximum Rate with My DAQ Device

Updated Apr 27, 2018

Reported In

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

    I want to acquire data in LabVIEW at the maximum rate possible for my device. I am doing the acquisition without using the DAQmx timing function (therefore using software timing), but even without a wait inside the data acquisition loop I am not able to run at the maximum rate that my device allows.
 

Solution

   In software timing the rate at which samples are acquired is determined by the software, the processor and the number of processes running at the same time. Because of this the rate at which you are acquiring samples is not necessarily the highest possible for the device.
 
   You should therefore change the timing to hardware timing, by using the DAQmx timing function and set the sampling rate to the highest, this can be done programatically in LabVIEW.

   For additional information on the difference between software and hardware timing refer to Timing, Hardware Versus Software.

Additional Information

Refer to Building an Analog Input VI in NI-DAQmx for more information on the code for an analog input in LabVIEW. 

WAS THIS ARTICLE HELPFUL?

Not Helpful