CameraCameraState Property |
Returns the current camera operational state
Namespace:
ASCOM.DriverAccess
Assembly:
ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntaxpublic CameraStates CameraState { get; }
Public ReadOnly Property CameraState As CameraStates
Get
public:
virtual property CameraStates CameraState {
CameraStates get () sealed;
}
Property Value
Type:
CameraStatesThe state of the camera.
Implements
ICameraV3CameraState
ExceptionsException | Condition |
---|
NotConnectedException | If the device is not connected. |
DriverException | An error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request. |
Remarks
Returns one of the following status information:
- 0 = CameraIdle : At idle state, available to start exposure
- 1 = CameraWaiting : Exposure started but waiting (for shutter, trigger, filter wheel, etc.)
- 2 = CameraExposing : Exposure currently in progress
- 3 = CameraReading : CCD array is being read out (digitized)
- 4 = CameraDownload : Downloading data to PC
- 5 = CameraError : Camera error condition serious enough to prevent further operations (connection fail, etc.).
See Also