Table Of Contents

HWC Fetch Sample Errors (U32) (G Dataflow)

Last Modified: March 1, 2019

Returns the sample error information from a hardware comparison operation.

connector_pane_image
datatype_icon

session in

Instrument session obtained from the Initialize Acquisition Session node, the Initialize Generation Session node, or the Initialize External Calibration node.

datatype_icon

sample errors to read

The number of sample errors to read.

Default: 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: 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

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: 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 Session node or the Initialize Generation Session node.

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

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

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


Recently Viewed Topics