CogAcqProfileCamera ZDetectionSampling Property Cognex VisionPro 9.21 SR1
Reads or sets the number of rows used for laser finding to be reduced. 1 processes every row, 2 processes every other row. Increasing ZDetectionSampling increases the maximum line rate when acquiring range images, but reduces the measurement precision. The increase in maximum line rate is in addition to the increase associated with adjusting ZDetectionBase and ZDetectionHeight. Default value is 1.

Namespace: Cognex.VisionPro.Implementation.Internal
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 85.1.0.0
Syntax

public virtual int ZDetectionSampling { get; set; }

Property Value

Type: Int32
May improve maximum line rate by reducing the number of rows used for laser finding.

Implements

ICogAcqProfileCamera ZDetectionSampling
Events

Event TypeReason
ICogChangedEvent ChangedFires when this property changes. The following state flag may be affected: SfZDetectionSampling
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the supplied value is less than 1 or greater than ZDetectionSamplingMax.
See Also