06-01-2011 02:26 PM
Joe,
The General Error Handler should be used to display errors that have already been generated, but you are using it to generate an error. The problem with this is that you will get a popup message when you hit this VI, which could be a major problem if this is buried deep down somewhere in your application. I urge you to create a custom error file, then use "Error Cluster From Error Code.vi" in your "Modify error message.vi"
Chris M
06-01-2011 02:26 PM
Consider passing through the source string to help debugging.
06-01-2011 02:41 PM
One other thing that I noticed is that you are not passing the fault reason into the error cluster See the attached VI.
06-01-2011 02:50 PM
Why not do something like this:
You can then create your own custom "-errors.txt" file in the user.lib directory, such as the attached file. This will allow you to right-click the error indicator and select "Explain Error".
Chris M
06-08-2011 02:28 PM
Thank you for posting this. It helped so much