LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop a vi with a dialog box that keeps popping up?

Solved!
Go to solution

Here is a really dumb question and an even dumber vi just for demonstration purposes.

 

Short of the task manager, how do you stop a vi that is running something like this? The only thing that comes to mind is calling abort using VI server.

 

Capture.PNG

 

 

=====================
LabVIEW 2012


Message 1 of 8
(4,952 Views)

Download the VI here and place it on your desktop.

Message 2 of 8
(4,947 Views)

Ooops. Marked the solution too soon. I can't get at the abort vi when the one button dialog box is open since it is modal for all of LabVIEW.

=====================
LabVIEW 2012


0 Kudos
Message 3 of 8
(4,940 Views)

I can. I just keep clicking on the Abort button while using the enter key for the okay button on the dialog. Eventually you get through.

0 Kudos
Message 4 of 8
(4,929 Views)

Got it. But what a pain. If I had to select a different entry in the dropdown I would really be up the creek.

 

Not that I have ever painted myself into that corner when I should have been using a probe to debug. Not me it was some other guy!

=====================
LabVIEW 2012


0 Kudos
Message 5 of 8
(4,920 Views)
Solution
Accepted by SteveChandler

Hold down ctrl+. (control+period) while clicking on the OK of the dialog.

Message 6 of 8
(4,911 Views)

Just a small disclaimer:

 

The above works if the calling VI has the regular menu. If you would customize the menu and remove the "operate...stop"  item, the method will no longer work.

 

(OTOH, If you simply hide the menu bar, you're still OK).

0 Kudos
Message 7 of 8
(4,857 Views)

Works like a charm..thanks.

0 Kudos
Message 8 of 8
(4,563 Views)