Search these docs, or ask Revo a question — answers link the pages they came from.
Run Python
Runs Python code written into the step, as one block in the run's Python host - like Run Python Script, but the code is saved with the schedule.
Run Python Runs Python code written into the step, as one block in the run's Python host - like Run Python Script, but the code is saved with the schedule.
| Parameter | Type | Description |
|---|---|---|
| Code ✱ | string | The Python code to run, saved with the schedule. |
| 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