Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 85.1.0.0
Property Value
Type: Int32Implements
ICogAcqLineScan EncoderOffset| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the encoder offset changes. The following state flag may be affected: |
Sets or gets the encoder position at which line zero of the region of interest occurs. This offset is meaningful only for encoder-triggered acquisition. Out of range values are clipped to the camera format size.
To specify the starting encoder count, you must also take into account the start of the CogAcqROI. In the following examples y0 means the Y parameter returned by CogAcqROI.GetROIXYWidthHeight(Int32 , Int32 , Int32 , Int32 ).
For acquisitions in which the encoder count increases, the starting encoder count is:
startCount = (y0 * stepsPerLine) + encoderOffsetFor acquisitions in which the encoder count decreases, the starting encoder count is:
startCount = (−y0 * stepsPerLine) + encoderOffsetNote: Ignored on MVS-8600.
Default Value: 0