ICogAcqBrightnessMultiChannel GetBrightnessMultiChannel Method Cognex VisionPro 9.7
Access the brightness level of a particular channel.

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

double GetBrightnessMultiChannel(
	int index
)

Return Value

Type: Double
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the brightness is changed.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

Value is < 0 or Value > 1.0.

ArgumentException

index is < 0 or index >= (number of camera channels).

Remarks

Sets or gets the brightness level of a particular channel.

You can use CogAcqBrightness.Brightness to set the brightness of all channels to the same value.

Default Value: 0.5

See Also