How TIMEPLOT plot points?

Support forum for MegunoLink
Post Reply
internetizen
Posts: 3
Joined: Tue Mar 08, 2016 5:59 am

Tue Mar 08, 2016 7:03 am

Hi,

I am very new to this tool, and still learning how to use it.
Right now I am trying to plot a TIMEPLOT. I am expecting to see 60 point samples per second.
It is very strange that I can only see about 46 points instead of 60 point/s.
Also, the points are not evenly distributed. Please find attached pic.
There are only 2 points between 58.371 and 58.571.
Can you please explain it?

Thanks
Attachments
missing_points.GIF
missing_points.GIF (95.79 KiB) Viewed 16758 times
philr
Posts: 446
Joined: Mon May 26, 2014 10:58 am

Tue Mar 15, 2016 5:25 am

Hi Internetizen, the timeplot visualiser works by receiving data and time stamping it using the computer. In Windows each program is only give a slice of resources in time to function. Because of this the timing may not always be even and MegunoLink may not be able to keep up with your data stream. We recommend somewhere in the order of 20hz for PC timestamped values.

Alternatively you could use x-y plot which lets you specify an x and y axis value. For the x-axis value specify the millis timer in your arduino (or equivalent) and your data value for the y axis.

See here for more info
http://www.megunolink.com/documentation ... g/xy-plot/

Cheers
Phil
Post Reply