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.EdgeInspectAssembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 75.1.0.0
Syntax
Parameters
- index
- Type: System Int32
The index of the caliper along the bead path.
Return Value
Type: CogBeadInspectDefectTypeConstantsA bitwise OR of the flags defined by the CogBeadInspectDefectTypeConstants enumeration. If no defect was detected the return value will be None
Exceptions
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | The given index is less than zero. Or it is equal to, or greater than, NumCalipers |
See Also