Python scripting OLP - Objects

CENPyOlpPort

 

Methods

 

GetName(): string

 

 

o

return

The port name

 

Returns the internal port name.

 

[Example]

portName = olpPort.GetName()

 


 

GetComment(): string

 

 

o

return

The comment of the port

 

Returns the human readable port comment. This is the externally visible name that can be seen and customized by the user.

 

[Example]

portComment = olpPort.GetComment()

 


 

GetValueType(): RSimSignalValueType

 

o

return

The value type of the port as unsigned integer

 

Returns the value type of the resource as unsigned integer.

 

[Example]

portValueType = olpPort.GetValueType()

 


 

GetPortDirection(): PortDirection

 

o

return

The direction of the port as unsigned integer

 

Returns the direction of the port as unsigned integer.

 

[Example]

portDirection = olpPort.GetPortDirection()

 


 


Previous
Page précédente
Chapter
Page principale du chapitre
Next
Page suivante