Overview
This example VI demonstrates how to create custom error messages in LabVIEW.
Description
In LabVIEW you are able to create custom error codes using native APIs such as the General Error Handler.vi. In this example five custom error codes and relative messages are used to warn the user about possible failures that can happen in different sections of the program.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Good example, thanks, I'll probably implement something using this information. The loop though, has no delays, thus it will very quickly do nothing if "Display Error Code" is set to false.