Skip to content

Communicate to user when Serial Plotter limitations exceeded #651

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 Dec 1, 2021 · 1 comment
Closed

Communicate to user when Serial Plotter limitations exceeded #651

per1234 opened this issue Dec 1, 2021 · 1 comment
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@per1234
Copy link
Contributor

per1234 commented Dec 1, 2021

Describe the current behavior

The Arduino IDE 2.x Serial Plotter has an undocumented maximum limit of 8 variables.

When this limit is exceeded, the plotter is a blank window, with no indication to the user of the cause of this behavior.

To Reproduce

  1. Upload the following code to an Arduino board
    void setup() {
      Serial.begin(9600);
    }
    void loop() {
      byte datapoint = 0;
      while (datapoint++ < 9) {
        Serial.print(random(100));
        Serial.print('\t');
      }
      Serial.println();
    }
  2. Select Tools > Serial Plotter from the Arduino IDE menus.

Note that the Serial Plotter window is blank:

image

Requested behavior

Communicate to the user when the limits of the plotter have been exceeded.

Desktop

  • OS: Windows 10
  • Version: 2.0.0-rc1-snapshot.f0d9894
    Date: 2021-11-30T16:25:41.414Z
    CLI Version: 0.20.1 [abb21449]

Additional context

Since the classic Arduino IDE's Serial Plotter does not have this limitation, even experienced users users will not be familiar with it.

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Dec 1, 2021
@per1234
Copy link
Contributor Author

per1234 commented Jan 12, 2022

Fixed by arduino/arduino-serial-plotter-webapp#5
Even though that PR has not yet been merged, the fix there was already published to the npm registry and brought into Arduino IDE by #698

@per1234 per1234 closed this as completed Jan 12, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label Jan 12, 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: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants