CogDataAnalysis Execute Method Cognex VisionPro 9.22
Generate data analysis results by taking each CurrentValue, buffering it, and comparing it to the specified limits.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
Syntax

public CogDataAnalysisResults Execute()

Return Value

Type: CogDataAnalysisResults

An CogDataAnalysisResults containing the results.

Events

Event TypeReason
CogDataAnalysis Changed

Fires when this function is called.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    CogSecurityViolationException

    Security is not enabled for this vision tool. See Resolving Security-Related Error Messages for more information.

    Remarks

    Generate data analysis results by taking the CurrentValue from each channel, buffering it, and comparing it to the specified limits.

    Calling this function sets CurrentValueIsInvalid to true.

    See Also