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: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
public bool CanMoveAxis(
	TelescopeAxes Axis
)

Parameters

Axis
Type: ASCOM.DeviceInterfaceTelescopeAxes
Primary, Secondary or Tertiary axis

Return Value

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

Return Value

Type: Boolean
Boolean indicating can or can not move the requested axis

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