Reads or sets the area of the sensor used for laser detection. ZDetectionBase is the distance, in mm, relative to the camera defined origin of the Z axis, where the first detection range begins. When converting ZDetectionBase to discrete sensor rows, the range may be expanded slightly to match the sensor capabilities. The range will only be reduced if it extends off the end of the sensor. This function can be used to ignore reflections and other artifacts that are outside the expected range of heights.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.1.0.0
Syntax
Property Value
Type: DoubleApplies to the area of the sensor used for laser detection.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected: SfZDetectionBase |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the supplied value is less than 0 or its value plus ZDetectionHeight is greater than ZDetectionHeightMax. |
See Also