12-02-2011 09:46 AM
When I use a custom error file xxx-errors.txt.How do I get the general error handler to choose the codes from this specific file?
I am not clear on what tells the vi to use this file.
Thanks
Jim
12-02-2011 09:56 AM - edited 12-02-2011 10:02 AM
The file has to be in user.lib/errors. Also you have to restart LabVIEW after creating or changing the file.
12-02-2011 10:34 AM
Still a bit lost
If I had two error file File1.errors.txt and File2.errors.txt both in the user lib.
File 1 defines error code 5000 as a general fault
File 2 defines error code 5000 as communications lost
I want the VI to use the error code from file 2 "Communications lost"
How does labview know which file I wan't to use.
Thanks
Jim
12-02-2011 11:50 AM
All error files are loaded. If you have a duplicate code, both will be listed as possible reasons.