Click or drag to resize

TelescopeSlewToTarget Method

Move the telescope to the TargetRightAscension and TargetDeclination coordinates, return when slew complete.

Namespace:  ASCOM.DriverAccess
Assembly:  ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
public void SlewToTarget()

Implements

ITelescopeV3SlewToTarget
Exceptions
ExceptionCondition
MethodNotImplementedExceptionIf the method is not implemented and CanSlew is False
ParkedExceptionIf the telescope is parked
NotConnectedExceptionIf the device is not connected
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request.
Remarks
This Method must be implemented if CanSlew returns True. Raises an error if the slew fails. The slew may fail if the target coordinates are beyond limits imposed within the driver component. Such limits include mechanical constraints imposed by the mount or attached instruments, building or dome enclosure restrictions, etc. Raises an error if AtPark is True, or if Tracking is False.
See Also