LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control the attribute of sub VI?

I'm a newbie.
I want to make a dialog box sub-VI which runs allways on top but the
callers( parent-VI's) control be still active.
Setting the windows option term as a dialog box lets the sub-VI be always on
top but disables all the control of the parent VI.
Any one can help?

Regards,

Byungin Bae
email : bibae@hitel.net
0 Kudos
Message 1 of 7
(3,432 Views)
Hi,
You ought to Click on the icon in the top-right corner of the front panel by
right button on the mouse, and select VI Setup..., then you can select what you
want to do.

Regards,

Hui-jun Cheng
Byungin Bae wrote:

> I'm a newbie.
> I want to make a dialog box sub-VI which runs allways on top but the
> callers( parent-VI's) control be still active.
> Setting the windows option term as a dialog box lets the sub-VI be always on
> top but disables all the control of the parent VI.
> Any one can help?
>
> Regards,
>
> Byungin Bae
> email : bibae@hitel.net
0 Kudos
Message 2 of 7
(3,432 Views)
Byungin,
If you set the sub-VI to Dialog, then the OS prevents you from
accessing the main VI's window and controls. One possible solution
would be to not set the sub-vi to Dialog, but use the LV Windows
Utilities (available on various FTP sites) to make the sub-vi be the top
window. The user could then click on the main window and do various
things. The trick will be to programmatically put the sub-vi back on
top at appropriate times.

Regards,
Dave Thomson

Byungin Bae wrote:
>
> I'm a newbie.
> I want to make a dialog box sub-VI which runs allways on top but the
> callers( parent-VI's) control be still active.
> Setting the windows option term as a dialog box lets the sub-VI be always on
> top but disables all the control of the parent VI.
> Any one ca
n help?
>
> Regards,
>
> Byungin Bae
> email : bibae@hitel.net
-------------------------------------------------------------
David Thomson 303-499-1973 (voice and fax)
Original Code Consulting dthomson@originalcode.com
www.originalcode.com
National Instruments Alliance Program Member
-------------------------------------------------------------
Research Scientist 303-497-3470 (voice)
NOAA Aeronomy Laboratory 303-497-5373 (fax)
Boulder, Colorado dthomson@al.noaa.gov
-------------------------------------------------------------
0 Kudos
Message 3 of 7
(3,432 Views)
Thank you for kindness, Dave.
But Can you be kind enough to inform me of more precise information about
it, i.e. name of the utility and/or ftp site?
Regards,

Byungin Bae

"David Thomson" wrote in message
news:38CD201D.78ADCDFC@al.noaa.gov...
> Byungin,
> If you set the sub-VI to Dialog, then the OS prevents you from
> accessing the main VI's window and controls. One possible solution
> would be to not set the sub-vi to Dialog, but use the LV Windows
> Utilities (available on various FTP sites) to make the sub-vi be the top
> window. The user could then click on the main window and do various
> things. The trick will be to programmatically put the sub-vi back on
> top at appropriate times.
>
>
Regards,
> Dave Thomson
>
> Byungin Bae wrote:
> >
> > I'm a newbie.
> > I want to make a dialog box sub-VI which runs allways on top but the
> > callers( parent-VI's) control be still active.
> > Setting the windows option term as a dialog box lets the sub-VI be
always on
> > top but disables all the control of the parent VI.
> > Any one can help?
> >
> > Regards,
> >
> > Byungin Bae
> > email : bibae@hitel.net
> -------------------------------------------------------------
> David Thomson 303-499-1973 (voice and fax)
> Original Code Consulting dthomson@originalcode.com
> www.originalcode.com
> National Instruments Alliance Program Member
> -------------------------------------------------------------
> Research Scientist 303-497-3470 (voice)
> NOAA Aeronomy Laboratory 303-497-5373 (fax)
> Boulder, Colorado dthomson@al.noaa.gov

> -------------------------------------------------------------
0 Kudos
Message 4 of 7
(3,432 Views)
If you are only striving for appearance, you can do this by:

in VI setup (right click on the icon to get there),
under execution options select "show front panel when called"
under window options uncheck "allow user to control window", "allow
user to resize window", etc.

as long as you don't call another VI with a front panel that shows when
called, the VI will remain on top, but will not function as a dialog box, so
things will continue to run... the downside of this is that the user can
use "alt-tab" and other key combinations to make the window move off "the
top", but they have to make an effort to do it....


Byungin Bae wrote in message
news:IEsz4.50$vQ6.1495@news.hananet.net...
> Thank you for kindness, Dave.
> But Can you be kind enough to inform me of more precise information about
> it, i.e. name of the utility and/or ftp site?
> Regards,
>
> Byungin Bae
>
> "David Thomson" wrote in message
> news:38CD201D.78ADCDFC@al.noaa.gov...
> > Byungin,
> > If you set the sub-VI to Dialog, then the OS prevents you from
> > accessing the main VI's window and controls. One possible solution
> > would be to not set the sub-vi to Dialog, but use the LV Windows
> > Utilities (available on various FTP sites) to make the sub-vi be the top
> > window. The user could then click on the main window and do various
> > things. The trick will be to programmatically put the sub-vi back on
> > top at appropriate times.
> >
> > Regards,
> > Dave Thomson
> >
> > Byungin Bae wrote:
> > >
> > > I'm a newbie.
> > > I want to make a dialog box sub-VI which runs allways on top but the
> > > callers( parent-VI's) control be still active.
> > > Setting the windows option term as a dialog box lets the sub-VI be
> always on
> > > top but disables all the control of the parent VI.
> > > Any one can help?
> > >
> > > Regards,
> > >
> > > Byungin Bae
> > > email : bibae@hitel.net
> > -------------------------------------------------------------
> > David Thomson 303-499-1973 (voice and fax)
> > Original Code Consulting dthomson@originalcode.com
> > www.originalcode.com
> > National Instruments Alliance Program Member
> > -------------------------------------------------------------
> > Research Scientist 303-497-3470 (voice)
> > NOAA Aeronomy Laboratory 303-497-5373 (fax)
> > Boulder, Colorado dthomson@al.noaa.gov
> > -------------------------------------------------------------
>
>
0 Kudos
Message 5 of 7
(3,432 Views)
Byungin Bae wrote:
>
> Thank you for kindness, Dave.
> But Can you be kind enough to inform me of more precise information about
> it, i.e. name of the utility and/or ftp site?
> Regards,
>
> Byungin Bae
>
Byungin,
Try http://vaneg1.ecs.umass.edu/Socratis/LabVIEW/index.htm and look
for LVWUtil.zip or LVWUtil-32.zip.

Dave
-------------------------------------------------------------
David Thomson 303-499-1973 (voice and fax)
Original Code Consulting dthomson@originalcode.com
www.originalcode.com
National Instruments Alliance Program Member
-------------------------------------------------------------
Research Scientist 303-497-3470 (voic
e)
NOAA Aeronomy Laboratory 303-497-5373 (fax)
Boulder, Colorado dthomson@al.noaa.gov
-------------------------------------------------------------
0 Kudos
Message 6 of 7
(3,432 Views)
Another possible solution is to download a program such as 'Nail It' that
will allow you to force any one window to be on top. This is a free program
available from many freeware sites.

D Duffy
Test Engineer
Microsource Inc.
dduffy@microsource-inc.com

David Thomson wrote:
>Byungin,> If you set the sub-VI to Dialog, then the OS prevents you from>accessing
the main VI's window and controls. One possible solution>would be to not
set the sub-vi to Dialog, but use the LV Windows>Utilities (available on
various FTP sites) to make the sub-vi be the top>window. The user could
then click on the main window and do various>things. The trick will be to
programmatically put the sub-vi back on>top at appropriate times.>>Regards,>
Dave Thoms
on>>Byungin Bae wrote:>> >> I'm a newbie.>> I want to make a
dialog box sub-VI which runs allways on top but the>> callers( parent-VI's)
control be still active.>> Setting the windows option term as a dialog box
lets the sub-VI be always on>> top but disables all the control of the parent
VI.>> Any one can help?>> >> Regards,>> >> Byungin
Bae>> email : bibae@hitel.net>------------------------------------------------------------->David
Thomson 303-499-1973 (voice and fax)>Original Code Consulting
dthomson@originalcode.com> www.originalcode.com>
National Instruments Alliance Program Member>------------------------------------------------------------->Research
Scientist 303-497-3470 (voice)>NOAA Aeronomy Laboratory
303-497-5373 (fax)>Boulder, Colorado
dthomson@al.noaa.gov>-------------------------------------------------------------
0 Kudos
Message 7 of 7
(3,432 Views)