LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I have my Labview panel start up in continuous run mode, and without the menu bar?

Thanks.
0 Kudos
Message 1 of 5
(4,468 Views)
Doug Clauder wrote:

> Thanks.

Yes.
Right click on the VIs Icon (top right corner) or if it is a subvi then
right click on the
icon in the main vis diagram.
Select (among other things) Window options (to get rid of the menu) and
Execution options
to start in run mode.

Be aware that if you remove all the menu and tool bar buttons and do not
have a front paenl button to end the VI it is a little difficult to kill (if
you need to make changes).

Kevin Kent
0 Kudos
Message 2 of 5
(4,468 Views)
Thanks you guys, and this appears to be the answer, however, the options seem
to have little effect. For example, I turned off all of the options under
execution and window, but I still got a menu bar and scroll bars. I am running
the base version of Labview... perhaps I need the full blown version to use
these features.

P.S. Why put a while loop around my code instead of using "run continuously?"
As is, I am not locking out other applications... I want the vi to run in
the foreground and consume as much as it needs anyway because it is a dedicated
computer.

Thanks again,
Doug Clauder
0 Kudos
Message 4 of 5
(4,468 Views)
Scroll bars etc. will still appear until you actually run the VI. If you want
it to start automatically, you select Run When Opened from the Exection Options.
If your code is not surrounded by a while loop with a stop button, you'll
have no way to stop execution. If you use "run continuously" and then stop
with the "Abort" button on the toolbar, the program will not stop gracefully.
You should be doing some cleanup - such things as closing files and open
VISA sessions. Leaving these things hanging can cause all sorts of problems.

"Doug Clauder" wrote:
>>Thanks you guys, and this appears to be the answer, however, the options
seem>to have little effect. For example, I turned off all of the options
under>execution and window, bu
t I still got a menu bar and scroll bars. I
am running>the base version of Labview... perhaps I need the full blown version
to use>these features.>>P.S. Why put a while loop around my code instead
of using "run continuously?">As is, I am not locking out other applications...
I want the vi to run in>the foreground and consume as much as it needs anyway
because it is a dedicated>computer.>>Thanks again,>Doug Clauder
0 Kudos
Message 5 of 5
(4,468 Views)
Doug,

I sure hope you are not using that "continuous run butten" (to the right of
the "run button") in a "production vi".

Put your main VI in a while loop and don't forget a small "wait next ms" so
it plays well with all your other programs that are running.

All you need is in "VI setup" (right click on the icon in the upper right).
"run when opened" (but not "continuous run when opened" 😉 ) is one of the
"execution options", the decorations etc. are in "windows options".

Cheers
Christian
0 Kudos
Message 3 of 5
(4,468 Views)