HWC Fetch Sample Errors (U32)

Returns the sample error information from a hardware comparison operation.

Inputs/Outputs

datatype_icon

session in

Instrument session obtained from the Initialize Acquisition Sessionnode, the Initialize Generation Sessionnode, or the Initialize External Calibrationnode.

datatype_icon

sample errors to read

The number of sample errors to read.

Default value: 1

datatype_icon

maximum time (ms)

The time, in milliseconds, allotted for the node to complete before NI-HSDIO returns a timeout error.

If you set the value to -1, the node never times out. If you set this parameter to 0, the node returns immediately with up to the number of samples specified in samples to read.

If samples to read is greater than the number of samples in the device memory and all the available samples are acquired before a timeout, NI-HSDIO returns the available samples.

Default value: 10000

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

session out

Handle that identifies the session in all subsequent node calls.

The session out parameter is obtained from the Initialize Acquisition Sessionnode or the Initialize Generation Sessionnode.

datatype_icon

number of sample errors read

The returned total number of sample errors read from device memory.

datatype_icon

sample numbers

The returned array of sample indexes in which an error occurred.

datatype_icon

error bits

The returned array containing the channels, or bits, in which an error occurred for each sample with an error.

0 No error occurred.
1 An error occurred.
datatype_icon

repeat count

The number of times the error was repeated. This parameter only yields data when the Filter Repeated Sample Errors property is set to True.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior