Many LabVIEW nodes such as VIs and functions contain an error in parameter you can use to set up error I/O in VIs in order to manage errors in them. These parameters typically provide the same, standard functionality. When a node exhibits different parameter functionality, the exceptions are documented in the reference material for that node.
Note��Some nodes, such as error handling VIs, contain an error in parameter that does not provide standard error in functionality but that does contain standard error in cluster elements. |
Standard error in functionality is as follows:
error in describes error conditions that occur before this node runs. The default is no error. If an error occurred before this node runs, the node passes the error in value to error out. This node runs normally only if no error occurred before this node runs. If an error occurs while this node runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use exception control to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node. |
error in contains the following cluster elements:
status is TRUE (X) if an error occurred before this node ran or FALSE (checkmark) to indicate a warning or that no error occurred before this node ran. The default is FALSE. | |
code is the error or warning code. The default is 0. If status is TRUE, code is an error code. If status is FALSE, code is 0 or a warning code. | |
source specifies the origin of the error or warning and is, in most cases, the name of the node that produced the error or warning. The default is an empty string. |