<?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>
        AK,&lt;br&gt;&lt;br&gt;You can&apos;t really sleep in the VBScript module as that would stop processing. As the pipeline is essentially an infinite loop (i.e. grab an image, process it, then grab another, etc) adding a sleep would cease all execution which is usually not desired. So instead you can use the SetTimedVariable to cause the variable to change value after X number of milliseconds. Your script would look something like:&lt;br&gt;&lt;br&gt;period = 2000&lt;br&gt;&lt;br&gt;step = GetVariable(&quot;step&quot;)&lt;br&gt;if step = 0 then&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;data&quot;, 2&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable &quot;step&quot;, 1&lt;br&gt;&amp;nbsp;&amp;nbsp;SetTimedVariable &quot;step&quot;, 2, period&lt;br&gt;else&lt;br&gt; if step = 2 then&lt;br&gt;&amp;nbsp;&amp;nbsp; SetVariable &quot;data&quot;, 4&lt;br&gt;&amp;nbsp;&amp;nbsp; SetVariable &quot;step&quot;, 3&lt;br&gt;&amp;nbsp;&amp;nbsp; SetTimedVariable &quot;step&quot;, 0, period&lt;br&gt; end if&lt;br&gt;end if&lt;br&gt;&lt;br&gt;which would case data to oscillate between 2 and 4 with a period of 2000 seconds. Note that usage of step and setting it to 1 and 3 which are dummy steps where nothing is done.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2080</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2080</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>some sort of PWM</title>
        <description>
        hey, i donot know if this is the right place to ask this but i am stuck at a problem.&lt;br&gt;&amp;nbsp;&amp;nbsp;i am sending a value out through your PARALLEL port module.&lt;br&gt;&amp;nbsp;&amp;nbsp;and i wish to implement some sort of PWM(pulse width modulation).&lt;br&gt; very siply i wish to set a value &lt;br&gt;&amp;nbsp;&amp;nbsp;&lt;br&gt; SetVariable &quot;data&quot;, 2&lt;br&gt;&amp;nbsp;&amp;nbsp;sleep for a while&lt;br&gt;then&lt;br&gt;&lt;br&gt; &apos; SetVariable &quot;data&quot;, 4&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;in vb script followed by a Parallel port modulue.. but am unable to implement the sleep function&lt;br&gt; please hel me out..        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2080</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2080</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
