LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make my own blinking

When the value exceed threshold 1, it need blink from green to yellow.
When the value exceed threshold 2, it need blink from green to red.
 
May I know how to do it?
 
The LED may binding to a shared varible.
0 Kudos
Message 1 of 5
(3,985 Views)
The blink color is defined in colors section of the LabVIEW options, so It cannot be set on specific to a control.
 
Anyway, you could set the blink color to green, because it is shared between the two desired states and then make the two boolean states yellow and red.
 
Unfortunately, you did not define what you want if the value does not exceed any threshold. Please specify.
 
(Overall, it is probably easier to use a colorbox made to look like an LED and feed it the desired colors at regular intervals. See e.g. this old post for an example.)
0 Kudos
Message 2 of 5
(3,974 Views)

It is like this

<0    :    Green   

0 - 1    :    Yellow / Green blinking

>1    :    Red / Green blinking

I can make a color box, but how to make a LED liked color box, thanks.

0 Kudos
Message 3 of 5
(3,968 Views)


turbot wrote:
I can make a color box, but how to make a LED liked color box, thanks.

Check out the following link:
🙂
0 Kudos
Message 4 of 5
(3,963 Views)
You can also do something like this, but please note that it was just an example, not production code.

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