<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        No...&amp;nbsp;&amp;nbsp;my mistake.... it worked like a charm... thank you very much        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5499</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5499</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        didn&apos;t work at all :(         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5499</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5499</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Moods,&lt;br&gt;&lt;br&gt;Its a question of formatting. When you specify \255 in the serial interface it knows that because you are entering in text that the \ means take the next number (255) and convert that into a single byte binary number. Thus only one 8 bit byte gets sent.&lt;br&gt;&lt;br&gt;In the case of the variable, YOU are required to make that exact data. NO interpretation on the variable is done and the data is sent as is to the device. So, while you almost had it, try&lt;br&gt;&lt;br&gt;SetVariable &quot;key_to_sendy&quot;, Chr(255)+Chr(1)+Chr(0)+Chr(16)+Chr(0)+Chr(5)+Chr(22)&lt;br&gt;&lt;br&gt;while will only send 7 binary bytes. The &apos;/&apos; is not needed since you are specifying data as-is to send without having the serial module interpreting the data inside the variable.&lt;br&gt;&lt;br&gt;See if that works better.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5499</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5499</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>serial communication code</title>
        <description>
        I am trying to control a Pelco D protocol PTZ camera using rs-232 to 485 convertor and the serial module found in roborealm.&lt;br&gt;&lt;br&gt;After connecting successfully to the COM / PORT / etc.....&lt;br&gt;&lt;br&gt;if i write the Ascii code string for example&quot;\255\1\0\16\0\5\22&quot; which is turn left in the console of serial module and press send the PTZ with turn successfully.&lt;br&gt;&lt;br&gt;but if i to call the Ascii code string from a variable set in VB scripts, it shoes that the console has took the value but the PTZ wont move, WEIRD.&lt;br&gt;CODES: &lt;br&gt;&lt;br&gt;Tried 1:&lt;br&gt;if cogy &amp;lt;= (imageh / 2) - 10&amp;nbsp;&amp;nbsp;then &lt;br&gt;SetVariable &quot;key_to_sendy&quot;, Chr(92)+&quot;255&quot;+Chr(92)+&quot;1&quot;+Chr(92)+&quot;0&quot;+Chr(92)+&quot;16&quot;+Chr(92)+&quot;0&quot;+Chr(92)+&quot;5&quot;+Chr(92)+&quot;22&quot;&lt;br&gt; &lt;br&gt;Tried 2:&lt;br&gt;if cogy &amp;lt;= (imageh / 2) - 10&amp;nbsp;&amp;nbsp;then &lt;br&gt;SetVariable &quot;key_to_sendy&quot;, &quot;255/1/0/16/0/5/22&quot;&lt;br&gt;&lt;br&gt;&lt;br&gt;both of these returns same value as the one i enter it manual in the console but only difference from manual input is that the PTZ doesn&apos;t move at all.&lt;br&gt;&lt;br&gt;Attached pictures for more INFO.&lt;p&gt;&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/27875_1.jpg&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/27875_thumb_1.jpg&quot;&gt;&lt;/a&gt;&amp;nbsp;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/27875_2.jpg&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/27875_thumb_2.jpg&quot;&gt;&lt;/a&gt;&amp;nbsp;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5499</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5499</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
