LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi-State Indicators?

I am wanting to run a Pass/Fail test on some measurement values I am
taking using LabView and then compare the measured value with the
accepted Max and Min values (I have created a subVI to accept the
measurement and then compare to the accepted range). Currently, I am
using a Boolean indicator (red for Fail and green for Pass). However,
when the VI begins, the Boolean LED is red, thus making it confusing to
interpret if the test sequence has begun, or if the measurement value
failed.

Is it possible to use a multi-state indicator for this (e.g. 0 = init.,
1 = fail, 2 = pass, etc.)? I also thought about having the LED not
visible until the test runs, then displaying the red or green.
Hopefully I explained this properly. Thanks.

Message 1 of 2
(2,982 Views)

You need to create a property node. Right click on the indicator or the terminal and select Create>>Property Node. You can either use the Visible property or the BGColor property to change the color of the LED.

To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).


___________________
Try to take over the world!
Message 2 of 2
(2,972 Views)