LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Starting VI on clicking YES

Hallo,

my VI checks if a directory exists. If so it asks with a PopUp to delete it. If NO the VI should stop, if YES it should continue.

My problem is that it continues during the PopUp. It should start at the time, I klick on YES. How can I do that?

Arno
0 Kudos
Message 1 of 3
(2,706 Views)
The two button dialog function you are probably using has a boolean output terminal to indicate which button was pushed. You'll need to connect this to somthing to keep your program from running until it gets it value from the dialog. This forces dataflow dependency.

Even if you don't need the value, you can connect it to the border of the case structure holding the function and just let it stop there. This would be a good time th use "Default if Unwired" option on the tunnel it creates on the structure.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 3
(2,705 Views)
 
0 Kudos
Message 3 of 3
(2,681 Views)