Optional
Telescope.MoveAxis() Method
Move the telescope in one axis at the given rate.
Syntax
Telescope.MoveAxis(Axis, Rate)
The method syntax has these parts:
Part |
Description |
Axis (TelescopeAxes) |
The physical axis about which movement is desired |
Rate (Double) |
The rate of motion (deg/sec, + = clockwise) about the specified axis |
Return (Nothing) |
Does not return a value. |
Remarks
This method supports control of the mount about its mechanical axes. The telescope will start moving at the specified rate about the specified axis and continue indefinitely. This method can be called for each axis separately, and have them all operate concurretly at separate rates of motion. The sign of the Rate parameter determines the direction of motion, with positive being clockwise and negative being counterclockwise.
Set the rate for an axis to zero to stop the motionabout that axis. Tracking motion (if enabled, see note below) is suspended during this mode of operation. Raises an error if AtPark is true.
This must be implemented for the if the CanMoveAxis property returns True for the given axis.
Notes:
- The movement rate must be within the value(s) obtained from a Rate object in the the AxisRates collection. An out of range exception is raised the rate is out of range.
- The value of the Slewing property must be True if the telescope is moving about any of its axes as a result of this method being called.
- This can be used to simulate a handbox by initiating motion with the MouseDown event and stopping the motion with the MouseUp event.
- When the motion is stopped the scope will be set to the previous TrackingRate or to no movement, depending on the state of the Tracking property.
- It may be possible to implement satellite tracking by using the MoveAxis() method to move the scope in the required manner to track a satellite.
Symbolic Constants
The (symbolic) values for TelescopeAxes are:
Constant |
Value |
Description |
axisPrimary |
0 |
Primary axis (e.g., Right Ascension or Azimuth) |
axisSecondary |
1 |
Secondary axis (e.g., Declination or Altitude) |
axisTertiary |
2 |
Tertiary axis (e.g. imager rotator/de-rotator) |
Copyright © 2001-2004, The ASCOM Initiative