LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

running multiple vi's in top level app at same time.

hello, i am wondering on how to run multiple vi's under the same top level application.  if i have a top level application that has multiple buttons that call other vi's, is there a way to minimize one of the sub vi's and open another.  i keep having problems because i think that the top level application needs the first sub vi to close befor you can call another sub vi.  i attach an example i found in the ni examples as an example.  thank you.
0 Kudos
Message 1 of 4
(2,666 Views)
You can use the "Run VI" method for VI reference and set "Wait Until Done" to False. Then, your top VI would not wait until ths sub VI completes execution before the "Inovke Node" continues executing.
0 Kudos
Message 2 of 4
(2,651 Views)
Thank you for the response.  I tried to use this feature but i think i am doing it wrong.  Do you put the method in the sub vi's or in the top level application.  also what should you wire to the Auto Dispose Ref input for the Run VI method.  Thank you
0 Kudos
Message 3 of 4
(2,639 Views)
It is no matter whether you put it in sub VI or top level application.
You can wire True to Auto Dispose Ref input.
0 Kudos
Message 4 of 4
(2,612 Views)