LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call Popup, while keeping main program run

Hey, I looked through lots of posts already, unable to find a solution for my problem:

 

My goal is to have a main program calling a Popup to ask for user input. Therefore i designed a second VI that will be called from the main program once a button is pressed. Now I realised that the main program will wait until the Popup is closed before further execution. But since i want the main program to continiously take measurements, I dont want it to stop while waiting for the user input. Is there any way in Labview 8.2 to keep the calling program running, while at the same time have the popup running?

 

Your help will be greatly appreciated!

0 Kudos
Message 1 of 3
(2,399 Views)

There are a couple of ways to do this.  One is to call your popup VI indirectly, using VI Server and the Run VI method.  Another is to put your popup in a separate loop and trigger it using a notifier, as shown here.

 

Popup.png

0 Kudos
Message 2 of 3
(2,390 Views)

Thank you Nathand! It's working the way I want now!

0 Kudos
Message 3 of 3
(2,382 Views)