<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Regression Testing with Cognex Insight Smart Cameras</title>
	<atom:link href="http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/feed/" rel="self" type="application/rss+xml" />
	<link>http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/</link>
	<description>Merging modern software development with electrons and metal</description>
	<lastBuildDate>Fri, 04 May 2012 20:02:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Tony</title>
		<link>http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/comment-page-1/#comment-3592</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Mon, 09 Mar 2009 20:26:20 +0000</pubDate>
		<guid isPermaLink="false">http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/#comment-3592</guid>
		<description>Leslie,
I did the regression testing back when Insight Explorer was at 2.70.  One of the cameras was, IIRC, limited to 2.70 and couldn&#039;t use newer versions.

The Record\Playback function sounds interesting.  However, to make it truly useful you have to sort the images into pass/fail bins (directories?), and then make sure that the results were recorded, so you could automatically see the performance (false positives, false negatives). 

I&#039;m sure this could be done.  One approach would be to use persistent counters to keep track of pass/fail results, but I would look at sending the results out over the network (with the image name if possible) so it would be easy to look at all the &quot;wrong&quot; results (fails that should pass &amp; vice versa).</description>
		<content:encoded><![CDATA[<p>Leslie,<br />
I did the regression testing back when Insight Explorer was at 2.70.  One of the cameras was, IIRC, limited to 2.70 and couldn&#8217;t use newer versions.</p>
<p>The Record\Playback function sounds interesting.  However, to make it truly useful you have to sort the images into pass/fail bins (directories?), and then make sure that the results were recorded, so you could automatically see the performance (false positives, false negatives). </p>
<p>I&#8217;m sure this could be done.  One approach would be to use persistent counters to keep track of pass/fail results, but I would look at sending the results out over the network (with the image name if possible) so it would be easy to look at all the &#8220;wrong&#8221; results (fails that should pass &#038; vice versa).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leslie</title>
		<link>http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/comment-page-1/#comment-3576</link>
		<dc:creator>Leslie</dc:creator>
		<pubDate>Sat, 07 Mar 2009 10:14:36 +0000</pubDate>
		<guid isPermaLink="false">http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/#comment-3576</guid>
		<description>Hi,

Interesting and very relevant point re: regression testing.  Definately something we all should do but often forget when in the thick of it on the factory floor sometimes.

However, if you use the latest version of Cognex InSight Explorer (approx. ver. 4.2 as of March 2009), you&#039;ll find that the explorer GUI has all the functions necesary for full regression testing.  Using the Record\Playback function, you can automatically load and inspect a sample set of images that were previously saved from actual production samples.  Then, either with camera connected or simply using the software emulator, you can inspect the images and perform all the usual vision functions.  It&#039;s a really handy system for regression testing and general application development.

Leslie</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Interesting and very relevant point re: regression testing.  Definately something we all should do but often forget when in the thick of it on the factory floor sometimes.</p>
<p>However, if you use the latest version of Cognex InSight Explorer (approx. ver. 4.2 as of March 2009), you&#8217;ll find that the explorer GUI has all the functions necesary for full regression testing.  Using the Record\Playback function, you can automatically load and inspect a sample set of images that were previously saved from actual production samples.  Then, either with camera connected or simply using the software emulator, you can inspect the images and perform all the usual vision functions.  It&#8217;s a really handy system for regression testing and general application development.</p>
<p>Leslie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/comment-page-1/#comment-73</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 21 Feb 2008 21:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/#comment-73</guid>
		<description>I should note that Brideshead isn&#039;t my favorite Waugh novel - if I had to choose, I&#039;d probably pick Vile Bodies, but it&#039;d be a hard choice.

--Tony</description>
		<content:encoded><![CDATA[<p>I should note that Brideshead isn&#8217;t my favorite Waugh novel &#8211; if I had to choose, I&#8217;d probably pick Vile Bodies, but it&#8217;d be a hard choice.</p>
<p>&#8211;Tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/comment-page-1/#comment-72</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 21 Feb 2008 21:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/#comment-72</guid>
		<description>Kevin,

The Cognex telnet code was a few years ago, but here are some pointers.  I first used a normal telnet program (Windows telnet back then; now I&#039;d probably use puTTY) to understand how the Insight camera worked, then automated the process using telnetlib.

If you can connect manually, you know the Insight telnet is working, that you have the correct user name and password, etc.

I did use a lot of read_until (and some read_eager).  For example, to start the log on process, I would read_until the Insight&#039;s telnet sent &quot;User: &quot;, then used write to send the user name (followed by the termination sequence &quot;\r\n&quot;).  Termination sequences can be very important - right now I&#039;m dealing with a serial motion controller that&#039;s very picky about that.

Good luck,
--Tony</description>
		<content:encoded><![CDATA[<p>Kevin,</p>
<p>The Cognex telnet code was a few years ago, but here are some pointers.  I first used a normal telnet program (Windows telnet back then; now I&#8217;d probably use puTTY) to understand how the Insight camera worked, then automated the process using telnetlib.</p>
<p>If you can connect manually, you know the Insight telnet is working, that you have the correct user name and password, etc.</p>
<p>I did use a lot of read_until (and some read_eager).  For example, to start the log on process, I would read_until the Insight&#8217;s telnet sent &#8220;User: &#8220;, then used write to send the user name (followed by the termination sequence &#8220;\r\n&#8221;).  Termination sequences can be very important &#8211; right now I&#8217;m dealing with a serial motion controller that&#8217;s very picky about that.</p>
<p>Good luck,<br />
&#8211;Tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/comment-page-1/#comment-67</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Wed, 20 Feb 2008 15:27:20 +0000</pubDate>
		<guid isPermaLink="false">http://factoryswblog.org/2007/11/16/regression-testing-with-cognex-insight-smart-cameras/#comment-67</guid>
		<description>Hi Tony,

I&#039;m trying to use telnetlib to talk to an Insight camera, and I&#039;m not having any luck -- read_until just times out returning no data.  Any clues on how to proceed?  It looks like I can log in, but I get no further.

I see you&#039;re an Evelyn Waugh fan.  One of my favourites of his is an oddball book called The Ordeal of Gilbert Pinfold.  Semi-autobiographical account of a guy suffering from psychotic delusions, apparently based on an episode in Waugh&#039;s life.  Brideshead Revisited it ain&#039;t.

Thanks

Kevin</description>
		<content:encoded><![CDATA[<p>Hi Tony,</p>
<p>I&#8217;m trying to use telnetlib to talk to an Insight camera, and I&#8217;m not having any luck &#8212; read_until just times out returning no data.  Any clues on how to proceed?  It looks like I can log in, but I get no further.</p>
<p>I see you&#8217;re an Evelyn Waugh fan.  One of my favourites of his is an oddball book called The Ordeal of Gilbert Pinfold.  Semi-autobiographical account of a guy suffering from psychotic delusions, apparently based on an episode in Waugh&#8217;s life.  Brideshead Revisited it ain&#8217;t.</p>
<p>Thanks</p>
<p>Kevin</p>
]]></content:encoded>
	</item>
</channel>
</rss>

