Click or drag to resize

TelescopeCanMoveAxis Method

Shows whether the telescope can be controlled about the specified axis via the MoveAxis() method.

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntax
public bool CanMoveAxis(
	TelescopeAxes Axis
)

Parameters

Axis  TelescopeAxes
Primary, Secondary or Tertiary axis

Return Value

Boolean
Boolean - True if the telescope can be controlled about the specified axis via the MoveAxis() method.

Implements

ITelescopeV3CanMoveAxis(TelescopeAxes)
Exceptions
ExceptionCondition
InvalidValueExceptionIf an invalid Axis is specified
NotConnectedExceptionIf the device is not connected
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request.
Remarks
See the description of MoveAxis() for more information. The (symbolic) values for TelescopeAxes are:
  • 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)
  • See Also