ListErrors2 (XNode Ability)
ListErrors2 (XNode Ability) | |
---|---|
List of XNode Abilities | |
Public Name: | GetErrors2 |
Deprecated, prefer: | GetErrors3 |
This ability VI is used to tell LabVIEW about errors involving your XNode instance. The Errors array is a cluster of errors that will show up as block diagram errors in LabVIEW's error window. The cluster is made up of the errors in the list, the long descriptions of the errors that show up in LabVIEW's error window's details box, and a help file index that links this error to a help file via the Help button. You only need to populate the array 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.
Remember 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.