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

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
void SyncToAltAz(
	double Azimuth,
	double Altitude
)
Visual Basic
Sub SyncToAltAz ( _
	Azimuth As Double, _
	Altitude As Double _
)
Visual C++
void SyncToAltAz(
	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 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 3

Exceptions

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

See Also