How Do I See the Number of Sample in my DAQmx Buffer

Updated Dec 20, 2021

Reported In

Hardware

  • PXIe-4492

Driver

  • NI-DAQmx

Issue Details

I want to see how many samples are in my DAQ device's buffer at any given time.

Solution

To be able to view the number of samples in the buffer of a DAQ input task you will need to implement a DAQmx Read Property Node. The particular property that needs to be read is Available Samples Per Channel which is found listed under Status.