LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

accessing vi from other vi

Hi,

      How can I access a vi from other vi programatically,like if a condition in the calling vi is true then another vi should be opened.

 

Thanks
kiranmayi
0 Kudos
Message 1 of 4
(2,394 Views)

Hi kiranmayi kaza,

you can do it with the vi server functions. You can call vi's dynamically or get/set control values.

 

Mike

0 Kudos
Message 2 of 4
(2,391 Views)
...what about just putting the sub-VI in a case statement in the calling VI...? It seems rather simple - am i missing something here?


Never say "Oops." Always say "Ah, interesting!"

Message 3 of 4
(2,387 Views)

Mike,

         I've attached my vi here.If the condition is true the current vi should be unloaded and a vi that we specify should be opened.

    

Thanks
kiranmayi
0 Kudos
Message 4 of 4
(2,347 Views)