LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

8.5.1 / 8.6 BUG: Animated Windows is turn on by LabVIEW

Well, this is a very annoying little bug...

First, some background information. In Windows Vista, there is a performance
option "Animate windows when minimizing and maximizing". It's in control
panel>System>Advanced system settings (click
continue)>Advanced>Performance>Settings, under custom options. If it's on,
you get very irritating flashing windows, that grow and shrink from the
bottom to it's position or the other way around. I really don't like it, so
I turn it off. I've noticed that it was turn on automatically once in a
while...

Sadly, LabVIEW turns it on again...

In LabVIEW 8.5.1 and 8.6 (but not in 8.2.1):

Create a blank vi.
Put an event structure in it.
Change the time out event to a "Panel Close?" event, and wire "TRUE" to
"Discard".
In the VI Properties>Window Appearance>Customize, untag "Allow user to
minimize window"
Run the VI.
Maximize it (the running vi needs the maximized at least once).
Close the windows.

And the animations option is back on again!

This is so aggressive that even if you don't use custom performance, but
optimize for best performance, the animated windows are turned on, although
the vista tag isn't on...

As a workaround, don't disable "minimize window", or disable "maximize
window"... Perhaps catching those events and performing the acting with
methods will help, but I need to investigate.

Regards,

Wiebe.


0 Kudos
Message 1 of 5
(3,735 Views)
Ok, here is another workaround:

When the VI is finished (in the above example when the event case executes,
but the event case is just an example), use two FP.Open methods: one with
Hidden, and the other with Standard, in that order.

Regards,

Wiebe.


Message 2 of 5
(3,727 Views)

Wiebe,

 

Thanks so much for the info.  I'm in the process of testing this right now with our VISTA machine and will post back with the results when I have them.  If this indeed does replicate itself on our system, I'll include your workarounds in the CAR.  

Sincerely,

Chris G in AE
Message 3 of 5
(3,556 Views)

Wiebe,

 

This was reported to R&D (# 135020) for further investigation.  Your workarounds seem to do the job quite nicely.  Thanks for the feedback!

Sincerely,

Chris G in AE
Message 4 of 5
(3,542 Views)

"Chris G in AE" <x@no.email> wrote in message
news:1227732005937-815455@exchange.ni.com...
> Wiebe, &nbsp;This was reported to R&amp;D (# 135020) for further
investigation.&nbsp; Your workarounds seem to do the job quite nicely.&nbsp;
Thanks for the feedback!

Your welkom, and thanks for reporting it.


0 Kudos
Message 5 of 5
(3,515 Views)