06-09-2008 11:04 AM
06-09-2008 11:08 AM
I would recommend putting the sampling inside of a while loop.
Also put a 'wait' inside the loop, attached to whatever time you want (ie 100ms for 10samples/sec)
Then wire the sample to "insert into array" whatever order you want (oldest to newest or visa versa).
Hope that helps,
Cory
06-09-2008 11:21 AM - edited 06-09-2008 11:28 AM

06-10-2008 04:12 AM
Thank you Both for your ideas, The sampling is working very well.![]()
I just would like to know if it is possible to keep the first sampled data in the first Row, and add the new ones in the following rows.
"last n elements last"
For the moment, I do it like this :

The problem is I am obliged to wait until the loop stop, I would like to add the new values in the last row continuously.
Regards
06-10-2008 05:16 AM
06-10-2008 05:24 AM