iNTERFACEWARE Products Manual > Learning Center > Tutorials and Sample Scenarios > Email Notification Rule Examples > Detecting When an Idle Channel Restarts > Creating the Python Module |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
One useful feature of Chameleon is that the Python scripts that you write for your VMD files can reference external Python modules. This enables you to use the same code in multiple VMD files and Iguana channels without having to create multiple copies of it. For example, the following Python module provides the functions you will need to detect when an idle channel has restarted:
To use this Python code, you must:
In the following section, you will create a VMD file that refers to this Python code. To get a copy of the Python module, follow this link: inactivechannel.py.
|