Error Message

Takes the error code returned by NI-SCOPE functions and returns the interpretation as a user-readable string.

You can pass VI_NULL as the instrument handle, which is useful to interpret errors if Initialize fails.

1378

Inputs/Outputs

datatype_icon

session in

Handle that identifies the NI-SCOPE instrument session as previously allocated by Initialize With Options .

datatype_icon

error in

Error conditions that occur before this node runs.

Unlike most nodes, this node runs normally even if an error occurs before this node runs.

Standard Error Behavior

Default value: no error

datatype_icon

error code

The status code returned by any NI-SCOPE function.

Default value: 0

datatype_icon

session out

Reference to the NI-SCOPE instrument session to pass to the next node in the program.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

datatype_icon

error message

The interpreted error code.