Interface IFocuser
Defines the capabilities supported by an ASCOM Alpaca Focuser device
Inherited Members
Namespace: ES.Ascom.Alpaca.Devices
Assembly: ES.Ascom.Alpaca.Shared.dll
Syntax
public interface IFocuser : IDevice
Methods
| Improve this Doc View SourceGetMaxIncrement()
Maximum increment size allowed by the focuser; i.e. the maximum number of steps allowed in one move operation.
Declaration
int GetMaxIncrement()
Returns
Type | Description |
---|---|
System.Int32 |
GetMaxStep()
Returns the focuser's maximum step size.
Declaration
int GetMaxStep()
Returns
Type | Description |
---|---|
System.Int32 |
GetPosition()
Returns the focuser's current position.
Declaration
int GetPosition()
Returns
Type | Description |
---|---|
System.Int32 |
GetStepSize()
Returns the focuser's step size.
Declaration
double GetStepSize()
Returns
Type | Description |
---|---|
System.Double | Step size (microns) for the focuser. |
GetTemperature()
Returns the focuser's current temperature.
Declaration
double GetTemperature()
Returns
Type | Description |
---|---|
System.Double |
Halt()
Immediately stops focuser motion.
Declaration
void Halt()
IsAbsolute()
Indicates whether the focuser is capable of absolute position.
Declaration
bool IsAbsolute()
Returns
Type | Description |
---|---|
System.Boolean | True if the focuser is capable of absolute position |
IsMoving()
Indicates whether the focuser is currently moving.
Declaration
bool IsMoving()
Returns
Type | Description |
---|---|
System.Boolean | True if the focuser is currently moving to a new position. False if the focuser is stationary. |
IsTempComp()
Gets the state of temperature compensation mode (if available), else always False.
Declaration
bool IsTempComp()
Returns
Type | Description |
---|---|
System.Boolean |
IsTempCompAvailable()
Indicates whether the focuser has temperature compensation.
Declaration
bool IsTempCompAvailable()
Returns
Type | Description |
---|---|
System.Boolean | True if focuser has temperature compensation available. |
Move(Int32)
Moves the focuser by the specified amount or to the specified position depending on the value of the Absolute property.
Declaration
void Move(int position)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | position | Step distance or absolute position, depending on the value of the Absolute property |
SetTempComp(Boolean)
Sets the state of temperature compensation mode.
Declaration
void SetTempComp(bool tempComp)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | tempComp | Set true to enable the focuser's temperature compensation mode, otherwise false for normal operation. |