<?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>
        John,&lt;br&gt;&lt;br&gt;Not directly from the VBScript ... what you do is setup the appropriate variables in VBScript and use them within the Serial module. (Think of separating logic and communication into different modules).&lt;br&gt;&lt;br&gt;So you would have a VBScript module with&lt;br&gt;&lt;br&gt;if GetVariable(&quot;COG_Y&quot;) &amp;gt; 100 then &lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;serial_cmd&quot;, &quot;SS&amp;lt;cr&amp;gt;&quot; &lt;br&gt;end if&lt;br&gt;&lt;br&gt;and then in the Serial module you would have&lt;br&gt;&lt;br&gt;[serial_cmd]&lt;br&gt;&lt;br&gt;as what gets sent to your serial device. Note the use of a variable to communicate between the VBscript and serial module. You CANNOT call the serial module directly ... you can only configure what is sent. Thus all things like baud, port, etc. are setup using the serial module interface instead of in code.&lt;br&gt;&lt;br&gt;See attached robofile as example (note we left out the actual tracking to keep things simple).&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4961</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4961</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>VBScript to Serial Port Communication</title>
        <description>
        Is there a way to be running a VBscript with an if statement, and in the if statement send a command through the serial port?&lt;br&gt;&lt;br&gt;Example&lt;br&gt;if cogy &amp;gt; 100 then&lt;br&gt;&apos;send command &quot;SS&amp;lt;cr&amp;gt;&quot; through the COM port&lt;br&gt;end if        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=4961</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=4961</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
