10-07-2009 01:50 PM
Is there an easy way for different installations of LabView to view the same error file if they are using a particular project? Seems like every time I update the custom error definitions in /labview/user.lib/errors, I'll have to copy that change to all the other computers that can run the project. That seems kinda lame. I wish errors had a path that depended on the project path and not the labview path.
- Chris
Solved! Go to Solution.
10-08-2009 10:36 AM
Hi Chris,
You might want to try using a custom error handler instead of custom error files. You can package this as a VI. That way your custom messages get stored in the project instead of the vi.lib. Take a look at the bottom of the attached Developer Zone document:
Custom Error Handling In LabVIEW
http://zone.ni.com/devzone/cda/tut/p/id/3209
Nick Keel
Applications Engineering
National Instruments
10-08-2009 02:42 PM
True. I suppose I got tunnel vision, wanting that file to be the way I distribute the errors.
Clearly, I could just make a function that loads an error file that I have in the project directory, parses it and then applies the errors. Honestly, that's a more graceful way to do it in the first place.