Set all of the tolerance limit values.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax
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 Type | Reason |
|---|---|
| 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
| Exception | Condition |
|---|---|
| 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