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: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
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