ListErrors (XNode Ability)

From LabVIEW Wiki
Jump to: navigation, search
ListErrors (XNode Ability)
List of XNode Abilities
Public Name:GetErrors
Deprecated, prefer:GetErrors3

This ability VI is used to tell LabVIEW about errors involving your XNode instance. The Errors array is the list of errors that will show up as block diagram errors in LabVIEW's error window. The Details array contains the long descriptions of the errors that show up in LabVIEW's error window's details box. You only need to populate the arrays when Generate Strings? is true. You always need to correctly set the Errors Present? indicator. If you are generating strings, then Errors Present? should be true if and only if Errors is not empty. If errors are present, the VI containing the XNode will be broken.

Remeber to localize your errors.

Default behavior: Generate generic error messages if the code you script is invalid, or a required terminal is unwired.

This ability does not provide UI and OS messages are not handled.