Optional

Telescope.SlewToCoordinatesAsync() Method

Move the telescope to the given equatorial coordinates, return immediately after starting the slew.

Syntax

Telescope.SlewToCoordinatesAsync(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 CanSlewAsync returns True. Raises an error if starting the slew failed.

Returns immediately after starting the slew. The client may monitor the progress of the slew by reading the RightAscension, Declination, and Slewing properties during the slew. When the slew completes, Slewing becomes False.

The slew may fail to start 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 TargetRightAscension and TargetDeclination whether or not the slew succeeds.

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