LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change blink BG and FG colors

Hi,

 

I have four different controls on my front panel. each of them blinks at different stages of the program. I want them to blink in different colors. Which ever is related to emergency, should blink in bright colors, routine ones should blink in softer colors etc. where do I edit/set foreground and background colors for blinking of each control?

 

Regards.

0 Kudos
Message 1 of 4
(3,578 Views)

Hi pcs,

 

LabVIEW only uses one color for blinking property and that color is set in the LabVIEW options.

 

To have different colors you could use:

- booleans of different color and switch them (on your own) from FALSE to TRUE and vice-versa

- color box indicators to set individual colors

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,570 Views)

You can also set the actual FG/BG colors on the controls to simulate blinking, but each class has different properties for these. I once did something like this, but never actually needed it for anything, so I didn't do anything past that test code - http://forums.ni.com/t5/LabVIEW/Frequency-of-Blinking-for-LED-in-LV/m-p/327367#M168545

 

If you really need this, you can do something based on that, but I would suggest bringing it up to a higher level. Today I might do something like that as an XControl, but that requires understanding XControls.


___________________
Try to take over the world!
0 Kudos
Message 3 of 4
(3,561 Views)

i like to do this with system LED's, usually like to overlay them with the blinking led on top layer and transparent in the off condition...

BLINK.png

0 Kudos
Message 4 of 4
(3,534 Views)