Most VIs and functions provide error I/O information. This information is useful to identify at run time where in your block diagram an error occurred.
Complete the following steps to set up error I/O in your VI.
Create an error cluster control by right-clicking a subVI or function error in terminal and selecting Create»Control.
With the first subVI or function, wire the error out output to the error in input of the next subVI or function.
Continue step 2 for subsequent subVIs and functions until you reach the last subVI or function in your data flow.
On the last function or subVI, create an error indicator by right-clicking the error out parameter and selecting Create»Indicator.
On the connector pane of your VI, wire the error in control to a terminal and the error out indicator to another terminal.
Note LabVIEW standard is to wire error in to the lower left terminal and error out to the lower right terminal in the connector pane.
Some VIs and functions return errors with numeric error codes instead of error clusters. If your application uses the error or error code output instead of the error out output, wire an error handler VI to your VI.