CogBeadInspectResult GetCaliperDefectClass Method Cognex VisionPro 9.8 SR1
Returns a description of the defect(s) detected by the caliper at the given index. The description is returned as a bitwise OR of the flags defined by the CogBeadInspectDefectTypeConstants enumeration.

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

public CogBeadInspectDefectTypeConstants GetCaliperDefectClass(
	int index
)

Parameters

index
Type: System Int32
The index of the caliper along the bead path.

Return Value

Type: CogBeadInspectDefectTypeConstants
A bitwise OR of the flags defined by the CogBeadInspectDefectTypeConstants enumeration. If no defect was detected the return value will be None
Exceptions

ExceptionCondition
IndexOutOfRangeException The given index is less than zero. Or it is equal to, or greater than, NumCalipers
See Also