I'm finishing up an application and would like to customize some of the error reporting.
I've started playing around with the custom error handler VI's with some success. I would, however, like to see some examples from people who know what they are doing (unlike me).
Do a search for "General Error Handler" and you'll find some others.
I'm also trying to find a simple way to define custom error codes and descriptions in an error cluster. I can produce my codes easily enough using the vi posted by Aristos Queue in the message noted above. I can also display my user-defined descriptions using a dialog, but I haven't found an easy way to make the user-defined descriptions in the array appear in the error cluster.
Hi, One way to define your custom error codes is to use the Error Code File Editor situated in Tools -> Advanced -> Edit Error Codes. This allows you to define error messages for codes 5000 to 9999. If you build an executable, make sure you include the error file as a support file. The error file is located in Program Files\National Instruments\LabVIEW XX\user.lib\errors.