08-29-2014 04:47 AM
I have written a DLL for comunicating with a serial device. The problem is, that error messages can only be transfered as error code, which is not very meaningfull. With a text list of error codes with explanations it would be possible to generate an error messages. Does anybody know if such a list exists?
EPH
08-29-2014 04:48 AM - edited 08-29-2014 04:49 AM
Hi eph,
just look at the functions in the Dialog & UI functions palette. After reading the help for each of them you create your own error code descriptions…
08-29-2014 05:10 AM
just look at the functions in the Dialog & UI functions palette. After reading the help for each of them you create your own error code descriptions…
Thank you for the answer, but this doesn't help. I do not want to create a list, because there are several error codes and this would take much time. My question was, if this list is already there, in LV or in the web/forums.
EPH
08-29-2014 05:31 AM
08-29-2014 06:45 AM
I don't want to create new error codes. It is that my DLL comunicates via VISA with the serial port. And therefore some of the VISA-errors might occur. I send this error codes to the application, that uses the DLL. And at this point I want to generate a text message instead of "code -107...."
To make it clear: I want to use the build-in error codes.
EPH
08-29-2014 06:48 AM
Sounds like you want to use Error Cluster From Error Code and then use the General Error Handler.
08-29-2014 06:53 AM
Sounds like you want to use Error Cluster From Error Code and then use the General Error Handler.
No.
What I am searching for is a list like the following:
-107..... Port doesn't exist
-107.... Port in use
-107....
....
EPH
08-29-2014 07:00 AM
08-29-2014 07:19 AM
Hello GerdW,
that might help, thank you. But I have supposed, that such a list exists in LV.
EPH
08-29-2014 07:24 AM