CogStatistics AddValue Method Cognex VisionPro 9.8 SR1
Adds a value to the buffer and generates a tolerance status according to the specified limits.

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

public CogDataAnalysisToleranceStatusConstants AddValue(
	double newValue
)

Return Value

Type: CogDataAnalysisToleranceStatusConstants

The returned tolerance status.

Events

Event TypeReason
CogStatistics Changed

Fires when the value of this property changes.

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

    Adds a value to the buffer and generates a tolerance status according to the specified limits.

    See Also