ICogAcqLineScan EncoderPort Property Cognex VisionPro 9.24
Port for Encoder.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
Syntax

int EncoderPort { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the encoder port changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The new value is less than zero or >= NumEncoderPorts.

ArgumentException

The specified port is not compatible with the current camera port.

Remarks

Sets or gets the encoder port to use with this acquisition FIFO.

On some platforms the association between a camera port and an encoder port is fixed: each encoder can trigger an acquisition to a subset of all the available camera ports on each frame grabber. This means that the encoder port you specify must be consistent with the camera port of the FIFO that this property is associated with. See the documentation for the Cognex Video Module (CVM) that you are using for supported encoder/camera port settings.

Note: Ignored on MVS-8600. The encoder port is the same as the camera port.

Default Value: 0

See Also