Changing True/False Boolean LED Colors in LabVIEW
Primary Software Version: 8.2.1
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Professional Development System, LabVIEW Development Systems>>LabVIEW Base Package
I have a Push Button that is set to Switch When Released. It has four states: False, False-to-True, True, and True-to-False. I know I can change the Push Button LED color for True and False state by manually customizing it. I would also like to be able to change color for True->False and False->True states. How can I accomplish this?
By default, the False and True-to-False color is set to dark green and the True and False-to-True color is set to bright green.
The Colors property (accessible via property node) will allow you to change the four colors of the button itself, but it does not change the color of the LED. You can manually change only the True and False LED color.
To be able to control True-to-False and False-to-True colors and avoid seeing a change in color for these states, you need to use two push buttons, one on top of the other, and change their visibility based on the mouse events.
KnowledgeBase 3C0HLMPC: How Do I Change the Color of a Boolean Control or Indicator Programmatically?
Report Date: 01/31/2003
Last Updated: 12/17/2013
Document ID: 2TUDF5DW