Click or drag to resize

Focuser Class

Provides universal access to Focuser drivers
Inheritance Hierarchy
SystemObject
  ASCOM.DriverAccessAscomDriver
    ASCOM.DriverAccessFocuser

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 7.0.0-rc.0+0
Syntax
public class Focuser : AscomDriver, IFocuserV4

The Focuser type exposes the following members.

Constructors
 NameDescription
Public methodFocuser Creates a focuser object with the given Prog ID
Top
Properties
 NameDescription
Public propertyAbsolute True if the focuser is capable of absolute position; that is, being commanded to a specific step location.
Public propertyConnected Set True to connect to the device hardware. Set False to disconnect from the device hardware. You can also read the property to check whether it is connected. This reports the current hardware state.
(Inherited from AscomDriver)
Public propertyConnecting Returns True while the device is undertaking an asynchronous connect or disconnect operation.
(Inherited from AscomDriver)
Public propertyDescription Returns a description of the device, such as manufacturer and model number. Any ASCII characters may be used.
(Inherited from AscomDriver)
Public propertyDeviceState Returns the device's operational state in a single call.
(Inherited from AscomDriver)
Public propertyDriverInfo Descriptive and version information about this ASCOM driver.
(Inherited from AscomDriver)
Public propertyDriverVersion A string containing only the major and minor version of the driver.
(Inherited from AscomDriver)
Public propertyFocuserState Focuser device state
Public propertyHasConnectAndDeviceState Returns if the device has a Platform 7 or later interface that supports Connect / Disconnect and DeviceState
(Inherited from AscomDriver)
Public propertyInterfaceVersion The interface version number that this device supports.
(Inherited from AscomDriver)
Public propertyIsMoving True if the focuser is currently moving to a new position. False if the focuser is stationary.
Public propertyLink State of the connection to the focuser.
Public propertyMaxIncrement Maximum increment size allowed by the focuser; i.e. the maximum number of steps allowed in one move operation.
Public propertyMaxStep Maximum step position permitted.
Public propertyName The short name of the driver, for display purposes
(Inherited from AscomDriver)
Public propertyPosition Current focuser position, in steps.
Public propertyStepSize Step size (microns) for the focuser.
Public propertySupportedActionsReturns the list of custom action names supported by this driver.
(Inherited from AscomDriver)
Public propertyTempComp The state of temperature compensation mode (if available), else always False.
Public propertyTempCompAvailable True if focuser has temperature compensation available.
Public propertyTemperature Current ambient temperature in degrees Celsius as measured by the focuser.
Top
Methods
 NameDescription
Public methodActionInvokes the specified device-specific custom action.
(Inherited from AscomDriver)
Public methodStatic memberChoose Brings up the ASCOM Chooser Dialogue to choose a Focuser
Public methodCommandBlind 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 AscomDriver)
Public methodCommandBool 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 AscomDriver)
Public methodCommandString 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 AscomDriver)
Public methodConnect Connect to the device asynchronously
(Inherited from AscomDriver)
Public methodDisconnect Disconnect from the device asynchronously
(Inherited from AscomDriver)
Public methodDispose 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 AscomDriver)
Public methodHalt Immediately stop any focuser motion due to a previous Move(Int32) method call.
Public methodMove Moves the focuser by the specified amount or to the specified position depending on the value of the Absolute property.
Public methodSetupDialog Launches a configuration dialogue box for the driver. The call will not return until the user clicks OK or cancel manually.
(Inherited from AscomDriver)
Top
See Also