Hi!
I'm communicating remotely to a platform (via wifi) to receive its inclication delivered by an on-board inclinometer.
I cannot fully manage interval between 2 samples for various reasons that I can't change.
I was then thinking of using a timestamp at the moment I'm requested the info and then to plot the results in an XYgraph.
Problem is that I want mygraph to be sweeping smoothly like with a chart, the the XYgraph is displaying "one full array" at a time.
The solution I came with is the following
It work fine, I have almost the result I want except that it is a bit epileptic ... The graph doesn't move point by point but section by section, making it difficult to read in real time...
The points are being updated smoothly, but the first point to appear on the graph doesn't "stick" to the side of the graph, so the curve moves forward, suddenly slides to the left leaveag the right side empty, and then fill in the right side again.
Do you have any idea how I can solve that ?
PS: Instead of using the array solution where I mage its lenght by myself, I tried using a lossy engueue element, but then the question came on "how to put that element in an array ..." so in the end the problem was the same.
Thanks in advance for your help.
Vinny.