Stops the current exposure, if any.

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

Syntax

C#
void StopExposure()
Visual Basic
Sub StopExposure
Visual C++
void StopExposure()

Remarks

May throw a not implemented exception

If an exposure is in progress, the readout process is initiated. Ignored if readout is already in process.

Exceptions

ExceptionCondition
MethodNotImplementedExceptionMust throw an exception if CanStopExposure is false
NotConnectedExceptionMust throw an exception if the camera or connection has an error condition
DriverExceptionMust throw an exception if for any reason no image readout will be available.

See Also