CogStatistics SetLimits Method Cognex VisionPro 9.24
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
)

Parameters

warnLowLimit
Type: System Double

The WarnLowLimit.

warnHighLimit
Type: System Double

The WarnHighLimit.

rejectLowLimit
Type: System Double

The RejectLowLimit.

rejectHighLimit
Type: System Double

The 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