12-02-2015 08:06 AM
I am using the general error handler VI to define custom errors,I have inserted all the inputs for this vi(user defined descriptions,user defined codes,error code,error source, type of dialog and error in) but some how i still get the message: "
This error code is undefined. Undefined errors might occur for a number of reasons. For example, no one has provided a description for the code, or you might have wired a number that is not an error code to the error code input.
Additionally, undefined error codes might occur because the error relates to a third-party object, such as the operating system or ActiveX. For these third-party errors, you might be able to obtain a description of the error by searching the Web for the error code (5501) or for its hexadecimal representation (0x0000157D). "
why?somebody,anybody,help!!..thank you very much
Solved! Go to Solution.
12-02-2015 08:14 AM
Could you post your code?
12-02-2015
08:25 AM
- last edited on
08-05-2025
12:41 PM
by
Content Cleaner
How are you using the general error handler VI? Do you have some example code?
The following code, displays the error dialogue using my custom error description and the 'message' out also uses my custom error description:
The error out is unmodified - if I go to 'explain error', it then reverts back to the standard description for that error code (i.e. undefined). Using the General Error Handler only applies the user descriptions to that call of the VI. You could always create a wrapper for the general error handler which has all of your error codes/descriptions defined and then use that instead of the built-in one.
To modify LabVIEWs internal error database and/or include that with a built application (one of the build specification options), you need to use custom error files.
12-02-2015 09:39 AM
thank you very much...this part of your reply solved my problem " Using the General Error Handler only applies the user descriptions to that call of the VI " . Because that was calling the vi from another vi..tenkiu