Skip to content

Comma separator not working in unlabeled data sets #13

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

Closed
per1234 opened this issue Sep 5, 2022 · 0 comments · Fixed by #16
Closed

Comma separator not working in unlabeled data sets #13

per1234 opened this issue Sep 5, 2022 · 0 comments · Fixed by #16
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Sep 5, 2022

Describe the problem

The official Arduino Serial Plotter protocol specification documents three supported data point separator characters:

  • space
  • tab
  • comma

🐛 Comma separators only work in data sets that are labeled

To reproduce

Equipment

  • Arduino board
    You can also send the equivalent data directly to the web app if that is more convenient to you.

Steps

  1. Upload the following sketch to your Arduino board:
    void setup() {
      Serial.begin(9600);
    }
    void loop() {
      for (byte value = 0; value < 4; value++) {
        for (byte variableOffset = 0; variableOffset < 3; variableOffset++) {
          Serial.print(value + variableOffset);
          Serial.print(',');
        }
        Serial.println();
      }
      delay(100);
    }
  2. Open "Serial Plotter"
  3. Select "9600 baud" from the dropdown baud rate menu at the bottom right corner of the "Serial Plotter" window.

🐛 Only a single variable is plotted:

image

Expected behavior

serial-plotter-comma-separated

  • Full support for all data point separators documented in the specification.
  • Supported separators are consistent regardless of whether or not data points are labeled.

OR

  • Clear documentation of breaking change
  • Comprehensive survey and repair of all important content broken by change

Version

eac6d39

Operating system

Windows

Operating system version

10

Additional context

The demo works as expected when using the Arduino IDE 1.x Serial Plotter.


Examples of existing programs broken by this bug:

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Sep 5, 2022
@per1234 per1234 linked a pull request Sep 12, 2022 that will close this issue
@per1234 per1234 added the conclusion: resolved Issue was resolved label Sep 12, 2022
@per1234 per1234 self-assigned this Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant