int32 DAQmxReadCounterScalarU32 (TaskHandle
taskHandle, float64 timeout, uInt32 *value, bool32 *reserved);
Reads a 32-bit integer sample from a counter task.
Use this function when the counter sample is returned unscaled,
such as for edge counting.
||The task to read the sample from.
||The amount of time, in seconds, to wait for the
function to read the sample(s). To specify an infinite wait, pass
-1 (DAQmx_Val_WaitInfinitely). This
function returns an error if the timeout elapses.
A value of 0 indicates to try once to read the requested samples.
If all the requested samples are read, the function is successful.
Otherwise, the function returns a timeout error and returns the
samples that were actually read.
||Reserved for future use. Pass NULL to this
||The sample read from the task.
||The error code returned by the function in the
event of an error or warning. A value of 0 indicates success. A
positive value indicates a warning. A negative value indicates an