-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Label header not working #14
Comments
I've been thinking about providing support for Label only message format. However, the following code snippet discards the first message sent to the plotter arduino-serial-plotter-webapp/src/msgAggregatorWorker.ts Lines 30 to 38 in eac6d39
This code was introduced in PR #5 to cater for
For the OP's example code, it would completely discard the labels that are being sent during Questions
|
Unfortunately I don't know any details about why this is necessary.
There are definitely some regressions in the serial data handling of Arduino IDE 2.x compared to Arduino IDE 1.x For example: I believe the "□" you see in that screenshot are not really I'll try to make some time later this week to do a bit of investigation into the subject to see if I can produce something that might match the description of this "dirty" message. |
Describe the problem
The official Arduino Serial Plotter protocol specification documents two formats for labeling variables:
<label>:<value>
)🐛 Labels defined via a data set header are not recognized.
To reproduce
Equipment
You can also send the equivalent data directly to the web app if that is more convenient to you.
Steps
🐛 The variables are not labeled:
Expected behavior
Support for label headers.
OR
Version
eac6d39
Operating system
Windows
Operating system version
10
Additional context
The demo works as expected when using the Arduino IDE 1.8.19 Serial Plotter.
Examples of existing programs broken by this bug:
A label header is more efficient than printing labels redundantly for each data point.
Issue checklist
The text was updated successfully, but these errors were encountered: