Port
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpPort |
| Module | cenpylib.CENPyOlpPort |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 4 |
Quick Start
# Boilerplate Example
port = ... # obtained from the runtime context
result = port.GetName()Method Index
| Method | Returns | Summary |
|---|---|---|
GetName | str | Get the internal port name. |
GetComment | str | Get the human readable port comment. |
GetValueType | int | Get the value type of the resource. |
GetPortDirection | int | Get the direction of the port. |
Query Methods
GetName
def GetName() -> strGet the internal port name.
Returns: str — The port name.
GetComment
def GetComment() -> strGet the human readable port comment. This is the externally visible name that can be seen and customized by the user.
Returns: str — The comment of the port.
GetValueType
def GetValueType() -> intGet the value type of the resource.
Returns: int — The value type of the port as unsigned integer.
GetPortDirection
def GetPortDirection() -> intGet the direction of the port.
Returns: int — The direction of the port as unsigned integer.
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?