CogStatistics SetLimits Method Cognex VisionPro 9.23
Set all of the tolerance limit values.

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

public void SetLimits(
	double warnLowLimit,
	double warnHighLimit,
	double rejectLowLimit,
	double rejectHighLimit
)
Events

Event TypeReason
CogStatistics Changed

Fires when more than one limit changes. If a single limit changes, then an event naming that limit fires.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    rejectHighLimit must be greater than or equal to warnHighLimit, which must be greater than or equal to warnLowLimit, which must be greater than or equal to rejectLowLimit.

    Remarks

    Sets all of the tolerance limit values.

    See Also