<?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>
        Hi,&lt;br&gt;&lt;br&gt;Use the CreateTextFile to overwrite the file and then use the seconds(now)mod 10 to cause it to execute every 10 sec &lt;br&gt;&lt;br&gt;if Second(Now) mod 10 = 0 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Set fi = fso.CreateTextFile(&quot;c:\\\\testfile.txt&quot;, True)&lt;br&gt;else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set fi = fso.OpenTextFile(&quot;c:\\\\text.txt&quot;, 8, true)&lt;br&gt;end if        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2405</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2405</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Refreshing notepad</title>
        <description>
        Hello,&lt;br&gt;&lt;br&gt;I am storing the variables( cog and angle) in a seperate notepad using vb program. I need to refresh notepad(i.e delete all the values and again start to write the values) for every certain amount of time say 10 sec. &lt;br&gt;So after every 10 sec, I need to delete all the previous values and start storing new values.&lt;br&gt;&lt;br&gt;Any help regarding how to implement?&lt;br&gt;&lt;br&gt;Code for writing into notepad.&lt;br&gt;&lt;br&gt;Dim fi&lt;br&gt;&amp;nbsp;&amp;nbsp;Dim fso&lt;br&gt;&amp;nbsp;&amp;nbsp; Dim intVar&lt;br&gt;&amp;nbsp;&amp;nbsp;set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;set fi = fso.OpenTextFile(&quot;c:\\text.txt&quot;, 8, true)&lt;br&gt;&amp;nbsp;&amp;nbsp;intVar = 1&lt;br&gt;&amp;nbsp;&amp;nbsp;if err.number = 0 then&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; Append the cog coordinates to the file.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&apos; You can specify other variables here&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;intVar = intVar+1&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi.writeLine intVar &amp; &quot;.&quot; &amp; GetVariable(&quot;X_1&quot;) &amp; &quot;:&quot; &amp; GetVariable(&quot;Y_1&quot;) &amp; &quot;, &quot; &amp; GetVariable(&quot;X_2&quot;) &amp; &quot;:&quot; &amp; GetVariable(&quot;Y_2&quot;)&amp;nbsp;&amp;nbsp;&amp; &quot;,&quot; &amp; GetVariable(&quot;X_3&quot;) &amp;&quot;:&quot;&amp; GetVariable(&quot;Y_3&quot;) &amp; &quot;,&quot; &amp; GetVariable(&quot;X_4&quot;) &amp; &quot;:&quot; &amp; GetVariable(&quot;Y_4&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi.writeLine &quot;Angle_1:&quot; &amp;GetVariable(&quot;Angle_1&quot;) &amp;&quot;,&quot; &amp; &quot;Angle_2:&quot; &amp; GetVariable(&quot;Angle_2&quot;) &amp; &quot;,&quot; &amp; &quot;Angle_3:&quot; &amp;&amp;nbsp;&amp;nbsp;GetVariable(&quot;Angle_3&quot;) &amp; &quot;,&quot; &amp; &quot;Angle_4:&quot; &amp;&amp;nbsp;&amp;nbsp;GetVariable(&quot;Angle_4&quot;)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fi.close&lt;br&gt;&amp;nbsp;&amp;nbsp;end if&lt;br&gt;&amp;nbsp;&amp;nbsp;set fi = nothing&lt;br&gt;&amp;nbsp;&amp;nbsp;set fso = nothing&lt;br&gt;         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2405</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2405</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
