Optional

Telescope.SlewToAltAzAsync() Method

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

Syntax

Telescope.SlewToAltAzAsync(Azimuth, Altitude)

The method syntax has these parts:

Part Description
Azimuth (Double) Target azimuth (degrees, North-referenced, positive East/clockwise).
Altitude (Double) Target altitude (degrees, positive up)
Return (Nothing) Does not return a value.

Remarks

This Method must be implemented if CanSlewAltAzAsync returns True. This method should only be implemented if the properties Altitude, Azimuth, Right Ascension, Declination and Slewing can be read while the scope is slewing. Raises an error if starting the slew fails.

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

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 TargetRightAscension and TargetDeclination properties are not changed by this method.

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