Owning Palette: Dialog & User Interface VIs and Functions
Requires: Base Development System
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.
Add to the block diagram | Find on the palette |
If is warning? is TRUE, status returns FALSE to indicate that a warning occurred. The default is 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 is the code you want to convert to an error cluster. The default is 0, which indicates that no error occurred. | |
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 describes error conditions that occur before this node runs. This input provides standard error in functionality. | |
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. |