Difference between revisions of "SmartTerminal Features"

From OpenCircuits
Jump to navigation Jump to search
Line 6: Line 6:
  
 
= Modify GUI from Parameters =
 
= Modify GUI from Parameters =
 +
 +
 +
= Access to Parameters and Log File =
 +
 +
The application must of course know what/where its parameter and log file are.  So it can also help you look at and edit the files.  For this to work you need an editing program installed on your computer.  For my windows computer this is Notepad++ ( "D:\apps\Notepad++\notepad++.exe" ).  Then in parameters you need to set the parameter something like this:  '''self.ex_editor = r"D:\apps\Notepad++\notepad++.exe'''".  Smart terminal will then open the appropriate files from the buttons on the GUI.   
 +
 +
 +
= A Second Thread =
 +
 +
When a GUI application does something that takes a fair amount of time ( several seconds or more ) the application can become unresponsive until that task is over.  For this reason the SmartTermainl runs a second thread for long running background tasks.
 +
 +
 +
  
  
 
[[Category:Arduino/RaspberryPi]] [[Category:SCIL]]
 
[[Category:Arduino/RaspberryPi]] [[Category:SCIL]]

Revision as of 09:37, 13 November 2017

General

Some of the features are fairly obvious from the GUI ( see Smart Terminal GUI ) some are a bit more hidden. In any case this page will document some of the features in more detail.

Appearance

Modify GUI from Parameters

Access to Parameters and Log File

The application must of course know what/where its parameter and log file are. So it can also help you look at and edit the files. For this to work you need an editing program installed on your computer. For my windows computer this is Notepad++ ( "D:\apps\Notepad++\notepad++.exe" ). Then in parameters you need to set the parameter something like this: self.ex_editor = r"D:\apps\Notepad++\notepad++.exe". Smart terminal will then open the appropriate files from the buttons on the GUI.


A Second Thread

When a GUI application does something that takes a fair amount of time ( several seconds or more ) the application can become unresponsive until that task is over. For this reason the SmartTermainl runs a second thread for long running background tasks.