Reads or sets whether the light is enabled.
Namespace: Cognex.VisionPro.Implementation.InternalAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 80.0.0.0
Syntax
Property Value
Type: BooleanImplements
ICogAcqLight LightEnabledEvents
| Event Type | Reason |
|---|---|
| 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