Click or drag to resize

TelescopeSyncToAltAz Method

Matches the scope's local horizontal coordinates to the given local horizontal coordinates.

Namespace:  ASCOM.DriverAccess
Assembly:  ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
public 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)

Implements

ITelescopeV3SyncToAltAz(Double, Double)
Exceptions
ExceptionCondition
MethodNotImplementedExceptionIf the method is not implemented and CanSyncAltAz is False
InvalidValueExceptionIf an invalid azimuth or altitude is given.
NotConnectedExceptionIf the device is not connected
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request.
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