LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a blinking indicator

How can i make a boolean indicator that blinks when it is true and invisible when it is false?
I use Labview 6.0

regards,

Joop
jptap@castel.nl
0 Kudos
Message 1 of 11
(4,576 Views)
Create an attribute node of the indicator (right click ... create .. attribute node).
Select the visible and blinking item and connect the corresponding booleans to it.
In your case: if indicator is true: blinking = true;visible = true.
if indicator is false: blinking = false; visible = false.
0 Kudos
Message 2 of 11
(4,575 Views)
Hi, tnx for your help. But when i right-click on my indicator... create... i can't select an 'attribute node'. There is only a 'property-node'.
0 Kudos
Message 3 of 11
(4,575 Views)
I believe this is the same. I was using LV5.1.1 and there it is called 'attribute node'. Some-one at NI decided this sounds better.
0 Kudos
Message 4 of 11
(4,575 Views)
Ok, i use the property-node. I was able to get 2 boxes, one for visibile and one for blinking. But how to connect the boolean (switch) to the node? When i try to wire it is a broken wire. Or do i have to wire the indicator to the node? Could you send me a small example? 1 switch, when it's closed an indicator starts blinking, when it's false it is invisible.

regards,

Joop
0 Kudos
Message 5 of 11
(4,575 Views)
Hi,
you have to change properties into write mode. By default they are in read mode, so you can't change them but can get the info about properties.
To change property into write mode you have to right-click on the property node in the block diagram abd select "Change to write" or "change all to write". Now you can wire controls to property node.

The example is attached.

Good luck.

Oleg Chutko.
0 Kudos
Message 6 of 11
(4,575 Views)
Joop,
The property node has a read and a write option.
Set it to write and you can wire to it. It's easy, een makkie.
0 Kudos
Message 7 of 11
(4,575 Views)
Thanks guys!
0 Kudos
Message 8 of 11
(4,575 Views)
Well, that works, it blinks. But how do i change the colour? It's always yellow...
0 Kudos
Message 10 of 11
(4,575 Views)
Hi,
In LV6.0 go to menu item "Tools->Options..." Then select "Colors" from the list of options. Uncheck the checkbox "Use default colors" and change "Blink foreground" or "Blink background".

Good luck.

Oleg Chutko.
0 Kudos
Message 11 of 11
(4,250 Views)