Table Of Contents

DAQmx Read (Counter » Unsigned Integer » Single Sample) (G Dataflow)

Last Modified: July 19, 2019

Reads a 32-bit unsigned integer sample from a counter task. Use an instance that reads 32-bit unsigned integers when NI-DAQmx returns counter samples unscaled, such as for event counting.

If the sample unit of your task cannot be represented by an integer, data is returned in the unit of clock ticks.


task in

task in is the name of the task that the operation applies.


error in

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.



timeout specifies the amount of time in seconds to wait for samples to become available. If the time elapses, the node returns an error and any samples read before the timeout elapsed. The default timeout is 10 seconds. If you set timeout to -1, the node waits indefinitely.

If you set timeout to 0, the node tries once to read the requested samples and returns an error if it is unable to.


task out

task out is a reference to the task after this node runs.


error out

error out contains error information. This output provides standard error out functionality.



data returns a sample.

Where This Node Can Run:

Desktop OS: Windows

FPGA: LabVIEW NXG does not support FPGA devices

Web Server: Not supported in VIs that run in a web application

Recently Viewed Topics