Show / Hide Table of Contents

Interface IFilterWheelAsync

Defines the capabilities supported by an ASCOM Alpaca Filter wheel device

Inherited Members
IDeviceAsync.DeviceNumber
IDeviceAsync.InvokeActionAsync(String, String)
IDeviceAsync.SendCommandBlindAsync(String, Boolean)
IDeviceAsync.SendCommandBoolAsync(String, Boolean)
IDeviceAsync.SendCommandStringAsync(String, Boolean)
IDeviceAsync.IsConnectedAsync()
IDeviceAsync.SetConnectedAsync(Boolean)
IDeviceAsync.GetDescriptionAsync()
IDeviceAsync.GetDriverInfoAsync()
IDeviceAsync.GetDriverVersionAsync()
IDeviceAsync.GetInterfaceVersionAsync()
IDeviceAsync.GetNameAsync()
IDeviceAsync.GetSupportedActionsAsync()
Namespace: ES.Ascom.Alpaca.Devices
Assembly: ES.Ascom.Alpaca.Shared.dll
Syntax
public interface IFilterWheelAsync : IDeviceAsync

Methods

| Improve this Doc View Source

GetFocusOffsetsAsync()

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

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX