LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create an error?

I am trying to create a custom error for my application but I am not sure where to start.  I would like to be able to take a boolean value and based upon it create an error that could propogate through to other VIs.  I have seen error lines unbundled into three components: status, code, source.  Is it possible to go the other direction and bundle up these three components and create my own source of an error? Thank you for any help or suggestions you may have.

 

Stephen

0 Kudos
Message 1 of 3
(2,583 Views)

For practice, create a New... SubVI with Error Handling. You then Bundle by Name your custom error codes and messages.

 

 

 

Robot wink 

Message Edited by LabViewGuruWannabe on 01-13-2009 03:06 PM
0 Kudos
Message 2 of 3
(2,578 Views)
There is also a subvi under programming>>Dialog and user interface>>Error cluster from error code.vi.  In the labview help look under defining custom error codes in text files.
Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 3 of 3
(2,558 Views)