LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom error codes not working

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!  

David A. Taylor
0 Kudos
Message 1 of 3
(2,771 Views)

I do it on another way and it works very fine 😄

 

Message Edited by Eugen Graf on 12-08-2009 09:26 AM
0 Kudos
Message 2 of 3
(2,761 Views)

Hi, mariahnova,

 

At the first please read the following KB article:

 

Defining Custom Error Codes in Text Files

 

Hope it helps,

 

Andrey.

 

0 Kudos
Message 3 of 3
(2,754 Views)