Jump to content

What's wrong with this ctrl?


Zou

Recommended Posts

Posted

It's getting and process redraw message like crazy !

Anyone had this kind of problem before?

LabVIEW 2014 SP1, Windows 7 Pro. 64 bit.

Tested with LabVIEW 2018 too.

224977660_2019-07-2511_20_31-MicrosoftSpy-Messages(Window005609DC).jpg.d2b0e51c685d4435836de9331c4f1e34.jpg

Control1.ctl

Posted

Transparency + overlapping objects can lead to a situation with constant redrawing.  In this case (LV14 SP1) I was able to tame it by coloring the housing a solid color and then recoloring it transparent.

  • Thanks 1
Posted

Good catch using Spy++ in the first place.  Not sure I would check every control, but I have always found gauges and meters to be particularly troublesome, so I would check those.  If you ever color a part transparent I would think about checking, but LV has gotten much better in the past decade.  Once upon a time I actually used the fact that an overlapped, transparent picture control triggered excessive redraws to "fix" problems with controls which were glitchy from a lack of refreshing.

Was this control born in LV14 or was it upgraded from an earlier version?  

Posted

I added this gauge to an existing VI/proj. in LabVIEW 2014 SP1, and then customized it.

The VI/proj. was upgraded from LabVIEW 2011 previously.

Had a huge performance problem with a translucent button before, so I checked when I have performance issue again.

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.