How Can I Change the Blinking Color of a Control Programmatically?
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
I want to change the blinking color of a string control or indicator while my VI runs depending on the state of my program. I cannot find a property that allows me to do this. How can I accomplish this?
Although there is not a property that allows the user to change the blinking color, it can be done programmatically by periodically changing the background color of the control or indicator.
Figure 1: BGColor case for example blinking algorithm.
Figure 2: BlinkColor case for example blinking algorithm.
Note: This is one algorithm that will allow the user to control the blinking color programmatically. There may be other ways to accomplish this task. If you do not need to change the blinking color while the program is running, you may change the settings by going to Tools»Options. Select the Environment category, and then scroll down to the Colors section. This allows you to change the global LabVIEW color properties.
Developer Zone Tutorial: Application Design Patterns: State Machines
KnowledgeBase 3E586ILE: Best Way for State Machine to Handle Three or More Transitions
KnowledgeBase 2F6CB7DV: How Can I Get My Blinking Colors to Be the Same in an Executable as in the Development Environment
Report Date: 04/15/2008
Last Updated: 11/04/2013
Document ID: 4KEHH31D