12-11-2007 03:39 PM - edited 12-11-2007 03:40 PM
12-12-2007 03:44 PM
12-12-2007 04:06 PM
ImTired wrote:
I wish to only plot 100 time points at a time (most current to the previous 99 points) and I want this to be like in strip chart mode (i.e. first in first out) ring buffer approach.
12-13-2007 03:23 PM
12-14-2007 11:13 AM
Hey Bill,
Here is what is going on. Currently, we are plotting the following points:
(0,0,0), (1,.1,.0001), (2,.2,.002) ... (19,2,16)
So it looks like we are only plotting one point per x coord, when in reality we need to be plotting 20 points per x coord to get that parabolic-like shape, and then we need to repeat that to get the image.
What I have done is modify the example, and instead of using arrays of 100, and I now have arrays of 2000, so we can have 20 x coords per actual x coord. So now, we are plotting:
(0,0,0), (0,.1,.0001), (0,.2,.002)...(0,2,16)
If that is not very clear, please let me know, and I will see if I can come up with a better way to explain this.
I have attached the code below.
Regards,
Kevin H
12-14-2007 11:20 AM
12-14-2007 07:09 PM
12-14-2007 09:07 PM