Reads or sets the light power.
Namespace: Cognex.VisionPro.Implementation.InternalAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
Syntax
Property Value
Type: DoubleImplements
ICogAcqLight LightPowerEvents
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the light power changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | val is < 0 or val is > 1. |
Remarks
Sets or gets the primary 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 LightBrightFieldPowerRatio
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