Merge Errors Function

Owning Palette: Dialog & User Interface VIs and Functions

Requires: Base Development System

Merges error I/O clusters from different VIs and functions.

By default, this function looks for errors beginning with the error in 0 parameter and reports the first error found. If the function finds no errors, it looks for warnings and returns the first warning found. If the function finds no warnings, it returns no error. Use exception control to treat what is normally an error as no error or to treat a warning as an error.

To configure the function to return an error cluster that combines all the specified errors/warnings, right-click the function and select Retain All Errors.

Details  

 Add to the block diagram  Find on the palette
error in 0 describes the first error condition to check for errors.
error in 1 describes the second error condition to check for errors.
error out returns the first error/warning in the specified inputs or an error cluster that combines all the specified errors/warnings.

Merge Errors Details

When you place this function on the block diagram, it has two inputs available. You can add additional inputs to the node by right-clicking an input and selecting Add Input from the shortcut menu or by resizing the node. To remove inputs, right-click an input and select Remove Input from the shortcut menu or use resizing handles to resize the node.