Click or drag to resize

CoverCalibrator Class

Provides universal access to CoverCalibrator drivers
Inheritance Hierarchy
SystemObject
  ASCOM.DriverAccessAscomDriver
    ASCOM.DriverAccessCoverCalibrator

Namespace:  ASCOM.DriverAccess
Assembly:  ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
Syntax
public class CoverCalibrator : AscomDriver, 
	ICoverCalibratorV1

The CoverCalibrator type exposes the following members.

Constructors
  NameDescription
Public methodCoverCalibrator
Creates a CoverCalibrator object with the given ProgID
Top
Properties
  NameDescription
Public propertyBrightness
Returns the current calibrator brightness in the range 0 (completely off) to MaxBrightness (fully on)
Public propertyCalibratorState
Returns the state of the calibration device, if present, otherwise returns "NotPresent"
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 propertyCoverState
Returns the state of the device cover, if present, otherwise returns "NotPresent"
Public propertyDescription
Returns a description of the device, such as manufacturer and modelnumber. Any ASCII characters may be used.
(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 propertyInterfaceVersion
The interface version number that this device supports.
(Inherited from AscomDriver.)
Public propertyMaxBrightness
The Brightness value that makes the calibrator deliver its maximum illumination.
Public propertyName
The short name of the driver, for display purposes
(Inherited from AscomDriver.)
Public propertySupportedActions
Returns the list of custom action names supported by this driver.
(Inherited from AscomDriver.)
Top
Methods
  NameDescription
Public methodAction
Invokes the specified device-specific custom action.
(Inherited from AscomDriver.)
Public methodCalibratorOff
Turns the calibrator off if the device has calibration capability
Public methodCalibratorOn
Turns the calibrator on at the specified brightness if the device has calibration capability
Public methodStatic memberChoose
Brings up the ASCOM Chooser Dialogue to choose a CoverCalibrator
Public methodCloseCover
Initiates cover closing if a cover is present
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 methodDispose
Releases the unmanaged late bound COM object
(Inherited from AscomDriver.)
Public methodHaltCover
Stops any cover movement that may be in progress if a cover is present and cover movement can be interrupted.
Public methodOpenCover
Initiates cover opening if a cover is present
Public methodSetupDialog
Launches a configuration dialog box for the driver. The call will not return until the user clicks OK or cancel manually.
(Inherited from AscomDriver.)
Top
See Also