Click or drag to resize

VideoGainMax Property

Maximum value of Gain.

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntax
public short GainMax { get; }

Property Value

Int16
Short integer representing the maximum gain value supported by the camera.

Return Value

Int16
The maximum gain value that this camera supports

Implements

IVideoGainMax
Exceptions
ExceptionCondition
PropertyNotImplementedExceptionMust throw an exception if GainMax is not supported.
NotConnectedExceptionIf the device is not connected
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request.
Remarks
When specifying the gain setting with an integer value, GainMax is used in conjunction with GainMin to specify the range of valid settings.

GainMax shall be greater than GainMin. If either is available, then both must be available.

Please see Gain for more information.

It is recommended that this function be called only after a connection is established with the camera hardware, to ensure that the driver is aware of the capabilities of the specific camera model.

See Also