Click or drag to resize

IFocuserV3Halt Method

Immediately stop any focuser motion due to a previous Move(Int32) method call.

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntax
void Halt()
Exceptions
ExceptionCondition
MethodNotImplementedExceptionFocuser does not support this method.
NotConnectedExceptionIf the device is not connected.
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself.
Remarks

Can throw a not implemented exception

Some focusers may not support this function, in which case an exception will be raised.

Recommendation: Host software should call this method upon initialization and, if it fails, disable the Halt button in the user interface.

See Also