TelescopeSlewToCoordinates Method |
Move the telescope to the given equatorial coordinates, return when slew is complete
Namespace:
ASCOM.DriverAccess
Assembly:
ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntaxpublic void SlewToCoordinates(
double RightAscension,
double Declination
)
Public Sub SlewToCoordinates (
RightAscension As Double,
Declination As Double
)
public:
virtual void SlewToCoordinates(
double RightAscension,
double Declination
) sealed
Parameters
- RightAscension
- Type: SystemDouble
The destination right ascension (hours). Copied to TargetRightAscension. - Declination
- Type: SystemDouble
The destination declination (degrees, positive North). Copied to TargetDeclination.
Implements
ITelescopeV3SlewToCoordinates(Double, Double)
Exceptions
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. The target coordinates are copied to
TargetRightAscension and
TargetDeclination whether or not the slew succeeds.
Raises an error if AtPark is True, or if Tracking is False.
See Also