Interface IFilterWheelAsync
Defines the capabilities supported by an ASCOM Alpaca Filter wheel device
Inherited Members
Namespace: ES.Ascom.Alpaca.Devices
Assembly: ES.Ascom.Alpaca.Shared.dll
Syntax
public interface IFilterWheelAsync : IDeviceAsync
Methods
| Improve this Doc View SourceGetFocusOffsetsAsync()
Get the filter focus offsets
Declaration
Task<IList<int>> GetFocusOffsetsAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IList<System.Int32>> | Focus offsets |
GetNamesAsync()
Get the Filter wheel filter names
Declaration
Task<IList<string>> GetNamesAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IList<System.String>> | Filter names |
GetPositionAsync()
Returns the current filter wheel position or -1 if wheel is moving.
The position is a number 0 and N-1, where N is the number of filter slots. Starts filter wheel rotation immediately when written.
Declaration
Task<int> GetPositionAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> | current filter wheel position or -1 if wheel is moving |
SetPositionAsync(Int32)
Sets the filter wheel position.
The position is a number 0 and N-1, where N is the number of filter slots. Starts filter wheel rotation immediately when written.
Declaration
Task SetPositionAsync(int position)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | position | The filter wheel position |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |