キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 件の賞賛
メッセージ1/9
4,154件の閲覧回数
Can't you just abort execution?
0 件の賞賛
メッセージ2/9
4,148件の閲覧回数
Or scroll, and push the button?

~milq
0 件の賞賛
メッセージ3/9
4,144件の閲覧回数
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 件の賞賛
メッセージ4/9
4,141件の閲覧回数
Oh, very sneaky . . . do what he said.
0 件の賞賛
メッセージ5/9
4,135件の閲覧回数
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 件の賞賛
メッセージ6/9
4,126件の閲覧回数
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
メッセージ7/9
4,118件の閲覧回数
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;
メッセージ8/9
4,099件の閲覧回数

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 件の賞賛
メッセージ9/9
4,076件の閲覧回数