Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Clear Checkbox in Serial Monitor (Read 4613 times)
uChip
Junior Member
**
Offline


Posts: 22
Location: Washington, USA
Joined: Apr 22nd, 2013
Clear Checkbox in Serial Monitor
Apr 27th, 2013 at 6:53pm
Print Post  
The behavior of this checkbox is an action not a state.  It clears on transition from not checked to checked.  It therefore should be a button instead.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Clear Checkbox in Serial Monitor
Reply #1 - Apr 27th, 2013 at 6:59pm
Print Post  
I don't think I'm getting the point but here goes nothing  Undecided

Do you mean that clicking it clears the serial display? If so, that is optional.
  
Back to top
IP Logged
 
uChip
Junior Member
**
Offline


Posts: 22
Location: Washington, USA
Joined: Apr 22nd, 2013
Re: Clear Checkbox in Serial Monitor
Reply #2 - Apr 27th, 2013 at 7:43pm
Print Post  
Sorry, let me try to describe it better.

When I click the checkbox labeled Clear in the serial monitor it clears the screen however if new serial is received it is displayed as normal and is not cleared.  

Clicking the checkbox again has no apparent affect.

If the intent is to clear the serial monitor buffer and screen then a button labeled Clear would be a more appropriate control.

Given your response and that you have implemented it as a checkbox, there is probably another behavior that was not apparent to me.  I just saw it as the immediate action "clear the screen" which would be better served by a button than a checkbox.

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Clear Checkbox in Serial Monitor
Reply #3 - Apr 27th, 2013 at 7:57pm
Print Post  
Hi,

Sorry misread your first post and thought we were discussing the connect check box.

Yes you are right, once the "Clear" check box is enabled the screen will clear each time the serial connects. 

  
Back to top
IP Logged
 
uChip
Junior Member
**
Offline


Posts: 22
Location: Washington, USA
Joined: Apr 22nd, 2013
Re: Clear Checkbox in Serial Monitor
Reply #4 - Apr 27th, 2013 at 8:12pm
Print Post  
Ah.  Yes, I did notice that the serial monitor preserved the data between debug initiates.  Now I understand.  "Clear on Connect" might be a more descriptive label for the checkbox, but it's too long.  Thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint