ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

minimize Window programmatically

Hi,

When I start my application, I would like to have its (main-)panel
minimized and after some guided initializations I would like to maximize
it.
I tried to do this with VIserver functions, but without sucess. Can I
change VI properities from inside this VI? Can I change it only in exe?
or without allowing debug?? Thanks for education!

Maybe soembody of yours has abetter idea how to handle this !

Thanks
Urs
0 Kudos
Message 1 of 12
(8,406 Views)
Hi,
try to look in lvwutil.zip. These are window controlling utils.
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/162d5ec0e0fd94778625667a005f2de4/

Hope it helps.

Oleg Chukto.
0 Kudos
Message 2 of 12
(8,406 Views)
Th 32-bit version is at
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/ebf11dd1f0feaef3862566790072a983/

Oleg Chutko
0 Kudos
Message 3 of 12
(8,406 Views)
If you are using Windows there is a set of tools for LabVIEW called LVWUtil32 that contains a Minimize Window.vi and Restore Window.vi that should do what you want. You should be able to get it (LVWUtil32.zip)at the bottom of this knowledge base: http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/824b3db43031317686256aaf00713218?OpenDocument .

Another idea would be to display some sort of splash screen that covers your main vi while the initialization is going on and then closes when its done.

Brian
0 Kudos
Message 4 of 12
(8,406 Views)
Thanks very much for the answers so far - I will give it a try tomorrow.
I'm still wandering about my questions.Can I

> change I VI properities from inside this (same) VI itself?

> Can I change it only in the exe mode or in in developement ?

> or without allowing debug?

Best Regards
Urs
0 Kudos
Message 5 of 12
(8,406 Views)
> change I VI properities from inside this (same) VI itself?

Yes you can set it to minimize from inside of itself. See the example I attached.

> Can I change it only in the exe mode or in in developement ?

It works in both exe and development.

> or without allowing debug?

Not sure what you mean.

Brian
0 Kudos
Message 6 of 12
(8,406 Views)
Hi Brian,
starting your example, LabVIEW reports missing the VIs Minimize windows and restore windows.
Can you post the here, please?

Thx,
Rainer
############

> Yes you can set it to minimize from inside of itself. See the example
> I attached.
>
> > Can I change it only in the exe mode or in in developement ?
>
> It works in both exe and development.
>
> > or without allowing debug?
>
> Not sure what you mean.
>
> Brian
>
> ------------------------------------------------------------------------
> Name: MinimizeExample.vi
> MinimizeExample.vi Type: LabVIEW Instrument (application/x-unknown-content-type-LabVIEWInstrument)
> Encoding: base64
> Description: Exam
ple
0 Kudos
Message 7 of 12
(8,406 Views)
They are part of the LVWUtil32 library that was linked to in the other answers to this question. It can be found here: http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/ebf11dd1f0feaef3862566790072a983/

Good luck.
Brian
0 Kudos
Message 8 of 12
(8,406 Views)
Brian Vibert wrote:

> They are part of the LVWUtil32 library that was linked to in the other

####

Thx Brian,
Rainer
0 Kudos
Message 9 of 12
(8,406 Views)

Is there a way to get these VI's working on a Windows 64 bit system?

Please as much detail as you can provide.

0 Kudos
Message 10 of 12
(7,088 Views)