Specify the Runtime Limit of a Python Program

The Python Program tab on the configuration form of a Python Program includes a Runtime Limit field.

Geo SCADA Expert can run a number of Python programs simultaneously (see Define the Program Limits on the Server). Use the Runtime Limit field to specify the maximum amount of time for which this particular Python program is to run. The default is 1M (one minute). Enter the required interval in the OPC Time Format. You can enter the value directly in the field, or use the Interval window (accessed via the field's browse button) to specify the required value. Specify 0 (zero) for an unlimited runtime.

If the program's run time exceeds this limit, the driver will stop that program's execution. If this happens, the program's State will change to 'Timed Out'. The State is one of the status attributes that you can view on the Status display of the Python program (see Status Attributes that are Specific to the Python Driver).