LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Stripchart: does setting ATTR_POINTS_PER_SCREEN clears history?

Setting ATTR_POINTS_PER_SCREEN parameter I can change the number of points that can fit into the strip chart plot area.

I've been trying to implement the following behavior:

  • when the strip chart is resized, the number of points plotted should be reduced or increased (i.e.. if the plot area is 100 pixel wide, I need 100 points; if it is 200 pixel wide, I need 200 points)

So I change ATTR_POINTS_PER_SCREEN when the stripchart is resized, but this clears the whole data history...

Is this an expected behavior?

 

How can I change the points per screen without clearing all the previous points?

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 1 of 3
(3,200 Views)

Hi Vix,

I reproduced the behaviour.

We are now verifying wheter it is expected or not, as probably setting the attribute should be called once before plotting and not while plotting.

We will let you know.

Bye!

 

Licia

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

I think that if expected, it's not an useful behavior, and so I've just added a new product suggestion.

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 3 of 3
(3,164 Views)