ICogAcqFifo CameraPort Property Cognex VisionPro
Camera port number which this fifo is attached to.

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

int CameraPort { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the camera port changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

Value Port < 0 or Port >= NumCameraPorts

Remarks

Sets or gets the camera port number that this acquisition FIFO is attached to. You specify the camera port when you create an acquisition FIFO.

You can use NumCameraPorts to get the number of available camera ports. Port numbering starts at zero.

See Also