Editing Smart Terminal GUI

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
= Overview =
 
= Overview =
The GUI or graphical user interface is the key to using the Smart Terminal ( the main page for the application is at: '''[[Python Smart Terminal]]''' and it has a category page at '''[[https://opencircuits.com/index.php?title=Category:SmartTerminal Category:SmartTerminal]]''' ).  In addition, but not discussed here, you can use the command line and the parameter file ( see:''' [[Smart Terminal Parameter Examples]]''' ).  This page is the documentation for the GUI.
+
The GUI or graphical user interface is the key to using the SmartTerminal.  In addition, but not discussed here, you can use the command line and the parameter file ( see: [[Smart Terminal Parameter Examples]] ).  This page is the documentation for the GUI.
  
 
= Screen Shot =
 
= Screen Shot =
  
This is what it looks like, details on each part below.  Still working on it, mostly to clean up the details. Note that this screen shot was taken during a debugging session and has some artifacts that will soon disappear, then a new screen shot will be placed here.
+
This is what it looks like, details on each part below.  Still working on it, mostly to clean up the details. Note that this screen shot was taken during a debugging session and has a bunch of artifacts that will soon disappear, then a new screen shot will be placed here.
  
  
Line 46: Line 46:
 
**<DB:xxx>      Database name
 
**<DB:xxx>      Database name
 
**<User:xxx>    Database user
 
**<User:xxx>    Database user
 +
 +
== First Button ==
 +
Next row:
 +
*<auto Button>
  
 
== Next Button Row ==
 
== Next Button Row ==
Line 52: Line 56:
 
* <Close Button> Close the communications port. No error if it is not open. Parameters show to the right, port status to right of button.
 
* <Close Button> Close the communications port. No error if it is not open. Parameters show to the right, port status to right of button.
 
* <Parameters to right of open and close buttons> Parameters from the parameter file(s), not editable on the GUI.
 
* <Parameters to right of open and close buttons> Parameters from the parameter file(s), not editable on the GUI.
* <Edit Log> opens an editor on the system ( needs to be configured in parameter file self.ex_editor = <name of executable or link> ) to view the python logging file for the app.
+
** <Edit Log> opens an editor on the system ( needs to be configured in parameter file self.ex_editor = <name of executable or link> ) to view the python logging file for the app.
* <Edit Parms > opens an editor on the system to edit the parameters.py file. See <Edit Log>.
+
** <Edit Parms > opens an editor on the system to edit the parameters.py file. See <Edit Log>.
* <Edit Parms X > opens an editor on the system to edit the extended parameter file if used on the command line. Not visible if no extended parameter file used. See <Edit Log>.
+
** <Edit Parms X > opens an editor on the system to edit the extended parameter file if used on the command line. Not visible if no extended parameter file used. See <Edit Log>.
* <SendParms> takes the contents of the send buttons and displays them in the receive area in the same format as required by the parameter file to reproduce the current configuration.
+
** <SendParms>
* <Ports> List the available ports in the receive area, working under windows until upgraded from 7 to 10, Linux ??
+
** <Ports> List available ports in the receive area, working under windows until upgraded from 7 to 10, Linux ??
* <Restart> Restarts the application ( usually fast ) using new values ( if any ) in the parameter file(s).
+
** <Restart> Restarts the application ( usually fast ) using new values ( if any ) in the parameter files.
* <Test> May not be present, for debugging, not generally useful or predictable, you would need to look through the code to see what it might be doing, press at your own risk.
+
** <Test> May not be present, for debugging, not generally useful or predictable, you would need to look through the code to see what it might be doing, press at your own risk.
  
 
== Buttons from Extensions ==
 
== Buttons from Extensions ==
 
If you have extended the terminal with an xxx_processing module, its GUI will appear here.  In this screen shot we see the GUI from the greenhouse extension ( note this is the mode in the window title ).  The actual labels are something still in flux, the functions are more fixed.
 
If you have extended the terminal with an xxx_processing module, its GUI will appear here.  In this screen shot we see the GUI from the greenhouse extension ( note this is the mode in the window title ).  The actual labels are something still in flux, the functions are more fixed.
  
** <Helper: Find and Monitor Arduino > starts auto run mode of terminal if so configured, this is still alpha and in any case will not have much success unless connected to a compatible serial device ( typically an Arduino ).
+
** <Helper: > starts auto run mode of terminal if so configured, this is still alpha and in any case will not have much success unless connected to a compatible serial device ( typically an Arduino ).
 
** <Helper: Find Arduino > T
 
** <Helper: Find Arduino > T
** <Interrupt Helper> stops auto run mode of terminal. Also still alpha, but generally harmless.
+
** <Interrupt Helpe> stops auto run mode of terminal. Also still alpha, but generally harmless.
  
 
== Send Area ==
 
== Send Area ==
  
 
*<Send Buttons> and <Text Entry> to right of each button. Each button sends the text to the right of the button, text is not erased after transmission.  Lots of parameters in the parameter file determine the details:
 
*<Send Buttons> and <Text Entry> to right of each button. Each button sends the text to the right of the button, text is not erased after transmission.  Lots of parameters in the parameter file determine the details:
** Number of send buttons
+
** Number of send buttons
 
** Text of each button ( default Send )
 
** Text of each button ( default Send )
 
** Text of the data to be send may or may not be protected based on parameter settings
 
** Text of the data to be send may or may not be protected based on parameter settings
Line 77: Line 81:
 
== Receive Area ==
 
== Receive Area ==
  
* <Column of Buttons and Text Panel>  The Panel shows terminal activity and some other info ( like Ports above ) the buttons act on this data in some way.  You can type in the text panel, to no particular effect, perhaps could use this to make notes.  Text is partly erased from time to time depending on settings in parameter file(s) The data in the recieve area falls into three classes, each with a unique prefix ( which is set in the parameters.py file ):
+
* <Column of Buttons and Text Panel>  The Panel shows terminal activity and some other info ( like Ports above ) the buttons act on this data in some way.  You can type in the text panel, to no particular effect, perhaps could use this to make notes.  Text is partly erased from time to time depending on settings in parameter file(s)
** Sent:        ">>> "
 
** Received:    "<<< "
 
** Information:     "!!! "
 
 
 
 
 
* Other controls:
 
 
** <Clear> Clears text panel.
 
** <Clear> Clears text panel.
** <Copy Sel> Copies all selected text.  Use the mouse to select text.
+
** <Copy Sel> Copies all selected text.
 
** <Copy All> Copies all text selected or not.
 
** <Copy All> Copies all text selected or not.
** <A Scroll> When checked text panel automatically scrolls to the most recent data, else not.  This can help you read earlier material when still receiving new data.
+
** <A Scroll> When checked text panel automatically scrolls to the most recent data, else not.
  
[[Category:SmartTerminal]] [[Category:Arduino/RaspberryPi]][[category:Python]] [[category:Python Projects]]
+
[[Category:SmartTerminal]] [[Category:Arduino/RaspberryPi]]

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)