LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change blinking color of a boolean indicator

I am trying to change the blinking color of a Boolean indicator. When using the blinking property the indicator changes to the color yellow. I want to choose a different color is this possible?
 
Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
0 Kudos
Message 1 of 5
(5,638 Views)

For some reason, the blinking color and speed are global settings, which can be changed in the options menu. Go to the colors section and uncheck "Use Default Colors". Now you can change the color. If you plan to make this into an EXE, you need to find the proper key in the LabVIEW.ini file and copy it.

Another option is to write your own blink VI, which will accept the reference to the control or indicator and use property nodes to change its color regularly.


___________________
Try to take over the world!
0 Kudos
Message 2 of 5
(5,631 Views)

Well I can tell you that the anwer is not obvious.  Tried a few ricks and failed.  You can always make you own blinking by changing the colors[] properity node.  By doing this you can also control the rate that it blinks at.

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 3 of 5
(5,626 Views)
Originally I did control the blinking myself, I am trying to improve performance. The blinking occurs in a while loop waiting for the user to press a button. When the user presses a button the vi will not stop immediately it will continue running for the blinking delay time. By using the blinking property there is no delay after pressing a button. The only issue with changing the options is you only get to select 1 color, I have 2 vi's with different color indicators so I want the blinking color to be changed programmaticly for each indicator color.
Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
0 Kudos
Message 4 of 5
(5,616 Views)
Since you want two different colors, you will have to do this yourself. To avoid the waiting when stopping, you can either use an event structure with a dynamic event to stop and a timeout to blink or have the loop go faster and have a resetting timer to control the blinking (look at the Elapsed Time express VI for an example).

___________________
Try to take over the world!
0 Kudos
Message 5 of 5
(5,609 Views)