LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Menu bar / Toolbar hidden in Front Panel?

Hello all,

I am a newbe with Labview. I have to adopt a Labview program from a
person who is not available anymore.
He has programmed a start.vi which calles other sub-vi_s. While the
program is running, the menu bar and the tool bar is vanished. How did
he do that and how can I make the Labview menu bar and the tool bar
visible again? I would like to have an abort button, among others.
Also, the program just executes after being loaded. I want the program
to load, but not to run immediately.

I use an old version: V4.01

Any help would be appreciated.


Johannes
0 Kudos
Message 1 of 5
(4,382 Views)
I haven't seen LV4 in about 8 years, but the general idea is still the same for the current version 6.1.
From the front panel, right-click on the VI's icon in the upper right-hand corner. Select VI Properties (or was it VI Setup?). Browse through the properties until you see a way to Show Menu Bar and Show Abort Button. In 6.1, they're under Window Appearance >> Customize. In 6.1 under Execution, there is also an option to Allow Debugging.
Message 2 of 5
(4,382 Views)
I would also like to add that having the abort button not available is a really good idea for the program when you want it to be used as opposed to development. Depending on what's going on, aborting a VI can have some real nasty consequences.

As to your other question, the VI's properties may also be set to run when opened. You should see that option on the Execution page. You may also have to enclose the existing code inside of a case statement and then put all of that inside of a while loop. With a while loop, the program will continously read the status of a start button. When the start button is true, then whatever is inside the true case will execute. This is where the old code should be. When the old code is done, you can then press the s
tart button again to repeat. You will also need to add a stop button wired to the while loop terminator.
0 Kudos
Message 3 of 5
(4,382 Views)
I like the way your answers often go beyond simply answering the original question. You give newcomers some important tips and broaden their horizons. Thanks.
0 Kudos
Message 4 of 5
(4,382 Views)
Hi AI S and Dennis,

thanks very much for your answers, they helped a lot.


On Thu, 16 Jan 2003 13:15:48 -0600 (CST), Al S wrote:

>I like the way your answers often go beyond simply answering the
>original question. You give newcomers some important tips and broaden
>their horizons. Thanks.

ACK 🙂


Johannes
0 Kudos
Message 5 of 5
(4,382 Views)