LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with boolean indicator color and text

I have some boolean indicators that are displaying unexpected combinations of boolean color and boolean text.

 

The states of the indicators are set up as folows:

 

True: Color = Green, Boolean Text = OK

False: Color =  Red, Boolean Text = FAILED

 

I've seen the indicators in a third state: the color is Red with boolean text = OK.

 

One note that might be a clue. When the indicators are Green/OK, the size of the indicator is slightly larger and the text is a different color than the Red/OK case.

 

I've probably got an error in the indicator properties setup. Any ideas of what I'm doing incorrectly that would result in a third state are appreciated.

 

Jeff

Jeffrey Bledsoe
Electrical Engineer
0 Kudos
Message 1 of 3
(3,056 Views)

If you had attached your boolean as a Snippet (or made it a Control and attached it as a Control), we could have actually looked at it and advised you based on what we saw.

 

If you right-click the control and choose Properties, you can see some of the color properties.  There are 4 colors, only two of which show up here:  False, True, False to True, and True to False.  The other two can be read and set by Property Nodes.

 

Bob Schor

0 Kudos
Message 2 of 3
(3,047 Views)

@MinerHokieRamp wrote:

I have some boolean indicators that are displaying unexpected combinations of boolean color and boolean text.

 

The states of the indicators are set up as folows:

 

True: Color = Green, Boolean Text = OK

False: Color =  Red, Boolean Text = FAILED

 

I've seen the indicators in a third state: the color is Red with boolean text = OK.

 

One note that might be a clue. When the indicators are Green/OK, the size of the indicator is slightly larger and the text is a different color than the Red/OK case.

 

I've probably got an error in the indicator properties setup. Any ideas of what I'm doing incorrectly that would result in a third state are appreciated.

 

Jeff


What kind of boolean indicator are you using (LED? Silver? Modern? Classic?). Are you using this indicator as a control? When use as a control you may have different combinations when the mechanical action is set to Switch When Release or Latch When Release (true to false and false to true transition states).

 

Have a look at the Property:Colors[4] description in the context help window.

 

Ben64

 

Ben64

0 Kudos
Message 3 of 3
(3,035 Views)