LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show + Hide or minimize Front Panel

Hi,

I am looking for a way to show and hide the frontpanel of a sub-vi
used in my application, without using the vi-setup options: show
frontpannel when called/close afterwards if originally closed.

An other thing I would like to do ist to minimize and maximize the
frontpanel window of a sub-vi during program execution, but again I
can´t figure out a way to do so.

Thanks for your help in advance,
Alexander
------------------------------------------------------------------------
Alexander Stapff e-mail: Alexander.Stapff@post.rwth-aachen.de
RWTH-Aachen (Student)
Aachen, Germany
PGP Public-Key available on request
------------------------------------------------------------------------
0 Kudos
Message 1 of 4
(5,912 Views)
> I am looking for a way to show and hide the frontpanel of a sub-vi
> used in my application, without using the vi-setup options: show
> frontpannel when called/close afterwards if originally closed.
>
> An other thing I would like to do ist to minimize and maximize the
> frontpanel window of a sub-vi during program execution, but again I
> can´t figure out a way to do so.
>

Assuming you have a recent edition of LV, look at the VI Server. It
is the means the LV uses to publish all kinds of LV and VI settings.
If you are using an older version, pre-LV5, then you can use the
VI control VIs to do at least some of what you are asking. These
VIs take in a VI name and data settings to put onto a VI. With LV 5,
all of that functionality moved to the server, along with lo
ts and
lots more.

Greg McKaskle
0 Kudos
Message 2 of 4
(5,911 Views)
On Sun, 06 Jun 1999 20:06:00 GMT, Greg McKaskle
wrote:

>> I am looking for a way to show and hide the frontpanel of a sub-vi
>>...
>> An other thing I would like to do ist to minimize and maximize the
>> frontpanel window of a sub-vi during program execution...
>
>Assuming you have a recent edition of LV, look at the VI Server. It
>is the means the LV uses to publish all kinds of LV and VI settings...

First of all thanks for your answer. I´m usin LV 5 and I already had a
look at the server section in the G Programing Reference Manual but
couldn´t find anything that looked right for what I want to do. Maybe
you could give me a cue what I should look for?

Thanks for your help,

Alexander
---------------------------------------------
---------------------------
Alexander Stapff e-mail: Alexander.Stapff@post.rwth-aachen.de
RWTH-Aachen (Student)
Aachen, Germany
PGP Public-Key available on request
------------------------------------------------------------------------
0 Kudos
Message 3 of 4
(5,911 Views)
> >> I am looking for a way to show and hide the frontpanel of a sub-vi
> >>...

You will want to get a reference to the subVI and set the Front Panel.Close
property to True or False. For Maximizing, I don't know the exact name,
but there is probably a Full Size or similar attribute in Front Panel
Settings.

Greg McKaskle
0 Kudos
Message 4 of 4
(5,911 Views)