Help with Real-Time Graph


I am trying to display a graph representing the angle against time. While I have managed to display the data, my x-axis time in seconds starts jumping in steps of 3. How can I correct this?

Thank you.


(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.



There are two factors I can think of - firstly, so much work for Clock1 that it maybe exceeds 1 second. Secondly the Android Clock Timers can be a little inaccurate as they are low priority in the system.

Repeatedly setting the TimerInterval isn't going to help. Set that once, before the timer is run.

How are you testing? Via the Companion? See if you get a better result with an APK. Also make sure you device (phone) memory is cleared before running your App.

Your Start_timer button -shouldn't that be starting the timer?

If not, your code is still off - it should simply be true or false: