<?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>
        &lt;br&gt;Thanks. &lt;br&gt;Gee, odd. I set it up tonight and it works. mmm, looks like when I got around to the right syntax, I was sending to the COM port with my controller on, and not the echo port. It was a very long day........&lt;br&gt;&lt;br&gt;More questions to come... but I&apos;ll send the file. Didn&apos;t think of that :-)&lt;br&gt;&lt;br&gt;Roland        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5092</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5092</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Works for me. Using the attached robofile and the following Arduino script:&lt;br&gt;&lt;br&gt;void setup()&lt;br&gt;{&lt;br&gt;&amp;nbsp;&amp;nbsp;Serial.begin(9600);&lt;br&gt;}&lt;br&gt;&lt;br&gt;unsigned char tst[2];&lt;br&gt;&lt;br&gt;void loop()&lt;br&gt;{&lt;br&gt;&amp;nbsp;&amp;nbsp;while (Serial.available()&amp;gt;0)&lt;br&gt;&amp;nbsp;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tst[0] = Serial.read();&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Serial.write(tst, 1);&lt;br&gt;&amp;nbsp;&amp;nbsp;}&lt;br&gt;}&lt;br&gt;&lt;br&gt;I&apos;d recommend checking that your robofile actually has keypad_cmd set before the Serial module and that something else is not unsetting it.&lt;br&gt;&lt;br&gt;While screenshots are nice, perhaps you could instead include your robofile.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5092</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5092</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        &lt;br&gt;Hi Steven&lt;br&gt;&lt;br&gt;Sorry, had to get some shuteye. No. I tried that already, see pic. I was hoping you could fire up a screen and confirm.&lt;br&gt;&lt;br&gt;Roland&lt;p&gt;&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/26465_1.jpg&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/26465_thumb_1.jpg&quot;&gt;&lt;/a&gt;&amp;nbsp;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5092</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5092</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Roland,&lt;br&gt;&lt;br&gt;If your Send Sequence you would insert a single backslash just before the [keypad_cmd]&lt;br&gt;&lt;br&gt;The single backslash tells the system to get the value of the variable and send a single 1 byte number. In your example that would mean the binary value 82 would be sent ... or interpreted as a character the letter R.&lt;br&gt;&lt;br&gt;You should be able to type that into the Send Now and see the &apos;R&apos; (assuming the radio button is set to Ascii) be returned.&lt;br&gt;&lt;br&gt;Can you give it a quick try and see what happens?&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5092</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5092</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        &lt;br&gt;Hi Steven&lt;br&gt;&lt;br&gt;Double lines \\\\ came through in the email, so I don&apos;t know if that is confusing things. This is not about loops, or nested loops, only about how to get upper ASCII values out the serial port.&lt;br&gt;&lt;br&gt;In the serial port window, the variable to send is, say &quot;ket&quot;&lt;br&gt;&lt;br&gt;If I go the &apos;Send Now&apos; window, and type R, and send it out. The cable is a loop back. I get R back. So far so good. But I can also type &apos;backslash&apos;82, and the return character is R. I&apos;m not going to use the backslash line as the email somehow doubles it up.&lt;br&gt;If I use, as you say;&lt;br&gt;ket = 82&lt;br&gt;SetVariable &quot;ket&quot;, ket&lt;br&gt;SetVariable &quot;messsage&quot;, GetVariable(&quot;ket&quot;)&lt;br&gt;&lt;br&gt;then it send out the digits 82, and not R&lt;br&gt;&lt;br&gt;Here we&apos;re just uring R as an example, but I want to send ASCII 192, a single byte, out the port from a VB script. It will then echo back, since it&apos;s non-printable in the window as &apos;backslash&apos;192.&lt;br&gt;&lt;br&gt;Please could you tell me what I should type, as indicated by the attached pic, in the script and the serial box. I&apos;ve tried all the combinations I can think of.&lt;br&gt;&lt;br&gt;Help appreciated.&lt;br&gt;Roland&lt;br&gt;&lt;p&gt;&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/26463_1.jpg&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/26463_thumb_1.jpg&quot;&gt;&lt;/a&gt;&amp;nbsp;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5092</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5092</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Roland,&lt;br&gt;&lt;br&gt;The variable is only evaluated once so a nested command will not work. So when you put&lt;br&gt;&lt;br&gt;[send_cmd]&lt;br&gt;&lt;br&gt;and its contents are \\[position] then the variable will exand to just \\[position] but not evaluate its content. Its a common issue in programming, you only eval the contents once. What you are missing is that you see to specify&lt;br&gt;&lt;br&gt;\\[send_cmd]&lt;br&gt;&lt;br&gt;in the serial module and then in VB or whatever&lt;br&gt;&lt;br&gt;SetVariable &quot;send_cmd&quot;, GetVariable(&quot;position&quot;)&lt;br&gt;&lt;br&gt;which takes the content of position and assigns it to send_cmd. What you are doing is assigning the value &quot;position&quot; to the variable send_cmd which is why you are confused.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5092</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5092</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>sending extended ascii in variable</title>
        <description>
        &lt;br&gt;If I have a variable, say, position = 82&lt;br&gt;&lt;br&gt;How Do I get the value 82 to send out an &quot;R&quot; ? I want to send out the single byte, as &apos;position&apos; will later actually be 160 - 223, or hA0 to hDF in the program&lt;br&gt;&lt;br&gt;so in the &apos;Send now&apos; serial window on a loop-back, I type \\82 and get;&lt;br&gt;send&amp;nbsp;&amp;nbsp;\\82&lt;br&gt;recv&amp;nbsp;&amp;nbsp; R&lt;br&gt;&lt;br&gt;good. Exactly what I want.&lt;br&gt;&lt;br&gt;But if I set my variable with the Set Variable function&lt;br&gt;send_cmd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[position]&lt;br&gt;&lt;br&gt;I get&lt;br&gt;send \\82&lt;br&gt;recv&amp;nbsp;&amp;nbsp;\\82&lt;br&gt;&lt;br&gt;or if I do&lt;br&gt;send_cmd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;\\[position]&lt;br&gt;&lt;br&gt;I get&lt;br&gt;send \\[position]&lt;br&gt;recv&amp;nbsp;&amp;nbsp;\\[position]&lt;br&gt;&lt;br&gt;What is the right syntax?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5092</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5092</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
