Editing GreenHouse Monitor Program

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 61: Line 61:
 
== Copy Some Code ==
 
== Copy Some Code ==
  
All the extensions that are written are in modules with names of the form xxx_processing.  Look at the file headers .... and pick one to copy.  If you run this copy it should start up without too much trouble.  But how do you get the code to execute? Say your module ( file ) is my_processing.py and the class name ( which you will probably change when you make the copy ) is MyProcessing.  You do not run your module, you run SmartTerminal.  The trick is to first make some changes to the parameter file.  What you need is to make sure that at the end of creating a Parameter class the final setting reflect something like:
+
All the expensions that are written are in modules with names of the form xxx_processing.  Look at the file headers .... and pick one to copy.  If you run this copy it should start up without too much trouble.  But how do you get the code to execute? Say your module ( file ) is my_processing.py and the class name ( which you will probably change when you make the copy ) is MyProcessing.  You do not run your module, you run SmartTerminal.  The trick is to first make some changes to the parameter file.  What you need is to make sure that at the end of creating a Parameter class the final setting reflect something like:
  
 
<pre>
 
<pre>

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)