<ARTICLE> 5
<LEGEND>
THIS SCHEDULE CONTAINS SUMMARY FINANCIAL INFORMATION EXTRACTED FROM THE
CONSOLIDATED FINANCIAL STATEMENTS OF COGNEX CORPORATION FOR THE YEAR ENDED
DECEMBER 31, 1995 AND IS QUALIFIED IN ITS ENTIRETY BY REFERENCE TO SUCH 
CONSOLIDATED FINANCIAL STATEMENTS.
</LEGEND>
       
                             
<PERIOD-TYPE>                   YEAR
<FISCAL-YEAR-END>                          DEC-31-1995
<PERIOD-START>                             JAN-01-1995
<PERIOD-END>                               DEC-31-1995
<CASH>                                      23,911,000
<SECURITIES>                                66,729,000
<RECEIVABLES>                               25,021,000
<ALLOWANCES>                                   709,000
<INVENTORY>                                 12,567,000
<CURRENT-ASSETS>                           135,793,000
<PP&E>                                      27,488,000
<DEPRECIATION>                               5,355,000
<TOTAL-ASSETS>                             162,172,000
<CURRENT-LIABILITIES>                       16,391,000
<BONDS>                                              0
<PREFERRED-MANDATORY>                                0
<PREFERRED>                                          0
<COMMON>                                        78,000
<OTHER-SE>                                 143,838,000
<TOTAL-LIABILITY-AND-EQUITY>               162,172,000
<SALES>                                    104,543,000
<TOTAL-REVENUES>                           104,543,000
<CGS>                                       22,543,000
<TOTAL-COSTS>                               22,543,000
<OTHER-EXPENSES>                                     0
<LOSS-PROVISION>                                     0
<INTEREST-EXPENSE>                                   0
<INCOME-PRETAX>                             37,613,000
<INCOME-TAX>                                14,579,000
<INCOME-CONTINUING>                         23,034,000
<DISCONTINUED>                                       0
<EXTRAORDINARY>                                      0
<CHANGES>                                            0
<NET-INCOME>                                23,034,000
<EPS-PRIMARY>                                      .55
<EPS-DILUTED>                                      .54