Download Controller
Quick Facts
| Property | Value |
|---|---|
| Class | DULPythonController |
| Module | cenpydownload.DULPythonController |
| Package | cenpydownload |
| Release | R2025.2.4 |
| Methods | 8 |
| Inherits from | OlpCorePythonController |
| Subclasses | Upload Controller |
Inheritance
Quick Start
# Boilerplate Example
downloadController = ... # obtained from the runtime context
result = downloadController.GetActiveProgram()Method Index
| Method | Returns | Summary |
|---|---|---|
GetActiveProgram | DULPythonProgram | Gets the active program on this controller |
GetOutputDirectory | str | Gets the controller’s output directory for downloaded program files |
GetTemporaryOutputDirectory | str | Gets the controller’s temporary output directory for downloaded program files |
GetConnectedJoints | list | Gets all connected joints. |
GetToolProfiles | list | Gets all tool profiles |
GetBaseProfiles | list | Gets all base profiles |
GetAccuracyProfiles | list | Gets all accuracy profiles |
GetMotionProfiles | list | Gets all motion profiles |
Query Methods
GetActiveProgram
def GetActiveProgram() -> DULPythonProgramGets the active program on this controller
Returns: DULPythonProgram — returns the active program as IDULProgram
GetOutputDirectory
def GetOutputDirectory() -> strGets the controller’s output directory for downloaded program files
Returns: str — returns the path to the controller’s output directory
GetTemporaryOutputDirectory
def GetTemporaryOutputDirectory() -> strGets the controller’s temporary output directory for downloaded program files
Returns: str — returns the path to the controller’s temporary output directory
GetConnectedJoints
def GetConnectedJoints() -> listGets all connected joints. Mains and externals are not separated
Returns: list — returns a list of all connected joints
GetToolProfiles
def GetToolProfiles() -> listGets all tool profiles
Returns: list — returns a list containing all tool profiles
GetBaseProfiles
def GetBaseProfiles() -> listGets all base profiles
Returns: list — returns a list containing all base profiles
GetAccuracyProfiles
def GetAccuracyProfiles() -> listGets all accuracy profiles
Returns: list — returns a list containing all accuracy profiles
GetMotionProfiles
def GetMotionProfiles() -> listGets all motion profiles
Returns: list — returns a list containing all motion profiles
Related Types
Version Notes
This class is documented as of release R2025.2.4.