CogStatistics SetLimitEnables Method Cognex VisionPro 9.24
Set all of the tolerance limit enable flags.

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

public void SetLimitEnables(
	bool warnLowLimitEnabled,
	bool warnHighLimitEnabled,
	bool rejectLowLimitEnabled,
	bool rejectHighLimitEnabled
)

Parameters

warnLowLimitEnabled
Type: System Boolean

New value for WarnLowLimitEnabled.

warnHighLimitEnabled
Type: System Boolean

New value for WarnHighLimitEnabled.

rejectLowLimitEnabled
Type: System Boolean

New value for RejectLowLimitEnabled.

rejectHighLimitEnabled
Type: System Boolean

New value for RejectHighLimitEnabled.

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:

    Remarks

    Set all of the tolerance limit enable flags.

    See Also