Pages: [1] 2   Go Down
Author Topic: re-display serial monitor after upload?  (Read 4709 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Would it be possible for you to add an option that will automatically re-display the serial monitor window after an upload if it was previously displayed?  I find every time I upload to the board I have to go click on the button again.

Thank you,

DougM
Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 200
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's not exactly what you're after ... but you can use the shortcut (Ctrl+Shift+M) to open the Serial Monitor.

By the way, your issue is also being discussed in the thread http://arduino.cc/forum/index.php/topic,51347.0.html
« Last Edit: February 17, 2011, 04:52:38 am by novice » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 41
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Would it be possible for you to add an option that will automatically re-display the serial monitor window after an upload if it was previously displayed?  I find every time I upload to the board I have to go click on the button again.

Thank you,

DougM


Get my vote too.
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I actually implemented this at one point, but I didn't like it so I took it out again.  I know it's annoying to reopen the serial monitor manually, but I find it surprising to have it reopen automatically.  I also don't want to have the serial monitor window open if the serial monitoring isn't active.  So I was left with making you manually reopen the monitor after the upload.
Logged

Leighton Buzzard, UK
Offline Offline
Edison Member
*
Karma: 21
Posts: 1339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I actually implemented this at one point, but I didn't like it so I took it out again.  I know it's annoying to reopen the serial monitor manually, but I find it surprising to have it reopen automatically.  I also don't want to have the serial monitor window open if the serial monitoring isn't active.  So I was left with making you manually reopen the monitor after the upload.

pleeeeeeeeeeeeeeeease put it back
you could always have a checkbox - re-open serial monitor
Logged

there are only 10 types of people
them that understands binary
and them that doesn't

Offline Offline
Full Member
***
Karma: 1
Posts: 200
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

pleeeeeeeeeeeeeeeease put it back
you could always have a checkbox - re-open serial monitor
Agreed.

The selection could be included within the Preferences.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 41
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd like to see it remain open if I close a sketch and open another, but I wouldn't want it to open automatically when I started the IDE simply because it was open when I last closed the IDE.

Or possibly implement some sketch metadata, such that when a sketch is opened the IDE reverts to the state it was in when a sketch was last closed? That would be nice, and would mean that if the sketch does't use serial communication the monitor will remain closed. Best of both worlds, IMHO.
Logged

Copenhagen, Denmark
Offline Offline
Edison Member
*
Karma: 33
Posts: 1225
Have you testrun your INO file today?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just One More Button - One that sits between the Upload and Open Serial Monitor buttons.

Yeah! It does both things! Does the upload and opens the serial monitor.

That is simple, allows for all possibilities (upload only, toggle serial monitor, reupload without monitor, reupload with monitor etc and so forth).

But yes, it is another button. Keeping the top button menu simple is an important design aspect, too.
Logged

0
Offline Offline
Shannon Member
****
Karma: 215
Posts: 12489
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Closing / opening the serial window should be independent of whether there's a current USB serial connection.  There should be a visual indication of whether the window is currently connected to the Arduino which greys out when uploading or when the board is unplugged.

Its so annoying to lose the window and its state just because I've unplugged the board to change things!!

It might be nice to have visual indication of the boundary between individual serial 'sessions' in the window too.
Logged

[ I won't respond to messages, use the forum please ]

0
Offline Offline
God Member
*****
Karma: 2
Posts: 596
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The detail I find annoying about the serial monitor window is how it interacts with the upload process.
While the upload is in progress, the "open serial monitor" button is a no-op.
You have to watch the status bar to detect when the upload is done, then re-open the serial monitor window. That, in turn, will reset the (already) running program on the board, causing more delay. Some of the first bytes sent by arduino are also lost. So to catch them you have to hit the reset button on the board while the serial monitor window is open.

I'd like to have an option to tell the arduino IDE to open the serial monitor right after the upload and avoid the double-reset of the board.

My vote goes to a second "open serial monitor" button, near the current one, which would cause the serial monitor to open automatically after the upload. As an alternative, a togglable menu option could also work IMHO (something like Tools=> Open SM after upload).

My 2 cents...
Logged

Hamburg, Germany
Offline Offline
Full Member
***
Karma: 3
Posts: 192
Hello world!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


I find it surprising* to have it closed by an upload but I really don't think it would be surprising to restore the previous (pre-upload) state.

(* yeah, of course I know that it's actually not surprising from a technical point of view but I hope you get the point.)
Logged


NZ
Offline Offline
Sr. Member
****
Karma: 0
Posts: 390
Turtle in a hard shell
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I agree completely with Reply #9.
When you do an upload to the board, it closes the serial monitor, and in order to catch the first few bytes that may be sent on startup of the Arduino on the Serial Monitor, I have to reset the board while the serial monitor is open. Its quite annoying.

Whether the serial monitor stays open during the upload process, or reopens after it but before the arduino kicks into life, I dont mind - but I would really like to see the first few bytes sent from the serial port captured after an upload without having to manually reset the board again.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, here's the perfect solution (for me).

when the user loads or creates and compiles/uploads a new file, do not pop up the serial monitor after the completion of upload.

However if the user invokes the serial monitor, for that file, for that session, pop the monitor up after all compile/upload events.

Thanks,

DougM
Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Trying to add this to: http://arduino.cc/forum/index.php/topic,118440.0.html I ended allowing the user to "queue" the serial monitor opening if it clicks it while the upload is in progress. Forcing this always on is also a function thru "preferences.txt" but "click to schedule the opening of the monitor" for me is not annoying at all.
Logged

My website: http://ried.cl

0
Offline Offline
God Member
*****
Karma: 2
Posts: 596
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I like it smiley
Logged

Pages: [1] 2   Go Up
Jump to: