Controller — Execution & Actions
Back to Controller.
DownloadProgramByName
def DownloadProgramByName(programName: str) -> intDownloads the program specified by its name from the current controller.
Parameters:
| Name | Type | Description |
|---|---|---|
programName | str | Name of the program to find and download, if it exists. |
Returns: int — ERR_NO_ERROR(0) if completed successful, error code otherwise.
CalculateTotalTimeForSequenceBalance
Since R2025.2.4
def CalculateTotalTimeForSequenceBalance() -> intMethod to calculate the total time for all components from active program of the current controller
Returns: int — int: Status code (0 = success, non-zero = error).
CalculateTimeForOperationInSequenceBalance
Since R2025.2.4
def CalculateTimeForOperationInSequenceBalance(operation: CENPyOlpOperation) -> intMethod to start calculate the time for given operation
Parameters:
| Name | Type | Description |
|---|---|---|
operation | CENPyOlpOperation | — |
Returns: int — int: Status code (0 = success, non-zero = error).
Was this page helpful?