LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows occasionally stop redrawing

Yes, it appears that disabling Aero is a viable workaround. It's a bit of a bummer to have to disable that feature, since there are elements of Aero that are actually somewhat useful (window previews, etc.), but we can live with it for now.

 

I strongly support your investigation to try to solve the fundamental problem.

0 Kudos
Message 11 of 34
(1,588 Views)

@TurboPhil wrote:

Yes, it appears that disabling Aero is a viable workaround. It's a bit of a bummer to have to disable that feature, since there are elements of Aero that are actually somewhat useful (window previews, etc.), but we can live with it for now.

 

I strongly support your investigation to try to solve the fundamental problem.


Not only is it a "bit of a bummer," but what do you say to a customer?  "By the way, the app only works if you disable Windows Aero?"  It's almost like saying, "By the way, the app only works in Windows XP."

On the other hand, this issue is apparently a problem at the deepst levels of LV, otherwise it would've been fixed already.  To that, I give NI a sincere "good luck" and hope they can resolve the issue without a major rewrite.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 12 of 34
(1,582 Views)

I personally wouldn't get hung up about Aero having to be disabled. Especially for control applications!

 

It's another layer of user interface complexity that can at best slow down the machine, at worst introduce all kinds of issues, not only with LabVIEW itself, and definitely increases the number of code paths by a significant amount, to make the chances for hitting bugs in video drivers significantly bigger.

 

For mission critical systems it's always a very good idea to not use all the gimmicks that come with a new OS, but go with as few features as possible.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 13 of 34
(1,533 Views)

@rolfk wrote:

I personally wouldn't get hung up about Aero having to be disabled. Especially for control applications!

 

It's another layer of user interface complexity that can at best slow down the machine, at worst introduce all kinds of issues, not only with LabVIEW itself, and definitely increases the number of code paths by a significant amount, to make the chances for hitting bugs in video drivers significantly bigger.

 

For mission critical systems it's always a very good idea to not use all the gimmicks that come with a new OS, but go with as few features as possible.


From a technical perspective, I agree.  But if this is to be deplyed on a customer's computer, they may not be so understanding.  If the customer doesn't like it, then you're wrong.  Period.  Laying the explanation above on a customer usually sounds like you're making lame excuses for sub-par work.  A savvy customer would understand and agree, but all too often, some VP is in charge of a project and is going to complain about having an "ugly" looking computer interface.  You and I know that a high end computer stripped of all unnecessary crud is a developer's dream, but sometimes it's impossible to achieve the dream.  😉

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 14 of 34
(1,511 Views)

Any update on this issue from NI? Also why isn't this listed in the known issues for LabVIEW? Seems like it is a huge problem (btw, your programs may just stop updating randomly if you have your computer settings set up in the most common configuration) and something that users should be made aware of. Also, makes it impossible to check if it was fixed in a particular version of LabVIEW, if it wasn't being listed in the known issues to begin with. 

0 Kudos
Message 15 of 34
(1,476 Views)

@Wolfskill wrote:

Any update on this issue from NI? Also why isn't this listed in the known issues for LabVIEW? Seems like it is a huge problem (btw, your programs may just stop updating randomly if you have your computer settings set up in the most common configuration) and something that users should be made aware of. Also, makes it impossible to check if it was fixed in a particular version of LabVIEW, if it wasn't being listed in the known issues to begin with. 


While I have limited insight to this issue, I do believe from certain experiences, that the worst of the effects relate to Windows Aero Theme display settings.  Obviously, NI has limited (but not inconsiderable) influence on how MS implements OS Panel updates.  I personally do not expect Win 7 OS's to change extensively in the near future.


"Should be" isn't "Is" -Jay
0 Kudos
Message 16 of 34
(1,467 Views)

One reason that it might be not in the list of known bugs might be that it is difficult to reproduce since it depends on a certain hardware/driver configuration. It is very possible that this is really a bug in the video driver and only exhibits itself with certain video controllers and according drivers. Bugs have to be confirmed by NI people to be bugs before they can go into the bug database and an engineer needs to look at it before it makes it into the list of known bugs. If they would add every "bug" that is reported by users to that list, the list would be much longer than you ever would care to read through and would be totally useless.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 17 of 34
(1,450 Views)

This has not been fixed yet, it also does not affect Windows 8 because AERO was removed, and it is hard to track.

 

I know of several other pieces of software that are not compatible with AERO and which disable it while they are running. After looking into this I found a Windows API call to disable it for an application instance and have made an example which should allow you to request this as part of your VI.

 

Check out the example here: https://decibel.ni.com/content/docs/DOC-31716

 

This should be resolved by simply putting that SubVI into your application.

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
Message 18 of 34
(1,428 Views)

Aero hasn't actually been removed from Windows 8. The theme has been removed so you won't have transparent borders, but the other parts of Aero such as hardware acceleration are still there. Has NI characterized this issue well enough to know that the parts of Aero that still exist in Windows 8 aren't what is causing the problem? 

0 Kudos
Message 19 of 34
(1,311 Views)

Also, from what I can tell, the features of Aero that remain in Windows 8 cannot be disabled, so this workaround doesn't apply. 

0 Kudos
Message 20 of 34
(1,308 Views)