ICogAcqLight AuxLightPower Property Cognex VisionPro 9.7
Reads or sets the power on the auxiliary port.

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

double AuxLightPower { get; set; }

Property Value

Type: Double
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the auxiliary light power changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

val is < 0 or val is > 1.

Remarks

Sets or gets the auxiliary light's power level. The light power can range from 0.0 (no power) to 1.0 (full power). The light power is split between the light field and the dark field according to the level set by AuxLightBrightFieldPowerRatio.

Setting LightEnabled and AuxLightEnabled to False does not cut power to the light device. To cut power to the light device, set LightPower and AuxLightPower to 0.0 and acquire an image.

Default Value: 0.0

See Also