ITelescopeV3SlewToAltAz Method |
Move the telescope to the given local horizontal coordinates, return when slew is complete
Namespace: ASCOM.DeviceInterfaceAssembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax void SlewToAltAz(
double Azimuth,
double Altitude
)
Sub SlewToAltAz (
Azimuth As Double,
Altitude As Double
)
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 Exception | Condition |
---|
MethodNotImplementedException | If the method is not implemented and CanSlewAltAz is False |
InvalidValueException | If an invalid azimuth or elevation is given. |
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
See Also