2.2.0.25falsefalse0130 - Statement - Consolidated Statements of Cash FlowstruefalseIn Thousandsfalse1falsefalseUSDfalsefalse1/1/2010 - 12/31/2010 USD ($) USD ($) / shares $TwelveMonthsEnded_31Dec2010http://www.sec.gov/CIK0000851205duration2010-01-01T00:00:002010-12-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$2falsefalseUSDfalsefalse1/1/2009 - 12/31/2009 USD ($) USD ($) / shares $TwelveMonthsEnded_31Dec2009http://www.sec.gov/CIK0000851205duration2009-01-01T00:00:002009-12-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$3falsefalseUSDfalsefalse1/1/2008 - 12/31/2008 USD ($) USD ($) / shares $TwelveMonthsEnded_31Dec2008http://www.sec.gov/CIK0000851205duration2008-01-01T00:00:002008-12-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$3true0us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringThe net cash from (used in) all of the entity's operating activities, including those of discontinued operations, of the reporting entity. Operating activities include all transactions and events that are not defined as investing or financing activities. Operating activities generally involve producing and delivering goods and providing services. Cash flows from operating activities are generally the cash effects of transactions and other events that enter into the determination of net income.falsefalse4false0us-gaap_NetIncomeLossus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabel1truefalsefalse6138100061381falsetruefalsefalsefalse2truefalsefalse-4869000-4869falsetruefalsefalsefalse3truefalsefalse2727500027275falsetruefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe portion of consolidated profit or loss for the period, net of income taxes, which is attributable to the parent. If the entity does not present consolidated financial statements, the amount of profit or loss for the period, net of income taxes.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 19 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Research Bulletin (ARB) -Number 51 -Paragraph 38 -Subparagraph d Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Research Bulletin (ARB) -Number 51 -Paragraph A7 -Appendix A Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Research Bulletin (ARB) -Number 51 -Paragraph 38 -Subparagraph a Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 20 -Article 9 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 130 -Paragraph 10, 15 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 87-21 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28, 29, 30 falsefalse5true0us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringNo definition available.falsefalse6false0cgnx_ImpairmentLossRelatedToDiscontinuedBusinesscgnxfalsedebitdurationImpairment loss related to discontinued business.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3truefalsefalse29870002987falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryImpairment loss related to discontinued business.No authoritative reference available.falsefalse7false0us-gaap_ImpairmentOfIntangibleAssetsFinitelivedus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse10000001000falsefalsefalsefalsefalse3truefalsefalse15000001500falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 142 -Paragraph 46 -Subparagraph b falsefalse8false0us-gaap_StockOptionPlanExpenseus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse30270003027falsefalsefalsefalsefalse2truefalsefalse92230009223falsefalsefalsefalsefalse3truefalsefalse1023100010231falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe noncash expense that accounts for the value of stock options distributed to employees as compensation.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph 64 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph i falsefalse9false0us-gaap_Depreciationus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse46850004685falsefalsefalsefalsefalse2truefalsefalse47010004701falsefalsefalsefalsefalse3truefalsefalse47420004742falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Principles Board Opinion (APB) -Number 12 -Paragraph 5 falsefalse10false0us-gaap_AmortizationOfIntangibleAssetsus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse51240005124falsefalsefalsefalsefalse2truefalsefalse48790004879falsefalsefalsefalsefalse3truefalsefalse66330006633falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by (used in) operations using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 142 -Paragraph 45 -Subparagraph a(2) falsefalse11false0us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestmentsus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1truefalsefalse31950003195falsefalsefalsefalsefalse2truefalsefalse15120001512falsefalsefalsefalsefalse3truefalsefalse13200001320falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by (used in) operations using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 falsefalse12false0us-gaap_InventoryWriteDownus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse15090001509falsefalsefalsefalsefalse2truefalsefalse34780003478falsefalsefalsefalsefalse3truefalsefalse27790002779falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryCharge to cost of goods sold that represents the reduction of the carrying amount of inventory, generally attributable to obsolescence or market conditions.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Research Bulletin (ARB) -Number 43 -Chapter 4 -Section 7 -Paragraph 14 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Concepts (CON) -Number 6 -Paragraph 86 falsefalse13false0us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivitiesus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1truefalsefalse-1941000-1941falsefalsefalsefalsefalse2truefalsefalse472000472falsefalsefalsefalsefalse3truefalsefalse-1671000-1671falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryReductions in the entity's income taxes that arise when compensation cost (from non-qualified share-based compensation) recognized on the entity's tax return exceeds compensation cost from share-based compensation recognized in financial statements. This element reduces net cash provided by operating activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A96 falsefalse14false0us-gaap_DeferredIncomeTaxExpenseBenefitus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse10340001034falsefalsefalsefalsefalse2truefalsefalse19850001985falsefalsefalsefalsefalse3truefalsefalse-441000-441falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe component of income tax expense for the period representing the net change in the entity's deferred tax assets and liabilities pertaining to continuing operations.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 6 -Section I -Subsection 7 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 109 -Paragraph 45 -Subparagraph b Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 109 -Paragraph 289 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph h -Article 4 falsefalse15true0us-gaap_IncreaseDecreaseInOperatingCapitalAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringNo definition available.falsefalse16false0us-gaap_IncreaseDecreaseInAccountsReceivableus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1truefalsefalse-14535000-14535falsefalsefalsefalsefalse2truefalsefalse-287000-287falsefalsefalsefalsefalse3truefalsefalse85510008551falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe net change during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 falsefalse17false0us-gaap_IncreaseDecreaseInInventoriesus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1truefalsefalse-7699000-7699falsefalsefalsefalsefalse2truefalsefalse51400005140falsefalsefalsefalsefalse3truefalsefalse-959000-959falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe net change during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 falsefalse18false0cgnx_IncreaseDecreaseInReturnOfTaxDepositcgnxfalsedebitdurationReturn of Japan tax deposit.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse93360009336falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryReturn of Japan tax deposit.No authoritative reference available.falsefalse19false0us-gaap_IncreaseDecreaseInAccruedLiabilitiesus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse1013400010134falsefalsefalsefalsefalse2truefalsefalse-3208000-3208falsefalsefalsefalsefalse3truefalsefalse24050002405falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe net change during the reporting period in the aggregate amount of expenses incurred but not yet paid.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 falsefalse20false0us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayableus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse95670009567falsefalsefalsefalsefalse2truefalsefalse-6611000-6611falsefalsefalsefalsefalse3truefalsefalse-10476000-10476falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe net change during the period in the amount of cash payments due to taxing authorities for taxes that are based on the reporting entity's earnings.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 falsefalse21false0cgnx_IncreaseDecreaseInDeferredRevenueAndCustomerDepositscgnxfalsedebitdurationIncrease (decrease) in deferred revenue and customer deposits.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse-4740000-4740falsefalsefalsefalsefalse2truefalsefalse-4532000-4532falsefalsefalsefalsefalse3truefalsefalse61420006142falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryIncrease (decrease) in deferred revenue and customer deposits.No authoritative reference available.falsefalse22false0us-gaap_IncreaseDecreaseInOtherOperatingCapitalNetus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegatedtotal1truefalsefalse-3734000-3734falsefalsefalsefalsefalse2truefalsefalse-600000-600falsefalsefalsefalsefalse3truefalsefalse-2081000-2081falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryFor entities with classified balance sheets, the net change during the reporting period in the value of other assets or liabilities used in operating activities, that are not otherwise defined in the taxonomy. For entities with unclassified balance sheets, the net change during the reporting period in the value of all other assets or liabilities used in operating activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 truefalse23false0us-gaap_NetCashProvidedByUsedInOperatingActivitiesus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse7634300076343falsefalsefalsefalsefalse2truefalsefalse1228300012283falsefalsefalsefalsefalse3truefalsefalse5893700058937falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe net cash from (used in) all of the entity's operating activities, including those of discontinued operations, of the reporting entity. Operating activities generally involve producing and delivering goods and providing services. Operating activity cash flows include transactions, adjustments, and changes in value that are not defined as investing or financing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 26 falsefalse24true0us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringNo definition available.falsefalse25false0us-gaap_PaymentsToAcquireInvestmentsus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1truefalsefalse-253867000-253867falsefalsefalsefalsefalse2truefalsefalse-33779000-33779falsefalsefalsefalsefalse3truefalsefalse-120622000-120622falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe cash outflow associated with the purchase of all investments (debt, security, other) during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 15, 17 falsefalse26false0us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestmentsus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse8291800082918falsefalsefalsefalsefalse2truefalsefalse4372000043720falsefalsefalsefalsefalse3truefalsefalse189375000189375falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe cash inflow associated with the sale, maturity and collection of all investments such as debt, security and so forth during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 31 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 16 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 18 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 15 falsefalse27false0us-gaap_PaymentsToAcquirePropertyPlantAndEquipmentus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1truefalsefalse-5852000-5852falsefalsefalsefalsefalse2truefalsefalse-5466000-5466falsefalsefalsefalsefalse3truefalsefalse-6012000-6012falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 15 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 17 -Subparagraph c falsefalse28false0us-gaap_PaymentsToAcquireBusinessesGrossus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1falsefalsefalse00falsefalsefalsefalsefalse2truefalsefalse-4941000-4941falsefalsefalsefalsefalse3truefalsefalse-1000000-1000falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 15, 17 falsefalse29false0us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperationsus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabel1truefalsefalse315000315falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3truefalsefalse27970002797falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThis element represents cash provided by (used in) the investing activities of the entity's discontinued operations during the period. This element should only be used by those entities that separately report cash flows attributable to discontinued operations. If using this element, it is an indication that the cash flows of the entity which are detailed in reconciling to cash provided by or used in investing activities reflect only cash flows attributable to continuing operations.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 26 truefalse30false0us-gaap_NetCashProvidedByUsedInInvestingActivitiesus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse-176486000-176486falsefalsefalsefalsefalse2truefalsefalse-466000-466falsefalsefalsefalsefalse3truefalsefalse6453800064538falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe net cash inflow (outflow) from investing activity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 26 falsefalse31true0us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringNo definition available.falsefalse32false0us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptionsus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse2838400028384falsefalsefalsefalsefalse2truefalsefalse146000146falsefalsefalsefalsefalse3truefalsefalse1505200015052falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe total cash inflow associated with the amount received from holders to acquire the entity's shares under incentive and share awards, including stock option exercises.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 18 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph i Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 19 -Subparagraph a falsefalse33false0cgnx_StockOptionBuybackcgnxfalsecreditdurationCash paid to employees from tender of stock options.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1truefalsefalse-83000-83falsefalsefalsefalsefalse2truefalsefalse-9075000-9075falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryCash paid to employees from tender of stock options.No authoritative reference available.falsefalse34false0us-gaap_PaymentsForRepurchaseOfCommonStockus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3truefalsefalse-92969000-92969falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe cash outflow to reacquire common stock during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 18 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 20 -Subparagraph a falsefalse35false0us-gaap_PaymentsOfDividendsCommonStockus-gaaptruecreditdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsetruenegated1truefalsefalse-10014000-10014falsefalsefalsefalsefalse2truefalsefalse-11897000-11897falsefalsefalsefalsefalse3truefalsefalse-19281000-19281falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe cash outflow from the distribution of an entity's earnings in the form of dividends to common shareholders.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 18 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 20 -Subparagraph a falsefalse36false0us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivitiesus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabel1truefalsefalse19410001941falsefalsefalsefalsefalse2truefalsefalse-472000-472falsefalsefalsefalsefalse3truefalsefalse16710001671falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryReductions in the entity's income taxes that arise when compensation cost (from non-qualified share-based compensation) recognized on the entity's tax return exceeds compensation cost from share-based compensation recognized in financial statements. This element represents the cash inflow reported in the enterprise's financing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph i Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 00-15 -Paragraph 3 truefalse37false0us-gaap_NetCashProvidedByUsedInFinancingActivitiesus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse2022800020228falsefalsefalsefalsefalse2truefalsefalse-21298000-21298falsefalsefalsefalsefalse3truefalsefalse-95527000-95527falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe net cash inflow (outflow) from financing activity for the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 26 falsefalse38false0us-gaap_EffectOfExchangeRateOnCashAndCashEquivalentsus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetotallabel1truefalsefalse-6713000-6713falsefalsefalsefalsefalse2truefalsefalse21740002174falsefalsefalsefalsefalse3truefalsefalse-4954000-4954falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe effect of exchange rate changes on cash balances held in foreign currencies.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 25 truefalse39false0us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse-86628000-86628falsefalsefalsefalsefalse2truefalsefalse-7307000-7307falsefalsefalsefalsefalse3truefalsefalse2299400022994falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryThe net change between the beginning and ending balance of cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 26 falsefalse40false0us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsetruefalsefalseperiodstartlabel1truefalsefalse119831000119831falsefalsefalsefalsefalse2truefalsefalse127138000127138falsefalsefalsefalsefalse3truefalsefalse104144000104144falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7, 26 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 8, 9 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7 -Footnote 1 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 1 -Article 5 falsefalse41false0us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsetruefalseperiodendlabel1truefalsefalse3320300033203falsetruefalsefalsefalse2truefalsefalse119831000119831falsetruefalsefalsefalse3truefalsefalse127138000127138falsetruefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryIncludes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Entity may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Compensating balance arrangements that do not legally restrict the withdrawal or usage of cash amounts may be reported as Cash and Cash Equivalents, while legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits should not be reported as cash and cash equivalents.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7, 26 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 8, 9 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 7 -Footnote 1 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 1 -Article 5 falsefalse339Consolidated Statements of Cash Flows (USD $)ThousandsUnKnownUnKnownUnKnownfalsetrue