Hi OpenRTM ML:<br><br>I installed openrtm-python and related package to get rtcshell running. <br>rtls, rtact, rtdel, rtcwd all are working fine. <br>But rtprint and rtinject don't work for me. <br><br>I got some error print out. If anyone knows what's happening<br>
please let me know. <br><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);">(error message from rtprint)</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> C:\Documents and Settings\xxxx>rtprint ConsoleIn0.rtc:out</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> comp_args: rtprint_listener0</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> c:\python26\scripts\rtprint.py: Could not find listener component.</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> Exception in thread Thread-2 (most likely raised during interpreter shutdown):Ex</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> ception in thread Thread-3 (most likely raised during interpreter shutdown):</span><br style="color: rgb(51, 102, 255);">
<br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> Traceback (most recent call last):Traceback (most recent call last):</span><br style="color: rgb(51, 102, 255);"><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> File "C:\Python26\lib\threading.py", line 527, in __bootstrap_inner File "C:\</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> Python26\lib\threading.py", line 527, in __bootstrap_inner</span><br style="color: rgb(51, 102, 255);">
<br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> File "C:\Python26\lib\threading.py", line 479, in run File "C:\Python26\lib\t</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> hreading.py", line 479, in run</span><br style="color: rgb(51, 102, 255);"><br>My rtinject works but it injects strange data<br>I inject a number of 3 but <span style="color: rgb(51, 102, 255);">1701661012 </span>was received.<span style="color: rgb(51, 102, 255);"></span><br>
<br style="color: rgb(51, 102, 255);"><div style="margin-left: 40px;"><span style="color: rgb(51, 102, 255);">C:\Documents and Settings\xxxxx>rtinject /SPC105/SPC105.host_cxt/ConsoleOut0.rtc:in 'RTC.TimedLong({time},3)'</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> </span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> Screen Output </span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> ------------------------------</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> Connector Listener: ON_CONNECT</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> Profile::name: ConsoleOut0.rtc.inject_conn</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> Profile::id: ConsoleOut0.rtc.temp</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> Profile::properties: </span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> - dataflow_type: push</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> - interface_type: corba_cdr</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> - subscription_type: flush</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> - data_type: <type 'str'></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> - serializer</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> - cdr</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> - endian: little,big</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> - provider: </span><br style="color: rgb(51, 102, 255);"><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> ------------------------------</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> ------------------------------</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> Data Listener: ON_RECEIVED</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> Profile::name: ConsoleOut0.rtc.inject_conn</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> Profile::id: ConsoleOut0.rtc.temp</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> Data: 1701661012</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> ------------------------------</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> ------------------------------Received: </span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> 1701661012Data Listener: </span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> ON_BUFFER_WRITETimeStamp: </span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> 58Profile::name: [s] ConsoleOut0.rtc.inject_conn776164434</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> [ns]Profile::id: </span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> ConsoleOut0.rtc.temp</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> Data: 1701661012</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> ------------------------------</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> ------------------------------</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> Connector Listener: ON_DISCONNECT</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> Profile::name: ConsoleOut0.rtc.inject_conn</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> Profile::id: ConsoleOut0.rtc.temp</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> Profile::properties: </span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> - dataflow_type: push</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> - interface_type: corba_cdr</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> - subscription_type: flush</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> - data_type: <type 'str'></span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> - serializer</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> - cdr</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> - endian: little,big</span><br style="color: rgb(51, 102, 255);"><span style="color: rgb(51, 102, 255);"> - provider: </span><br>
</div>Thanks!<br>Tony<br style="color: rgb(102, 102, 102);"><br style="color: rgb(102, 102, 102);"><br>