Skip to content

Comma separator not working in unlabeled data sets #13

Closed
@per1234

Description

@per1234

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:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions