CogAcqLight LightEnabled Property Cognex VisionPro 9.20
Reads or sets whether the light is enabled.

Namespace: Cognex.VisionPro.Implementation.Internal
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 80.0.0.0
Syntax

public virtual bool LightEnabled { get; set; }

Property Value

Type: Boolean

Implements

ICogAcqLight LightEnabled
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the light is enabled or disabled.

The following state flag may be affected:

Remarks

Sets or gets whether the primary light is enabled.

Setting LightEnabled 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: False

See Also