Click or drag to resize

ICameraV3GainMax Property

This is an existing ICameraV2 property and its interface definition has not been changed. The Remarks section has been clarified to describe the two gain management modes.

Maximum Gain value of that this camera supports

Namespace:  ASCOM.DeviceInterface
Assembly:  ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
Syntax
short GainMax { get; }

Return Value

Type: Int16
The maximum gain value that this camera supports
Exceptions
ExceptionCondition
PropertyNotImplementedExceptionWhen the Gain property is not implemented or is operating in GAINS INDEX mode.
NotConnectedExceptionWhen the information is not available. (Some drivers may require an active connection in order to retrieve necessary information from the camera.)
Remarks

This is an optional property and can throw a PropertyNotImplementedException.

When Gain is operating in GAIN VALUE mode:

Please note that GainMin and GainMax act together and that either both must be implemented or both must throw PropertyNotImplementedExceptions.

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.

This property is only available in Camera Interface Version 2 and later.

See Also