LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the error routines with custom errors...

How do I cause the error handlers to recognize a custom error? I used
this page
(http://zone.ni.com/devzone/conceptd.nsf/webmain/DE4F036F22C4B9F286256FEE0010B6FD)
to create custom error codes but now how do I raise one while a VI is
running?

Thanks,

Dave

0 Kudos
Message 1 of 2
(2,463 Views)

Hi Dave,

All you need to do is wire an error cluster with a 'status' of True and one of your custom error codes as the 'code' into the General Error Handler VI, and it should pop up an error dialog with your custom error specified.

If you're still having trouble, let me know.
 
-D
Message 2 of 2
(2,457 Views)