Find First Error VI

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

Owning Palette: Dialog & User Interface VIs and Functions

Requires: Base Development System

Tests the error status of one or more low-level functions or subVIs that produce a numeric error code as output.


error codes is an array of the numeric error codes assembled from local subVIs or functions. If there is no error indicated in the error in cluster, the VI tests these codes in ascending order for nonzero values. If the VI finds a nonzero value, error out reflects the error status of that input.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
source messages contains the source message you want to appear in the error out cluster if the VI finds an error in error codes. Place each message on a separate line in a string constant or control. Use of this input is optional.
error? is TRUE if the error in cluster or any of the error codes reflects an error.
error out contains error information. This output provides standard error out functionality.

Find First Error Details

If this VI finds an error, it sets the parameters in the error out cluster. You can wire this cluster to the Simple Error Handler or General Error Handler to identify the error and describe it to the user.


Not Helpful