Skip to Content

Port

Quick Facts

PropertyValue
ClassCENPyOlpPort
Modulecenpylib.CENPyOlpPort
Packagecenpylib
ReleaseR2025.2.4
Methods4

Quick Start

# Boilerplate Example port = ... # obtained from the runtime context result = port.GetName()

Method Index

MethodReturnsSummary
GetNamestrGet the internal port name.
GetCommentstrGet the human readable port comment.
GetValueTypeintGet the value type of the resource.
GetPortDirectionintGet the direction of the port.

Query Methods

GetName

def GetName() -> str

Get the internal port name.

Returns: str — The port name.

GetComment

def GetComment() -> str

Get 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() -> int

Get the value type of the resource.

Returns: int — The value type of the port as unsigned integer.

GetPortDirection

def GetPortDirection() -> int

Get 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?