_images/Bug72.jpg

IRate Interface

class Rate

Describes a range of rates supported by the Telescope.MoveAxis() method (degrees/per second). These are contained within an the Telescope.AxisRates collection and serve to describe one or more supported ranges of rates of motion about a mechanical axis.It is possible that the Maximum and Minimum properties will be equal. In this case, the Rate object expresses a single discrete rate. Both the Minimum and Maximum properties are always expressed in units of degrees per second.

Properties

Rate.Maximum:
Returns:

The maximum rate (degrees per second)

Return type:

float

Raises:
  • InvalidValueException – If an invalid Axis is specified.

  • NotConnectedException – If the device is not connected

  • DriverException – An error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself. Includes communication errors.

Rate.Minimum:
Returns:

The minimum rate (degrees per second)

Return type:

float

Raises:
  • InvalidValueException – If an invalid Axis is specified.

  • NotConnectedException – If the device is not connected

  • DriverException – An error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself. Includes communication errors.