12-08-2009 08:31 AM
When I create a custom error code I am seeing a couple of problems.
First, the error text I create does not display when I create the fault. I am using the NI Edit Error Codes tool to create them. The format in the XML fits the NI format. It should I guess since it is their tool.
I decided to try and get around that by using the bundle/unbundle functions to put a message into the source input of the output error cluster. The issue with that is it suppresses any other Labview fault that may have occurred, not to mention that it is clunky. I can get all the faults to display by building a string with all the existing faults, but that is even uglier and I know it can't be the only way.
So why doesn't my fault message in the XML file not display and how do I get all the possible faults to come through when they occur if I create a custom error?
Thanks in advance!
12-08-2009 09:25 AM - edited 12-08-2009 09:26 AM
I do it on another way and it works very fine 😄
12-08-2009 09:46 AM
Hi, mariahnova,
At the first please read the following KB article:
Defining Custom Error Codes in Text Files
Hope it helps,
Andrey.