Correct me if I'm wrong.
If you click the button you want to add a point to the graph. Now you fill your graph with 16 points in each iteration.
I would suggest you to build up your array and in a separate case take out the desired values and append them to a separate array, which is then displayed in the graph.
In this separate case you can place the logic to decide which values shall be taken out of which array.
Maybe this is what you're looking for - otherwise try to describe it a little bit better (for instance with more than just to points).
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------