06-12-2015 09:01 AM
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
06-12-2015 09:15 AM
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
06-12-2015 09:31 AM
@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