CogBeadInspectPattern CaliperSpacing Property Cognex VisionPro 9.8 SR1
Gets or sets the spacing between caliper center-points, along the chosen coarse bead path. Since there is no empty space between neighboring calipers, this value is also the height of each caliper. The height is measured perpendicular to the "width", which is measured across the bead (from one edge to the other).

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

public double CaliperSpacing { get; set; }

Property Value

Type: Double
Default value is 3.
Exceptions

ExceptionCondition
ArgumentOutOfRangeException The supplied value is less than 1 or greater than 100.
Remarks

This property only supports float value type precision; up to 5 decimal places (such as 0.00001) can typically be expected to be maintained. Further precision can be assigned but will be lost (truncated).

Refer to the CogBeadInspectPattern remarks for the definitions of bead paths and defects.

The calipers described by this property will be used at runtime for the detection of defects by sampling the bead along the trained path. A larger value for this property results in fewer calipers along the bead path while a smaller value will result in more calipers. Note that a large value means that smaller defects may be missed. A high value can be useful in avoiding false positives if valid defects are expected to always cover a large section of the bead path.

This property respects any scaling present in the SelectedSpaceName of the TrainImage. The value used should account for any scaling being applied.

See Also