Returns the current camera operational state

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public CameraStates CameraState { get; }
Visual Basic
Public ReadOnly Property CameraState As CameraStates
	Get
Visual C++
public:
virtual property CameraStates CameraState {
	CameraStates get () sealed;
}

Field Value

The state of the camera.

Implements

ICameraV2..::..CameraState

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.).

Exceptions

ExceptionCondition
ASCOM..::..NotConnectedExceptionMust return an exception if the camera status is unavailable.

See Also