ICogAcqBrightnessMultiChannel SetBrightnessMultiChannel Method Cognex VisionPro 9.5
Access the brightness level of a particular channel.

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

void SetBrightnessMultiChannel(
	int index,
	double value
)
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