ICameraV2ReadoutModes Property |
Namespace: ASCOM.DeviceInterface
Exception | Condition |
---|---|
NotConnectedException | Must throw an exception if the information is not available. (Some drivers may require an active connection in order to retrieve necessary information from the camera.) |
Must be implemented if CanFastReadout is false, must throw a PropertyNotImplementedException if CanFastReadout is true.
This property provides an array of strings, each of which describes an available readout mode of the camera. At least one string must be present in the list. The user interface of a control application will typically present to the user a drop-list of modes. The choice of available modes made available is entirely at the discretion of the driver author. Please note that if the camera has many different modes of operation, then the most commonly adjusted settings should be in ReadoutModes; additional settings may be provided using SetupDialog.To select a mode, the application will set ReadoutMode to the index of the desired mode. The index is zero-based.
This property should only be read while a connection to the camera is actually established. Drivers often support multiple cameras with different capabilities, which are not known until the connection is made. If the available readout modes are not known because no connection has been established, this property shall throw an exception.
Please note that the default ReadoutMode setting is 0. It is strongly recommended, but not required, that driver authors use the 0-index mode for standard imaging operations, since it is the default.
This feature may be used in parallel with FastReadout; however, care should be taken to ensure that the two features work together consistently. If there are modes that are inconsistent having a separate fast/normal switch, then it may be better to simply list Fast as one of the ReadoutModes.
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 is only available for the Camera Interface Version 2