hyOzd / serialplot

Small and simple software for plotting data from serial port in realtime.

Home Page:https://hackaday.io/project/5334-serialplot-realtime-plotting-software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SerialPlot Only Reads First Record

TinyTed58 opened this issue · comments

I'm trying to log data from a serial data stream, which prints out every 100ms.

My output code looks like this:

printf("%04d,\n", position );

SerialPlot only displays the first value when I connect.

Data is visibly present and valid on a scope. I presume I've missed an important detail.

Can you share a few lines of output captured with the text console?

Btw, comma that is after the value might cause issues.

Sorry I don't see the image you attached

Ahh. My bad. I was dumping a buffer full of invisible data - 0x00 (200 bytes) after I sent the value. Its now working fine.

That's okay. Glad you figured it out 🙂