NI-RFSG Playback Library

Standard Error Parameter Behavior

  • Updated2023-02-21
  • 3 minute(s) read
Many LabVIEW nodes contain error in or error out parameters that you can use to manage errors. These parameters typically provide the same, standard functionality. When a node exhibits different parameter functionality, the exceptions are documented in the reference material for that node.

Standard behavior forerror in and error out is described in the following table.

NoteNote: Some nodes, such as error handling VIs, contain an error in parameter that does not provide standard error in functionality, but that contains an error in cluster that is standard.
error in describes error conditions that occur before this node runs. The default is no error. If an error occurs before this node runs, the node passes the error in value to error out. This node runs normally only if no error occurs before this node runs. If an error occurs while this node runs, it runs normally and sets its own error status in error out.

Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.

error out contains error information. If error in indicates that an error occurs before this node runs, error out contains the same error information. Otherwise, it describes the error status that this node produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.

error in cluster contains the following cluster elements:

status is TRUE if an error occurs before this node runs or FALSE to indicate a warning or that an error did not occur before the node runs. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is an error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning, and in most cases is the name of the node that produces the error or warning. The default is an empty string.

error out contains the following cluster elements:

status is TRUE if an error occurs before or while this node runs, or FALSE to indicate a warning or that no error occurred before or while this node runs.
code is the error or warning code. If status is TRUE, code is an error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning, and in most cases is the name of the node that produces the error or warning.

Log in to get a better experience