ICogAcqProfileCamera ZDetectionSampling2 Property Cognex VisionPro 9.23
Reads or sets the number of rows used for laser finding to be reduced in detection zone 2. 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
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
Syntax

int ZDetectionSampling2 { get; set; }

Property Value

Type: Int32
May improve maximum line rate by reducing the number of rows used for laser finding.
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