Skip to content
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

Serial Monitor/Plotter don't use per-window port selection #613

Closed
AlbyIanna opened this issue Nov 17, 2021 · 7 comments · Fixed by #982
Closed

Serial Monitor/Plotter don't use per-window port selection #613

AlbyIanna opened this issue Nov 17, 2021 · 7 comments · Fixed by #982
Assignees
Labels
conclusion: resolved Issue was resolved criticality: highest Of highest impact topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project

Comments

@AlbyIanna
Copy link
Contributor

When you open Serial Monitor or Serial Plotter in multiple IDE windows, they all use the same port, even though you have a different serial port selected from the Board Selector or Tools > Port menu in each window.

@per1234 per1234 added topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project labels Nov 17, 2021
@per1234
Copy link
Contributor

per1234 commented Nov 17, 2021

Hi @AlbyIanna. Can you confirm that, in regards to Serial Monitor, this is a regression that will only be introduced once #597 is merged (i.e., it does not occur when using any version of the IDE from the main branch at this time)?

@per1234 per1234 added the status: waiting for information More information must be provided before work can proceed label Nov 17, 2021
@per1234 per1234 changed the title Serial connection doesn't work when multiple IDE windows are open Serial Monitor/Plotter don't use per-window port selection Nov 17, 2021
@AlbyIanna
Copy link
Contributor Author

@per1234 Yes, I confirm it's a bug introduced in the branch serial-plotter. We decided to consider this issue an edge case, so we're not planning to solve this before the release. That absolutely does not mean that it's not an important issue, it's just that we have more urgent stuff to do at the moment.

@per1234 per1234 removed the status: waiting for information More information must be provided before work can proceed label Nov 17, 2021
@per1234
Copy link
Contributor

per1234 commented Nov 18, 2021

Even though this issue is believed to be a new regression, just to create a linkage to related information, I'll add that something similar was mentioned incidentally in another issue:
#584 (comment)

If a second IDE is open on another port, the one that looses the connection reconnects to the second IDE's port.

as well as this:
#271 (comment)

When you click the Serial Monitor icon in window 2, it attempts to open serial port 1 rather than the port it just uploaded to! You have to explicitly pick the second port AFTER you upload to open both ports. That's confusing. Whatever board and port you select for a given window should be the default for all the serial operations associated with that window.

@per1234
Copy link
Contributor

per1234 commented Jan 22, 2022

Something that might not be clear from this report is that the Serial Monitors show the merged output from the ports selected in each window. There is a demonstration of that here: #661 (comment)

@mklemarczyk
Copy link

mklemarczyk commented Mar 17, 2022

I have same problem, it takes input only from one device and display it in all windows. Even the different boards are connected.
I am using the latest version IDE for Windows (rc-5). It is not possible to follow the output, the easiest fix could be to put information from which port the print comes from into Serial Monitor.

In my opinion it is important problem, as you need to disconnect other boards from your PC to be able to follow your monitor.
There is no choice to disable monitoring from other ports.

@wittend
Copy link

wittend commented May 29, 2022

This problem is bedeviling me as well. On Linux Mint (Ubuntu) I'm trying to sort out two sketches operating as client/server on /dev/ttyACMx (ESP32) communicating with /dev/USBx (Arduino Atmega4808).

@AlbyIanna AlbyIanna mentioned this issue Jun 7, 2022
4 tasks
@per1234 per1234 linked a pull request Jun 8, 2022 that will close this issue
4 tasks
@per1234
Copy link
Contributor

per1234 commented Jun 8, 2022

Closing as fixed by #982

@per1234 per1234 closed this as completed Jun 8, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label Aug 9, 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 criticality: highest Of highest impact topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants