LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to blink Boolean indicator i given color based

Solved!
Go to solution

Hi,

       how to blink Boolean indicator i given color based.here i attached my program. i will given green and blue but when i run this it will blink Red and blue and red and green.i want to blink blue and green.

Message 1 of 7
(4,906 Views)

Hi hans,

 

the blinking color is defined in the LabVIEW options. Only there…

 

When you want to change colors easily you should use a colorbox indicator!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 7
(4,893 Views)
Solution
Accepted by topic author GokulGKM

Hi madhanskm,

 

Here's what I've come up with. The value of the boolean changes from true to false with every iteration of the loop. You can change the timing of the loop to change the rate at which the led blinks.

 

Blinking led

 

Hope it helps,

 

goffauxs

Download All
Message 3 of 7
(4,890 Views)
Solution
Accepted by topic author GokulGKM

That's what I had in mind:

check.png

(No need to set a property to the very same value each iteration!)

Best regards,
GerdW


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

Well that fairly well sucks!  Just setting the blinking property is a whole lot less obtrusive than having to programmatically toggle the color.  Now I know why my yellow indicator doesn't appear to blink. Smiley Frustrated

Jim

LV 2020
0 Kudos
Message 5 of 7
(4,652 Views)

GerdW, you say the blink color is defined in Labview options, but some blinking are in red, some in yellow?

The example is blinking in red, when i make a Square Led for example it is blinking in yellow, what is the difference?

Francly all my booleans are blinking in yellow, how do you get red?

0 Kudos
Message 6 of 7
(4,475 Views)

goffauxs

I tried your solution, with a loop time of 500ms, and it blinks in three colors! Green, blue and red.

Ola

0 Kudos
Message 7 of 7
(4,471 Views)