Open
Description
Describe the problem
Incorrect Label persist even after the message has changed
To reproduce
Equipment
- Arduino board
Steps
- Upload the following sketch to your Arduino board
int random_variable;
int static_variable = 500;
void setup() {
Serial.begin(9600);
}
void loop() {
random_variable = random(0, 1000);
Serial.print("Variable 1:");
Serial.print(random_variable);
Serial.print(",");
Serial.print("Variable 2:");
Serial.println(static_variable);
}
- Open Serial Plottel
- Ensure the baud rate is set to 9600 baud
- With the Serial Plotter open to the side, now modify the sketch to the following
int random_variable;
int static_variable = 500;
void setup() {
Serial.begin(9600);
}
void loop() {
random_variable = random(0, 1000);
Serial.print("Random:");
Serial.print(random_variable);
Serial.print(",");
Serial.print("Static:");
Serial.println(static_variable);
}
- Upload the modified sketch to the Arduino board and observe the legend on the top corner of the Serial Plotter
Steps to reproduce - Video
ArduinoSerialPlotterLabel.Bug.mp4
Expected behavior
Arduino IDE version
Version: 2.0.0-rc9.4
Date: 2022-09-08T08:06:43.499Z
CLI Version: 0.27.1 [a900cfb2]
Operating system
Windows
Operating system version
Windows 10 21H2
Additional context
The Legend is updated and shown correctly when
- The Serial Plotter window is closed & reopened again OR
- The Plotter is STOP & RUN once
Metadata
Metadata
Assignees
Labels
Related to content of the project itselfRelated to content of the project itselfPerceived defect in any part of projectPerceived defect in any part of project