LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

propertynode !!

Hi!
I have made a vi. of blinking LEDS using property node. Then I have used this vi. as a subvis in other vi.s But when I run this program the leds doen't blink in main vis. but it blinks in subvis.
 so how to link this vis. to main vis so while program runs leds should blink.
 
thanks
 
0 Kudos
Message 1 of 4
(2,813 Views)
Create a reference to the boolean in the main VI and feed it to the subVI (create a connector for it on the subVI connector pane).
 
In the subVI, wire the reference to the property node so it knows what indicator you want to modify.
0 Kudos
Message 2 of 4
(2,802 Views)

Thanks for your reply.

I am sending you main. vi and blink.vi (subvi) files.

let me know where i will have to change so i can make main vi blinking

thanks

Download All
0 Kudos
Message 3 of 4
(2,793 Views)
I would strongly recommend doing some tutorials to learn the basics of LabVIEW. The code images you posted don't really make a lot of sense.
Why do you even wire the LEDs? Their value never changes!.
 
Here's a very quick example (LabVIEW 7.1) how you would change the blink property via a subVI using a reference.
0 Kudos
Message 4 of 4
(2,744 Views)