Move the telescope to the given local horizontal 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 SlewToAltAz(
	double Azimuth,
	double Altitude
)
Visual Basic
Sub SlewToAltAz ( _
	Azimuth As Double, _
	Altitude As Double _
)
Visual C++
void SlewToAltAz(
	double Azimuth, 
	double Altitude
)

Parameters

Azimuth
Type: System..::..Double
Target azimuth (degrees, North-referenced, positive East/clockwise).
Altitude
Type: System..::..Double
Target altitude (degrees, positive up)

Remarks

This Method must be implemented if CanSlewAltAz 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 TargetRightAscension and TargetDeclination properties are not changed by this method. Raises an error if AtPark is True, or if Tracking is True. This is only available for telescope InterfaceVersions 2 and 3

Exceptions

ExceptionCondition
ASCOM..::..MethodNotImplementedExceptionIf the method is not implemented and CanSlewAltAz is False
ASCOM..::..InvalidValueExceptionIf an invalid azimuth or elevation is given.

See Also