LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Text indicator scrollbar flickers while scrolling

LabVIEW 2015 on Windows 10:

 

Place a text indicator on the front panel and fill it with enough text to require you to scroll quite a bit vertically...Now start to scroll, move it up and down a bit. The scrollbar will flicker.

 

When a collegue of mine asked me about this I thought it was probably because of frequent updates of the text, but this even happens if there are no updates at all...just displaying a static text.

 

Trying to figure out this issue I came over a similar issue that was reported here about table flickering, and low and behold - the strange solution for that issue; to drop a transparent decoration on top of the indicator (not covering the scrollbar though(it does not even need to cover all the text!)...actually works on the text indicator scrollbar as well (unless the user clicks on the text)

 

- A workaround, but why is it needed, and why does that work? Is this something planned to be fixed anytime soon?

0 Kudos
Message 1 of 3
(2,923 Views)

Perhaps the easiest work-around is to just move the label of the indicator just slightly over the indicator...that will also have the same "healing" effectSmiley Surprised

0 Kudos
Message 2 of 3
(2,917 Views)

For tables, I also found that writing to the Value property node instead of writing to the terminal stopped the flickering when updating (probably doesn't help if you're not updating the values).

 

As for why it works, I know there's something about having overlapping front panel objects which causes a performance hit - something about how LabVIEW draws the objects when there is an object on top of it. There's a note about it here and a forum post here. Maybe because of the performance hit, it slows the refresh rate down to the monitor refresh rate so you don't get the flickering/tearing?


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 3 of 3
(2,911 Views)