Matches the scope's equatorial coordinates to the given equatorial coordinates.

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

Syntax

C#
void SyncToCoordinates(
	double RightAscension,
	double Declination
)
Visual Basic
Sub SyncToCoordinates ( _
	RightAscension As Double, _
	Declination As Double _
)
Visual C++
void SyncToCoordinates(
	double RightAscension, 
	double Declination
)

Parameters

RightAscension
Type: System..::..Double
The corrected right ascension (hours). Copied to the TargetRightAscension property.
Declination
Type: System..::..Double
The corrected declination (degrees, positive North). Copied to the TargetDeclination property.

Remarks

This must be implemented if the CanSync property is True. Raises an error if matching fails. Raises an error if AtPark AtPark is True, or if Tracking is False.

Exceptions

ExceptionCondition
MethodNotImplementedExceptionIf the method is not implemented and CanSync is False
InvalidValueExceptionIf an invalid right ascension or declination is given.

See Also