Click or drag to resize

ITelescopeV3SlewToAltAz Method

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: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
void SlewToAltAz(
	double Azimuth,
	double Altitude
)

Parameters

Azimuth
Type: SystemDouble
Target azimuth (degrees, North-referenced, positive East/clockwise).
Altitude
Type: SystemDouble
Target altitude (degrees, positive up)
Exceptions
ExceptionCondition
MethodNotImplementedExceptionIf the method is not implemented and CanSlewAltAz is False
InvalidValueExceptionIf an invalid azimuth or elevation is given.
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. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself.
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 later.

See Also