2.2.0.7 false Consolidated Condensed Statements of Cash Flows (Unaudited) (USD $) 0140 - Statement - Consolidated Condensed Statements of Cash Flows (Unaudited) true false In Thousands false false 1 USD false false USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 USDEPS Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 Shares Standard http://www.xbrl.org/2003/instance shares xbrli 0 $ false 2 USD false false USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 USDEPS Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 Shares Standard http://www.xbrl.org/2003/instance shares xbrli 0 $ 3 1 us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string The 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. false 4 2 us-gaap_NetIncomeLoss us-gaap true credit duration No definition available. false false false false false false false false false false false terselabel false 1 true true false false 41617000 41617 false false false 2 true true false false -5328000 -5328 false false false xbrli:monetaryItemType monetary The 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 false 5 2 us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 6 3 us-gaap_StockOptionPlanExpense us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 1672000 1672 false false false 2 false true false false 5088000 5088 false false false xbrli:monetaryItemType monetary The 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 false 7 3 us-gaap_DepreciationDepletionAndAmortization us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 9201000 9201 false false false 2 false true false false 8269000 8269 false false false xbrli:monetaryItemType monetary The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets. No authoritative reference available. false 8 3 us-gaap_ImpairmentOfIntangibleAssetsFinitelived us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false true false false 1000000 1000 false false false xbrli:monetaryItemType monetary The 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 false 9 3 us-gaap_InventoryWriteDown us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 1361000 1361 false false false 2 false true false false 3033000 3033 false false false xbrli:monetaryItemType monetary Charge 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 false 10 3 us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities us-gaap true credit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -81000 -81 false false false 2 false true false false 467000 467 false false false xbrli:monetaryItemType monetary Reductions 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 false 11 3 us-gaap_IncreaseDecreaseInDeferredIncomeTaxes us-gaap true credit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -2397000 -2397 false false false 2 false true false false -2651000 -2651 false false false xbrli:monetaryItemType monetary The net change during the reporting period in the account that represents the temporary difference that results from income (loss) that is recognized for accounting purposes but not for tax purposes and vice versa. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 false 12 3 us-gaap_IncreaseDecreaseInOperatingCapital us-gaap true credit duration No definition available. false false false false false false false false false false true negatedtotal false 1 false true false false -4625000 -4625 false false false 2 false true false false -9456000 -9456 false false false xbrli:monetaryItemType monetary The net change during the reporting period of all current assets and 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 true 13 2 us-gaap_NetCashProvidedByUsedInOperatingActivities us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 46748000 46748 false false false 2 false true false false 422000 422 false false false xbrli:monetaryItemType monetary The 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 false 14 1 us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 15 2 us-gaap_PaymentsToAcquireInvestments us-gaap true credit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -178080000 -178080 false false false 2 false true false false -24045000 -24045 false false false xbrli:monetaryItemType monetary The 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 false 16 2 us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 58676000 58676 false false false 2 false true false false 37970000 37970 false false false xbrli:monetaryItemType monetary The 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 false 17 2 us-gaap_PaymentsToAcquirePropertyPlantAndEquipment us-gaap true credit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -3307000 -3307 false false false 2 false true false false -4512000 -4512 false false false xbrli:monetaryItemType monetary The 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 false 18 2 us-gaap_PaymentsToAcquireBusinessesGross us-gaap true credit duration No definition available. false false false false false false false false false false true negated false 1 false false false false 0 0 false false false 2 false true false false -4500000 -4500 false false false xbrli:monetaryItemType monetary The 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 false 19 2 us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations us-gaap true debit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 315000 315 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary This 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 true 20 2 us-gaap_NetCashProvidedByUsedInInvestingActivities us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false -122396000 -122396 false false false 2 false true false false 4913000 4913 false false false xbrli:monetaryItemType monetary The 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 false 21 1 us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 22 2 us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 7324000 7324 false false false 2 false true false false 80000 80 false false false xbrli:monetaryItemType monetary The 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 false 23 2 cgnx_StockOptionBuyback cgnx false credit duration Cash paid to employees from tender of stock options. false false false false false false false false false false true negated false 1 false true false false -83000 -83 false false false 2 false false false false 0 0 false false false xbrli:monetaryItemType monetary Cash paid to employees from tender of stock options. No authoritative reference available. false 24 2 us-gaap_PaymentsOfDividendsCommonStock us-gaap true credit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -6747000 -6747 false false false 2 false true false false -9914000 -9914 false false false xbrli:monetaryItemType monetary The 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 false 25 2 us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities us-gaap true debit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 81000 81 false false false 2 false true false false -467000 -467 false false false xbrli:monetaryItemType monetary Reductions 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 true 26 2 us-gaap_NetCashProvidedByUsedInFinancingActivities us-gaap true debit duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 575000 575 false false false 2 false true false false -10301000 -10301 false false false xbrli:monetaryItemType monetary The 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 false 27 1 us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents us-gaap true debit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false -6545000 -6545 false false false 2 false true false false 4990000 4990 false false false xbrli:monetaryItemType monetary The 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 true 28 1 us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease us-gaap true na duration No definition available. false false false false false false false false false false false verboselabel false 1 false true false false -81618000 -81618 false false false 2 false true false false 24000 24 false false false xbrli:monetaryItemType monetary The 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 false 29 1 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false true false false periodstartlabel false 1 false true false false 119831000 119831 false false false 2 false true false false 127138000 127138 false false false xbrli:monetaryItemType monetary Includes 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 false 30 1 us-gaap_CashAndCashEquivalentsAtCarryingValue us-gaap true debit instant No definition available. false false false false false false false false false true false periodendlabel false 1 true true false false 38213000 38213 false false false 2 true true false false 127162000 127162 false false false xbrli:monetaryItemType monetary Includes 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 false 2 28 false Thousands UnKnown UnKnown false true