LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open and close front panel

Hi,

I wish to have a VI that works as a main menu from which you start new
VI's depending on your choice. When the new VI start I want the main
menu to hide it's front panel temporarily until it the second VI
returns.

Anyone has a solution to this?

/Nimrod





Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 4
(3,159 Views)
s_nimrod@my-deja.com wrote:
. . .

When the new VI start I want the main menu to hide it's front panel temporarily
until it the second VI returns.
. . .

If you are using LabVIEW 5.1, you can use the VI server attributes to hide
the VI by moving it off of the desktop. I will send you a sample in private
mail.

The attribute (property) you need to use is Front Panel Window -> Window
Bounds.
Set it to something that is larger than your window size, like 2000, 2000,
2200, 2200.

I hope that this helps,
Bob Young
0 Kudos
Message 2 of 4
(3,159 Views)
attached winutil.llb can be one solution.
received llb from ni germany years ago.
works well - but don't ask for more information.
does anybody know where this is published now?
maybe new stuff in LV5.1 is smarter - read mail from Robert Young.

Manfred


s_nimrod@my-deja.com schrieb:

> Hi,
>
> I wish to have a VI that works as a main menu from which you start new
> VI's depending on your choice. When the new VI start I want the main
> menu to hide it's front panel temporarily until it the second VI
> returns.
>
> Anyone has a solution to this?
>
> /Nimrod
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
0 Kudos
Message 3 of 4
(3,159 Views)
Manfred Leffler wrote:

> attached winutil.llb can be one solution.
> received llb from ni germany years ago.
> works well - but don't ask for more information.
> does anybody know where this is published now?

Sure, this is published on the NI site by NI (from whence it originally came)
in the Example Programs Database:

http://digital.ni.com/explprog.nsf/websearch/ebf11dd1f0feaef3862566790072a983

--John Lum
0 Kudos
Message 4 of 4
(3,159 Views)