Schedule operations
Run Python Script
This page describes Revolution release 4.0.0.
Revo Ready
Hi, I'm Revo
Ask me anything about Revolution. My answers link the pages they come from.
Runs a Python script on the schedule controller.
Run Python Script
| Parameter | Type | Description |
|---|---|---|
| Python Script ✱ | string | The saved Python script to run, chosen by its id. |
| Simulation Duration | TimeSpan | How long the step takes when a schedule is planned. The Python is not run while planning. |
| Drives a Device | bool | On means this step's Python controls an instrument: choose it as the Device, and a plan shows it busy for the step. Off means the step uses no device. |
| Device | string | The device the Python drives. A plan shows it busy for the step's simulation duration, and the Python can read its name. |
| Notes | string | A free-text note kept with this step. It changes nothing at run time. Shown on the step in the schedule editor and in the event log. Use it to record why the step is here. |
| Enabled | bool | Whether this step runs. Clearing it skips the step when the schedule runs. The step stays in the schedule, in place and still configured. |
✱ Mandatory parameter