Catch Error VI
Owning Palette: Utility VIs
Requires: Logger
A prompt is displayed to a user based on the configured Verbosity and the selected Severity. There are four possible severities for an error: (1) FATAL, (2) RECOVERABLE, (3) WARNING, and (4) BENIGN. FATAL errors are logged at the FATAL level, RECOVERABLE errors are logged at the ERROR level, WARNING errors are logged at the INFO level, and BENIGN errors are logged at the DEBUG level. If the Verbosity is greater than or equal to the Severity of the error, a dialog is displayed.
This is essentially a wrapper for the General Error Handler VI but integrates its usage with the logger.
Severity is used to determine if an error dialog, or prompt, should be displayed if an error occurs. | |
Error In describes error conditions that occur before this node runs. This input contains status, code, and source, which provide standard error in cluster element functionality. | |
Source is an optional string to describe the source of the error. If empty, then the parent VI calling this VI is used as the source. | |
Clear determines if the error should be cleared after possibly displaying a prompt and logging the error. If FALSE, then the error is propogated to Error Out. Regardless if TRUE or FALSE, errors are prompted based on Verbosity and Severity and converted to logging statements. By default, FATAL errors, where Severity is equal to FATAL, are not cleared, but all other severities are cleared. | |
Error Out contains error information. This output provides standard error out functionality. |