Reads or sets the power on the auxiliary port.
Namespace: Cognex.VisionPro.Implementation.InternalAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
Property Value
Type: DoubleImplements
ICogAcqLight AuxLightPowerEvents
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the auxiliary 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 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