COGNEX CORP
EX-10.2 AMENDMENT TO COGNEX CORPORATION 1998 NON-EMPLOYEE DIRECTOR STOCK  OPTION
<DOCUMENT>
<TYPE>EX-10.2
<SEQUENCE>3
<FILENAME>b67157ccexv10w2.htm
<DESCRIPTION>EX-10.2 AMENDMENT TO COGNEX CORPORATION 1998 NON-EMPLOYEE DIRECTOR STOCK  OPTION PLAN
<TEXT>
<HTML>
<HEAD>
<TITLE>exv10w2</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- PAGEBREAK -->
<H5 align="left" style="page-break-before:always">&nbsp;</H5><P>
<DIV style="font-family: Helvetica,Arial,sans-serif">


<DIV align="right" style="font-size: 10pt; margin-top: 12pt"><B>Exhibit&nbsp;10.2</B>
</DIV>


<DIV align="center" style="font-size: 10pt; margin-top: 18pt"><B>AMENDMENT<BR>
TO<BR>
COGNEX CORPORATION<BR>
1998 NON-EMPLOYEE DIRECTOR STOCK OPTION PLAN</B>
</DIV>

<DIV align="left" style="font-size: 10pt; margin-top: 6pt">A. The Cognex Corporation 1998 Non-Employee Director Stock Option Plan (the &#147;Plan&#148;) is hereby
amended by adding the following sentence at the end of Section&nbsp;2:
</DIV>



<DIV align="left" style="font-size: 10pt; margin-top: 6pt; margin-left: 6%">&#147;Notwithstanding the foregoing, the number of shares of Common Stock
otherwise available for issuance under this Plan is hereby reduced
by 10,250 shares.&#148;
</DIV>
<DIV align="left" style="font-size: 10pt; margin-top: 6pt">B. Except as otherwise amended herein, the Plan is confirmed in all other respects.<BR>
</DIV>

<DIV align="left" style="font-size: 10pt; margin-top: 6pt">C. This Amendment is effective as of July&nbsp;26, 2007.
</DIV>


<DIV align="left" style="font-size: 10pt; margin-top: 6pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executed this 14<SUP style="font-size: 85%; vertical-align: text-top">th</SUP> day of August, 2007, by and on behalf of Cognex Corporation by
its duly authorized officer.
</DIV>

<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" style="font-size: 10pt">
<TR>
    <TD width="48%">&nbsp;</TD>
    <TD width="1%">&nbsp;</TD>
    <TD width="1%">&nbsp;</TD>
    <TD width="35%">&nbsp;</TD>
    <TD width="15%">&nbsp;</TD>
</TR>
<TR>
    <TD valign="top" align="left">&nbsp;</TD>
    <TD colspan="3" align="left">COGNEX CORPORATION<BR>
&nbsp;</TD>
    <TD>&nbsp;</TD>
</TR><TR>
    <TD align="left">&nbsp;</TD>
    <TD valign="top">By:&nbsp;&nbsp;</TD>
    <TD colspan="2" style="border-bottom: 1px solid #000000" align="left">/s/ Anthony J. Medaglia, Jr.
&nbsp;</TD>
    <TD>&nbsp;</TD>
</TR><TR>
    <TD align="left">&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD colspan="2" align="left">Anthony J. Medaglia, Jr.&nbsp;</TD>
    <TD>&nbsp;</TD>
</TR><TR>
    <TD align="left">&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD colspan="2" align="left">Secretary&nbsp;</TD>
    <TD>&nbsp;</TD>
</TR>
<TR>
    <TD colspan="5">&nbsp;</TD>
</TR>
</TABLE>


<P align="center" style="font-size: 10pt"><!-- Folio --><!-- /Folio -->
</DIV>




</BODY>
</HTML>
</TEXT>
</DOCUMENT>
