Jump to content

BG color of cluster of numerical indicators slow


Recommended Posts

I have a sub-VI that is updating the background color of a cluster of numerical indicators based on the individual indicator's value.

When I run this normally, each indicator takes a fraction of a second to update and with numerous indicators, the time really adds up.

However, when I keep my mouse clicked over an indicator or a control, the updates are near instantaneous.

How do I keep it at near instant speeds?

Attached is my sub-VI which takes in a reference of the cluster of indicators.

Link to comment

Try this:

Go into VI Properties and on the Execution tab, set your VI's preferred thread to be the UI thread. This will avoid the thread swapping. Now that also means that all your calculations are holding up the UI thread, so you may have a less responsive UI in other aspects, but it should help your flicker problem.

Link to comment

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.