Page 1 of 1

Using arduino time on a TIMEPLOT

Posted: Sun Jan 11, 2015 9:26 pm
by thamesmud
Hi,
I'm probably being dense but I can't get a TIMEPLOT to read arduino time to a better resolution than 1 sec , YYYY-MM-DD HH:MM:SS works fine but
YYYY-MM-DD HH:MM:SS.000 with decimal seconds fails. When I use "T" (PcTme) TIMEPLOT's resolve time to milliseconds, what I want to do is send time in milliseconds from the Arduino, Is this possible ? I can use an XYPLOT and send milliseconds but the XYPLOT won't scroll which is a pain.
Any Ideas what I'm doing wrong or suggestions for a work-around greatly appreciated.
Thanks
Bob

Re: Using arduino time on a TIMEPLOT

Posted: Mon Jan 12, 2015 5:13 pm
by thamesmud
HI,
Just found that C# can parse a long as a timestamp.
{TIMEPLOT|DATA|rawGyroX|140834076|-6.07} still result in no data on plot.
( timestamp = 1970-01-02 16:07:14.076 )
I'm one puzzled pom !

Re: Using arduino time on a TIMEPLOT

Posted: Wed Jan 14, 2015 9:06 pm
by philr
Hi, I think this is a bug. We will investigate and hopefully get it fixed in the next update.

Cheers
Phil

Re: Using arduino time on a TIMEPLOT

Posted: Sun Feb 08, 2015 12:09 am
by bbrandell
Hey Phil,

This would be a great bug fix to have. I LOVE your circular buffer template class and am using it to store sensor data with time stamps from multiple analog inputs using widely varying sample rates. I'm using the OCR registers in Timers 3,4, 5 of my Mega to do the sampling using interrupts, with ISR sticking the raw analog data, timestamp, and a pointer to a sensor class object. My "loop" just pulls the data off, calls the sensor class method for converting the raw data and formatting it for output to megunolink. Makes for a pretty easy way to do multiple sensors with individual sampling rates and get the data up for viewing on my PC. AND it's dirt cheap...

Thanks for a great product.

Re: Using arduino time on a TIMEPLOT

Posted: Mon Feb 16, 2015 4:29 am
by philr
This should now be fixed. Details on formatting can be found about half way down this page.

http://www.megunolink.com/documentation ... reference/

Cheers
Phil

Re: Using arduino time on a TIMEPLOT

Posted: Tue Mar 08, 2016 6:22 am
by internetizen
any example to show how to use Arduino time instead of PC time? Thanks