LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I explain error in executable?

Solved!
Go to solution

As everyone knows, there are 3 parts to the error cluster: status, code, and source. The status is the flag, the code is the error code, and the source is where Labview thinks the error occured. Normally when I am in the labview environment I can just right mouse click on the error and hit 'explain error' and a detailed error description and possible cause comes up.

 

However, when I create an executable i dont know how to explain the error to the user like labview does.

When an error occurs I would like to have a popup that tells the error code, source, and EXPLANATION. The code and source alone is so cryptic its rather panic inducing to the user, whether or not the error is fatal/crash-inducing. Also it would save me having to look up the error code online.

 

How do I get the explaination of the error code? Is there a vi that i can input an error code and get the explanation string?

 

There is probably something simple I am overlooking but I couldn't find the answer in my searching. Thanks in advance for your help.

---------------------------------
[will work for kudos]
0 Kudos
Message 1 of 4
(3,607 Views)
Solution
Accepted by topic author rex1030

Simple Error Handler and General Error Handler vis?

---------------------------------
[will work for kudos]
Message 2 of 4
(3,605 Views)

@rex1030 wrote:

Simple Error Handler and General Error Handler vis?


Feel free to mark your reply as the solution. Smiley Wink

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 4
(3,596 Views)

While the error handlers of reply one also work in the IDE, you can also right-click on the error cluster and select 'explain error' when debugging a SubVI.

 

Felix

0 Kudos
Message 4 of 4
(3,593 Views)