ITelescopeV3SyncToAltAz Method |
Matches the scope's local horizontal coordinates to the given local horizontal coordinates.
Namespace:
ASCOM.DeviceInterface
Assembly:
ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntaxvoid SyncToAltAz(
double Azimuth,
double Altitude
)
Sub SyncToAltAz (
Azimuth As Double,
Altitude As Double
)
void SyncToAltAz(
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 CanSyncAltAz is False |
| InvalidValueException | If an invalid azimuth or altitude is given. |
| NotConnectedException | If the device is not connected |
| DriverException | An 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 must be implemented if the
CanSyncAltAz property is True. Raises an error if matching fails.
Raises an error if AtPark is True, or if Tracking is True.
This is only available for telescope InterfaceVersions 2 and later.
See Also