Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

LabVIEW Programming Reference Manual

ERROR CLUSTER FROM ERROR CODE VI

Table of Contents

Error Cluster From Error Code VI

Updated 2023-08-14 3 minute(s) read LabVIEW API Reference LabVIEW G

Converts an error or warning code to an error cluster. This VI is useful when you receive a return value from a shared library call or when you return user-
defined error codes. Passing error code 0 means that no error occurred and the VI does not modify the error cluster.

Inputs/Outputs
is warning? (False) —
If is warning? is TRUE, status returns FALSE to indicate that a warning occurred. The default is FALSE.
show call chain? (False) —
If show call chain? is TRUE, source includes the chain of callers from the VI that produced the error or warning to the top-level VI. The default is FALSE,
which indicates to include only the calling VI.
This VI uses the Call Chain function to obtain the chain of callers.
error code (0) —
error code is the code you want to convert to an error cluster. The default is 0, which indicates that no error occurred.
error message ("") —
error message is the error description to appear in the error out cluster.
LabVIEW displays the description in error message when the General Error Handler VI receives this error out cluster. If error message is empty, LabVIEW
uses error code to determine the error description from existing LabVIEW error codes.
error in (no error) —
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out —
error out contains error information. With the following exception, this output provides standard error out functionality.If the value of error in is no error, this
VI contains error information that corresponds to the error code input.

Parent topic: Dialog & User Interface

Previous

Merge Errors

Next

Find First Error VI

For the best user experience, we recommend you


create or log into your NI User Account.
For the best user experience, we recommend you
create or log into your NI User Account.

You might also like