Show / Hide Table of Contents

Interface IRotator

Defines the capabilities supported by an ASCOM Alpaca Rotator device

Inherited Members
IDevice.DeviceNumber
IDevice.InvokeAction(String, String)
IDevice.SendCommandBlind(String, Boolean)
IDevice.SendCommandBool(String, Boolean)
IDevice.SendCommandString(String, Boolean)
IDevice.IsConnected()
IDevice.SetConnected(Boolean)
IDevice.GetDescription()
IDevice.GetDriverInfo()
IDevice.GetDriverVersion()
IDevice.GetInterfaceVersion()
IDevice.GetName()
IDevice.GetSupportedActions()
Namespace: ES.Ascom.Alpaca.Devices
Assembly: ES.Ascom.Alpaca.Shared.dll
Syntax
public interface IRotator : IDevice

Methods

| Improve this Doc View Source

CanReverse()

Indicates whether the rotator supports the Reverse method.

Declaration
bool CanReverse()
Returns
Type Description
System.Boolean

True if the rotator supports the Reverse method.

| Improve this Doc View Source

GetPosition()

Returns the rotator's current position.

Declaration
double GetPosition()
Returns
Type Description
System.Double

Current instantaneous Rotator position, in degrees.

| Improve this Doc View Source

GetStepSize()

Returns the minimum StepSize

Declaration
double GetStepSize()
Returns
Type Description
System.Double

The minimum StepSize, in degrees.

| Improve this Doc View Source

GetStepSizeAsync()

Returns the minimum StepSize

Declaration
Task<double> GetStepSizeAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Double>

The minimum StepSize, in degrees.

| Improve this Doc View Source

GetTargetPosition()

Returns the destination position angle for Move() and MoveAbsolute().

Declaration
double GetTargetPosition()
Returns
Type Description
System.Double
| Improve this Doc View Source

Halt()

Immediately stop any Rotator motion due to a previous Move or MoveAbsolute method call.

Declaration
void Halt()
| Improve this Doc View Source

IsMoving()

Indicates whether the rotator is currently moving.

Declaration
bool IsMoving()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsReversed()

Returns the rotator’s Reverse state.

Declaration
bool IsReversed()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Move(Double)

Causes the rotator to move Position degrees relative to the current Position value.

Declaration
void Move(double position)
Parameters
Type Name Description
System.Double position

Relative position to move in degrees from current Position.

| Improve this Doc View Source

MoveAbsolute(Double)

Causes the rotator to move the absolute position of Position degrees.

Declaration
void MoveAbsolute(double position)
Parameters
Type Name Description
System.Double position

Absolute position in degrees.

| Improve this Doc View Source

SetReversed(Boolean)

Sets the rotator’s Reverse state.

Declaration
void SetReversed(bool reversed)
Parameters
Type Name Description
System.Boolean reversed

True if the rotation and angular direction must be reversed to match the optical characteristcs

See Also

IRotatorAsync
  • Improve this Doc
  • View Source
Back to top Generated by DocFX