ICogAcqLight AuxLightPort Property Cognex VisionPro 9.5
Reads or sets the auxiliary port number.

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

int AuxLightPort { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the auxiliary light port is changed.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

val is <= 0 or val is >= NumCameraPorts.

Remarks

Sets or gets the auxiliary light's port number. You can use NumCameraPorts to get the total number of camera ports.

Default Value: 1

See Also