Move the telescope to the given equatorial coordinates, return when slew is complete

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

Syntax

C#
void SlewToCoordinates(
	double RightAscension,
	double Declination
)
Visual Basic
Sub SlewToCoordinates ( _
	RightAscension As Double, _
	Declination As Double _
)
Visual C++
void SlewToCoordinates(
	double RightAscension, 
	double Declination
)

Parameters

RightAscension
Type: System..::..Double
The destination right ascension (hours). Copied to TargetRightAscension.
Declination
Type: System..::..Double
The destination declination (degrees, positive North). Copied to TargetDeclination.

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.

Exceptions

ExceptionCondition
InvalidValueExceptionIf an invalid right ascension or declination is given.
MethodNotImplementedExceptionIf the method is not implemented and CanSlew is False

See Also