01-10-2014 05:40 AM
Hello,
I have built on the image below a Labview Program, which returns after a false comparison when you press ok and true when you not press ok.
it's a matter of comparing the value of the input and output.
values are differente when you press ok.
the problem is the following:
how to get a system error when the comparison returns a false
Solved! Go to Solution.
01-10-2014 09:01 AM - edited 01-10-2014 09:02 AM
Do you actually mean to set a LabVIEW error? That's simple. Use the Bundle by Name with an Error Constant as the input cluster.
01-12-2014 03:54 PM
On the Dialog and User Interface Palette, there is the "Error Cluster from Error Code" function. If you wire a number other than 0 (= No Error) in to the (required) Error Code terminal, you will generate an Error with that number. Note that many numbers already have LabVIEW errors associated with them. Errors in the range 5000-9999 (and a few other ranges) are "User-defined Error Codes", meaning they are whatever you say they are.
BS