LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop a program from executing?

I had a stop buttong on my front panel but saved the program with the panel scrolled down too far to see it anymore.
 
How can I stop this (the stop button isn't displayed)
 
 
0 Kudos
Message 1 of 9
(4,041 Views)
Can't you just abort execution?
0 Kudos
Message 2 of 9
(4,035 Views)
Or scroll, and push the button?

~milq
0 Kudos
Message 3 of 9
(4,031 Views)
If for some reason you are unable to scroll...and if for some reason you can't locate/access the abort execution button.  Go to the block diagram, right click the control wired to the conditional terminal and left click "Find Control".  This will bring you to the stop button on your front panel.
0 Kudos
Message 4 of 9
(4,028 Views)
Oh, very sneaky . . . do what he said.
0 Kudos
Message 5 of 9
(4,022 Views)
Well, LV 7.1 BTW...
 
The VI runs when it is opened.  Scrollbars are not visible.  I could resize the window to expand on the bottom but not on the top (trying to resize using the upper corners/window border had the same effect as doing so on the bottom).  The run/abort buttons are not visible.  My control abort button was above what I could see on the display.  I could not switch to the block diagram because the VI was running.
 
I ended up moving the VI to a directory of its own so the sub-vis could not be loaded; the VI wasn't able to execute when opened (phew).  I thought there would be a keystroke (I think I tried every ctrl/shift/alt/break/esc combination) to abort execution.  If I didn't have sub-vis in there I'm not sure what I would have done!
 
0 Kudos
Message 6 of 9
(4,013 Views)
The keystroke option is Cmd-period on a Mac; it may be ctl-. on Windows? This will not work if you removed the abort button. If you place the VI as a subVI to a new VI, I think you can open it without running. Also, there are methods using the VI server which will let you open a VI without running. It has been discussed on the Forum in the past, but I don't have a link at the moment.

Lynn
Message 7 of 9
(4,005 Views)
If you just want to open the vi so you can edit it, create a new vi and drop the problem vi on the diagram. Open it from the new vi, and it will not automatically start.


Regards,


Wiebe.
"davey31415" <x@no.email> wrote in message news:1164136210706-444218@exchange.ni.com...
I had a stop buttong on my front panel but saved the program with the panel scrolled down too far to see it anymore.
&nbsp;
How can I stop this (the stop button isn't displayed)
&nbsp;
&nbsp;
Message 8 of 9
(3,986 Views)

That's a pretty simple idea, wish I would have thought of that!  Thanks Wiebe and Johnsold, I'm sure I'll end up using that in the future!

 

Dave

0 Kudos
Message 9 of 9
(3,963 Views)