<< RTObject_getCurrentState RTObject RTObject_getPortNameList >>

RTCscilab >> NamingService > RTObject > RTObject_getPort

RTObject_getPort

Get Port Handle of RT object

Calling Sequence

port=RTObject_getPort(rto, name)

Parameters

rto

Handle of RTObject.

name

string. Name of Port. Do not include RTC's instance name. usually "in0" is OK. (not "ConsoleIn.in0")

port

Handle of port

Description

This value is used as the reference id of RT-object on the CorbaNaming service.

Examples

cn = CorbaNaming_create("localhost:2809");
rtobject = CorbaNaming_resolve(cn, "ysuga_pc.host_cxt/ConsoleIn0.rtc");
port = RTObject_getPort(rtobject, "out");

See Also

Authors

<< RTObject_getCurrentState RTObject RTObject_getPortNameList >>