Hi nmalik;
This is what I do. It may not be the ideal solution, but work for me
🙂I create my own error handler vi around the general error vi. I add two constant arrays defining with the error numbers and descriptions. That's my error database. The first attached vi is an example of a custom error vi.
Also, as you can see, I always identify my errors with negative numbers. That way, for me there is no confusion of from where the error originate. LabVIEW errors are positive.
To create the database I create a little vi helper. That vi read a text file with the errors numbers and descriptions and write them in two arrays: a numeric and a string array. Then I create constants of those two arrays by right-clicking the indicator and sele
cting "create Constant".
The second attached vi is the one that read the text file with my defined errors and the third attachement is an example of my error text file. This also allows me to have the errors in one place, documented.
Best regards
Enrique
www.vartortech.com