Controller — Lifecycle
Back to Controller.
CreateProgram
def CreateProgram(name: str='', initStateName: str='', isMain: bool=True) -> CENPyOlpProgramCreates a new controller program and sets it active.
Parameters:
| Name | Type | Description |
|---|---|---|
name | str | Name of the program to create. (default: '') |
initStateName | str | Name of the initial state to be used or to be created. (default: '') |
isMain | bool | If True, a Main program will be created, otherwise a sub-program. (default: True) |
Returns: CENPyOlpProgram — Newly created program.
Was this page helpful?