Click or drag to resize

VideoGains Property

Gains supported by the camera.

Namespace:  ASCOM.DriverAccess
Assembly:  ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
public ArrayList Gains { get; }

Return Value

Type: ArrayList
An ArrayList of gain names or values

Implements

IVideoGains
Exceptions
ExceptionCondition
PropertyNotImplementedExceptionMust throw an exception if Gains 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
Gains provides a 0-based array of available gain settings. Typically the application software will display the available gain settings in a drop list. The application will then supply the selected index to the driver via the Gain property.

The Gain setting may alternatively be specified using integer values; if this mode is used then Gains is invalid and must throw an exception. Please see GainMax and GainMin 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