<?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>
        Paul,&lt;br&gt;&lt;br&gt;You would have to use a VBScript or other programming module to create the actual filename. Perhaps something like&lt;br&gt;&lt;br&gt;SetVariable &quot;filename&quot;,&amp;nbsp;&amp;nbsp;&quot;image_&quot; &amp; GetVariable(&quot;IMAGE_COUNT&quot;) &amp; &quot;_&quot; &amp; Replace(FormatDateTime(Date(),2), &quot;/&quot;, &quot;_&quot;) &amp; &quot;.jpg&quot;&lt;br&gt;&lt;br&gt;and then use a Write_Image module with&lt;br&gt;&lt;br&gt;[filename] specified as the filename (with the [] around the word).&lt;br&gt;&lt;br&gt;Then use the Write_Text module to generate the log file as you have specified above.&lt;br&gt;&lt;br&gt;Note that all of these should be included only if failed ... you can use the IF_statement module to eliminate Pass code from executing these next 3 modules.&lt;br&gt;&lt;br&gt;Note, the Write Text module was just released so you probably do not have that. You can use your original download link to get the latest version with that update.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3942</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3942</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Weld defect detection</title>
        <description>
        Steven, &lt;br&gt;&lt;br&gt;I&apos;m still experimenting with the issue to find the 2 points where the weld ends and calculate the distance between, and answer as &quot;PASS&quot; or &quot;FAIL&quot; welded part. The RIO background is completelly white, so now is easier to evaluate. &lt;br&gt;&lt;br&gt;Also my PLC is communicating with RoboRealm using the Serial module, and works fine. I&apos;m sending several strings to tell the result to the PLC, like &quot;pass&quot; or &quot;fail&quot; or &quot;part not present&quot;; and the PLC replies with &quot;part ready&quot;... (Please see my previous posts to get files or images needed).&lt;br&gt;&lt;br&gt;Now my question is how to create a log file of the &quot;FAIL&quot; tests with the image saved into disk. For example, the image name would be:&lt;br&gt;&lt;br&gt;image_[number]_[date].jpg&lt;br&gt;&lt;br&gt;And the log file would save all the info about the part in a text file:&lt;br&gt;&lt;br&gt;...&lt;br&gt;...&lt;br&gt;image_1_01172011.jpg&lt;br&gt;FAIL&lt;br&gt;[CALCULATE DISTANCE]&lt;br&gt;[time]&lt;br&gt;...&lt;br&gt;...&lt;br&gt;image_2_01172011.jpg&lt;br&gt;FAIL&lt;br&gt;[CALCULATE DISTANCE]&lt;br&gt;[time]&lt;br&gt;...&lt;br&gt;...&lt;br&gt;&lt;br&gt;&lt;br&gt;I would appreciate your help so much.&lt;br&gt;&lt;br&gt;Thank you!         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3942</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3942</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
