<?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>
        Alec,&lt;br&gt;&lt;br&gt;You can use the Sleep(milliseconds) function that was added to the VBScript module BUT this is most likely NOT want you want to do. When you use this command you will put all of RR to Sleep for that amount of time ... in other words the video will stop.&lt;br&gt;&lt;br&gt;Instead you should add a form of state to your VBScript module to delay changing of the value until needed. Following is a quick example of how to do that delay.&lt;br&gt;&lt;br&gt;state = GetVariable(&quot;state&quot;)&lt;br&gt;&lt;br&gt;if state = 0 then&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;servo_motor&quot;, 255&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;state&quot;, 1&lt;br&gt;&amp;nbsp;&amp;nbsp;SetTimedVariable &quot;state&quot;, 2, 5000&lt;br&gt;elseif state = 2 then&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;servo_motor&quot;, 128&lt;br&gt;end if&lt;br&gt;&lt;br&gt;which will set the servo to 255, wait for 5 seconds and then set it back to 128 while still executing any other module within RR. This type of programming is known as a state machine.&lt;br&gt;&lt;br&gt;Note that state 1 is a do nothing step with the timed variable function changing back to a valid step 2 after 5000 milliseconds.&lt;br&gt;&lt;br&gt;Hope this makes sense.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3893</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3893</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Pause Function in VbScript</title>
        <description>
        Hey I am wondering if anyone knows how to pause using VbScript? I need to pause between servo movements using Sparkfun Arduino and Vbscript module.. I have tried some of the &quot; WScript.Sleep(intTime)&amp;nbsp;&amp;nbsp;&quot; function with no success, I don&apos;t think that the correct library is included? Is there any way to add this library or anyone know another way to include a pause? THanks.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3893</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3893</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
