Optional

Telescope.SlewToCoordinates() Method

Move the telescope to the given equatorial coordinates, return when slew is complete

Syntax

Telescope.SlewToCoordinates(RightAscension, Declination)

The method syntax has these parts:

Part Description
RightAscension (Double) The destination right ascension (hours). Copied to Telescope.TargetRightAscension.
Declination (Double) The destination declination (degrees, positive North). Copied to Telescope.TargetDeclination.
Return (Nothing) Does not return a value.

Remarks

This Method must be implemented if CanSlew 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 target coordinates are copied to Telescope.TargetRightAscension and Telescope.TargetDeclination whether or not the slew succeeds.

Raises an error if AtPark is True, or if Tracking is False.