Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SerialPlot Only Reads First Record #32

Closed
TinyTed58 opened this issue Sep 22, 2022 · 5 comments
Closed

SerialPlot Only Reads First Record #32

TinyTed58 opened this issue Sep 22, 2022 · 5 comments

Comments

@TinyTed58
Copy link

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.

@hyOzd
Copy link
Owner

hyOzd commented Sep 22, 2022

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

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

@TinyTed58
Copy link
Author

TinyTed58 commented Sep 22, 2022 via email

@hyOzd
Copy link
Owner

hyOzd commented Sep 22, 2022

Sorry I don't see the image you attached

@TinyTed58
Copy link
Author

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

@hyOzd
Copy link
Owner

hyOzd commented Sep 22, 2022

That's okay. Glad you figured it out 🙂

@hyOzd hyOzd closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants