IRotatorV4 Interface

Rotator interface version 4, which incorporates the new members in IAscomDeviceV2 and the members present in IRotatorV3

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
C#
public interface IRotatorV4 : IAscomDeviceV2, 
	IAscomDevice, IRotatorV3
Implements
IAscomDevice, IAscomDeviceV2, IRotatorV3

Properties

CanReverse Indicates whether the Rotator supports the Reverse method.
(Inherited from IRotatorV3)
Connected Set True to enable the link. Set False to disable the link. You can also read the property to check whether it is connected.
(Inherited from IAscomDevice)
Connecting Completion variable for asynchronous connect and disconnect operations
(Inherited from IAscomDeviceV2)
Description Returns a description of the driver, such as manufacturer and model number.
(Inherited from IAscomDevice)
DeviceState Returns the device's operational state in a single call
(Inherited from IAscomDeviceV2)
DriverInfo Descriptive and version information about this ASCOM driver.
(Inherited from IAscomDevice)
DriverVersion A string in the form "n.n" containing only the major and minor version of the driver.
(Inherited from IAscomDevice)
InterfaceVersion The interface version number that this device implements.
(Inherited from IAscomDevice)
IsMoving Indicates whether the rotator is currently moving
(Inherited from IRotatorV3)
MechanicalPosition This returns the raw mechanical position of the rotator in degrees.
(Inherited from IRotatorV3)
Name The short name of the driver, for display purposes
(Inherited from IAscomDevice)
Position Current instantaneous Rotator position, allowing for any sync offset, in degrees.
(Inherited from IRotatorV3)
Reverse Sets or Returns the rotator’s Reverse state.
(Inherited from IRotatorV3)
StepSize The minimum StepSize, in degrees.
(Inherited from IRotatorV3)
SupportedActions Returns the list of action names supported by this driver.
(Inherited from IAscomDevice)
TargetPosition The destination position angle for Move() and MoveAbsolute().
(Inherited from IRotatorV3)

Methods

Action Invokes the specified device-specific action.
(Inherited from IAscomDevice)
CommandBlind Transmits an arbitrary string to the device and does not wait for a response. Optionally, protocol framing characters may be added to the string before transmission.
(Inherited from IAscomDevice)
CommandBool Transmits an arbitrary string to the device and waits for a boolean response. Optionally, protocol framing characters may be added to the string before transmission.
(Inherited from IAscomDevice)
CommandString Transmits an arbitrary string to the device and waits for a string response. Optionally, protocol framing characters may be added to the string before transmission.
(Inherited from IAscomDevice)
Connect Connect to device asynchronously
(Inherited from IAscomDeviceV2)
Disconnect Disconnect from device asynchronously
(Inherited from IAscomDeviceV2)
Dispose This method is a "clean-up" method that is primarily of use to drivers that are written in languages such as C# and VB.NET where resource clean-up is initially managed by the language's runtime garbage collection mechanic. Driver authors should take care to ensure that a client or runtime calling Dispose() does not adversely affect other connected clients. Applications should not call this method.
(Inherited from IAscomDevice)
Halt Immediately stop any Rotator motion due to a previous Move or MoveAbsolute method call.
(Inherited from IRotatorV3)
Move Causes the rotator to move Position degrees relative to the current Position value.
(Inherited from IRotatorV3)
MoveAbsolute Causes the rotator to move the absolute position of Position degrees.
(Inherited from IRotatorV3)
MoveMechanical Moves the rotator to the specified mechanical angle.
(Inherited from IRotatorV3)
Sync Syncs the rotator to the specified position angle without moving it.
(Inherited from IRotatorV3)

Extension Methods

ConnectAsync Returns an awaitable, running, Task that connects to the device. (Polls IAscomDeviceV2.Connecting)
(Defined by ClientExtensions)
DisconnectAsync Returns an awaitable, running, Task that disconnects from the device. (Polls IAscomDeviceV2.Connecting)
(Defined by ClientExtensions)
HaltAsync Returns an awaitable, running, Task that halts rotator movement
(Defined by ClientExtensions)
MoveAbsoluteAsync Returns an awaitable, running, Task that moves the rotator to the specified absolute position
(Defined by ClientExtensions)
MoveAsync Returns an awaitable, running, Task that moves the rotator to the specified relative position
(Defined by ClientExtensions)
MoveMechanicalAsync Returns an awaitable, running, Task that moves the rotator to the specified mechanical position
(Defined by ClientExtensions)

Version Information

.NET Standard

Supported in: 2.0

See Also