kyt Posted June 9, 2009 Report Share Posted June 9, 2009 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
Aristos Queue Posted June 9, 2009 Report Share Posted June 9, 2009 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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now