LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Picture update issues

Hi,

 

While playing with pictures, I figured out that they're issues with the update of the indicator.

At each update, we can see that all the picture is redraw.

 

To have a smoother update, the only way I found is to add another control on top of the picture...

 

Any better solution ?

 

Edit :

There is a "Smooth update" property accessible by rigth clic during the execution that solves the problem.

0 Kudos
Message 1 of 5
(2,322 Views)

A similar situation happens with tables.

It does not have to be a control.  You can put a small transparent decoration on top and that helps the situation and the user never sees it.

 

Interesting thing about the smooth updates, I've never seen that right click menu before.  But I rarely work with pictures, and even more rarely work with them that dynamically.

 

0 Kudos
Message 2 of 5
(2,314 Views)

This property is also available during edit time.

 

No need to use dirty trick !

Download All
0 Kudos
Message 3 of 5
(2,263 Views)

I use a picture to animate a Flappy Bird game and and now, I refresh the picture each 20ms without flash.

0 Kudos
Message 4 of 5
(2,262 Views)

Weirdly enough, one way to make a smooth update is to:

 

  1. hide the indicator,
  2. set the value,
  3. show the indicator.

In one property node.

 

This combined with smooth updates, and\or defer panel updates.

 

For me this was the only option that worked for a large image (in size and stuff in it) in a subpanel.

 

I don't use Asynchronous Display, as updating the image with this option within a defer panel updates doesn't update the image...

0 Kudos
Message 5 of 5
(2,211 Views)