Assembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 75.1.0.0
Parameters
- index
- Type: System Int32
The index of the caliper along the bead path.
Return Value
Type: DoubleThe left-hand step value measured by the indexed caliper.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | The given index is less than zero. Or it is equal to, or greater than, NumCalipers |
A "step" measures the largest relative deviation in the edge of the bead path when moving from a caliper to either of its neighbors. The deviation is measured sideways -- perpendicular to the direction of the bead path -- and is expressed as a fraction of the average bead width trained at that caliper's location. For example, a step of 0.1 indicates that the edge of the bead path moves sideways by 10% of the trained width at that location. This measurement helps to quantify the smoothness of the bead edge.
The left and right edges of the bead are defined relative to the direction of the bead path. If you imagine that you are travelling along the path, from its start to its end, the left edge will be on your left-hand side. The right edge will be on your right-hand side.
If the user disables StepThresholdEnabled, the bead step will not be measured at run-time and GetCaliperLeftStep(Int32), GetCaliperRightStep(Int32), LeftStepMax and RightStepMax will all be reported as zero.
If an edge of the bead is missing, or missing and then filled, GetCaliperLeftStep(Int32) and/or GetCaliperRightStep(Int32) will be reported as zero.