message of undefined LabVIEW on custom codes error code

"I use the VI General error handler to define custom errors, I have inserted all entries for this vi (user-defined descriptions, codes, user-defined error code, source of the error, type dialog and error in) but some I still get the message:"

This error code is not set. Undefined errors can occur for several reasons. For example, no one has provided a description for the code, or you could have wired a number which is not an admission of error code error code.

In addition, undefined error codes can occur because the error concerns a third object, such as the operating system or ActiveX. For these mistakes of third parties, you may be able to get a description of the error by searching on the Web for the error code (5501) or to its hexadecimal representation (0x0000157D). "

Why? someone, anyone, help!... Thank you very much

How you use the error handler General VI? Do you have examples of code?

The following code displays the error dialog using my custom error description and the 'message' is also used my custom error description:

The error is not changed - if I go to "explain the error", he then returned to the standard description for this error code (i.e. undefined). Using the Manager general error applies only the descriptions of the user to the call of the VI. You can always create a wrapper for the General error handler that has all your descriptions/error codes defined and then use it instead of the built-in one.

To change the database from LabVIEWs internal error and/or include with a built application (one of the build specification options), you must use the custom error files.

Tags: NI Software

Similar Questions

Maybe you are looking for