Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual
Version:

    Indicates whether an error occurred. If an error occurred, this node returns a description of the error and optionally displays a dialog box.

    You can use this node to define exceptions to the default error handling behavior for particular error codes.

    connector_pane_image
    datatype_icon

    user-defined descriptions

    Array of descriptions of user-defined codes.

    If an incoming error matches one in user-defined codes, this node returns the corresponding description from user-defined descriptions in message.

    datatype_icon

    user-defined codes

    Array of numeric error codes you can use to define error codes and messages for your own code.

    This node searches this array after searching an internal database of error codes. Error codes -8999 through -8000, 5000 through 9999, and 500,000 through 599,999 are reserved for you to define your own error messages.

    datatype_icon

    error code

    Numeric error code.

    If error in indicates an error, this node ignores the error code. If not, this node tests the error code. A nonzero value signifies an error.

    Default: 0—No error

    datatype_icon

    error source

    Optional string you can use to describe the source of the error code. If error in indicates an error, this node ignores the error source.

    Default: Empty string

    datatype_icon

    search ni.com link visible?

    A placeholder. Do not wire this input.

    datatype_icon

    type of dialog

    Type of dialog box to display, if any.

    Regardless of this value, this node returns the error information and a message describing the error.

    no dialog

    Displays no dialog box. This is useful if you want to have programmatic control over handling errors.

    OK message

    Displays a dialog box with a single OK button if an error occurs. After the user clicks OK, this node returns control to the main diagram.

    continue or stop message

    Displays a dialog box with buttons if an error occurs. The buttons either continue or stop execution.

    OK message + warnings

    Displays a dialog box with a single OK button if an error or warning occurs. After the user clicks OK, this node returns control to the main diagram.

    continue/stop + warnings

    Displays a dialog box with buttons if an error or warning occurs. The buttons either continue or stop execution.

    Default: OK message

    datatype_icon

    error in

    Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

    Default: no error

    datatype_icon

    exception action

    Operation to perform if a particular error you identify as an exception occurs. Use exception action with other inputs to create exceptions to the default error handling behavior.

    This node performs the exception action if the error code and error source match the exception code and exception source. If you use the default value for exception source, only the exception code must match for the node to perform the exception action.

    no exception

    Performs no error exception handling, even if you wire an exception code or an exception source.

    cancel error on match

    Treats what is normally an error as no error. If this node cancels an error, error? is FALSE, code out is 0, and source out and message are empty strings.

    set error on match

    Upgrades a warning to an error. This parameter sets an error if the node detects no error, as described in the status and error code parameters, but the code value of error in matches exception code and the error source value matches exception source. If this node sets an error, error? is TRUE, code out is the code value from error in, and source out is the source value from error in.

    Default: no exception

    datatype_icon

    exception code

    Error code that you want to treat as an exception.

    Default: 0

    datatype_icon

    exception source

    Error message that you want to use to test for an exception.

    Default: Empty string

    datatype_icon

    error?

    Value that indicates if an error occurred.

    datatype_icon

    code out

    Error or warning code indicated by error in or error code.

    datatype_icon

    source out

    Source of the error. If error in indicates an error, this node returns the value of the source element in that error cluster. If not, and if error code indicates an error, this node returns the value of error source.

    datatype_icon

    message

    Error code that occurred, the source of the error, and a description of the error.

    If more than one description exists for the same error code, this node displays all the descriptions, separated by or.

    datatype_icon

    error out

    Error information. The node produces this output according to standard error behavior.