I want to be able to programmatically change the color of the LEDs on push buttons.
The colors[4] property will change the color of the housing, but not the LED itself.
This push button is one of the controls that is both a control and an indicator rolled into one.
In my particular case, I want to represent a third state. I have a valve that can be open, closed, or in transit.
There are two actuation states of open and close, but three indicator states.
I think making it a property I can control is a powerful solution. Not only will it solve my use case, but I can have all different colors of Booleans without needing to use Customize Control and the Control Editor to modify the colors.
Extra credit request: Can we make just the LED blink? Right now, the blinking property blinks the entire control, but wouldn't it be cool if just the LED blinked? This is what those same two controls look like when blinking:
Maybe it's a new property just for LEDs that's separate from "Blinking". I'd be okay with that if you want to preserve current behavior.
Here are some related Idea Exchange posts related to a tri-state Boolean. They're not quite what I want, but I thought I'd link to them for reference:
https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Tri-State-Boolean/idi-p/1139952
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.