Click or drag to resize
Dome Class
Provides universal access to ASCOM Dome drivers
Inheritance Hierarchy

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
public class Dome : AscomDriver, IDomeV2

The Dome type exposes the following members.

Constructors
  NameDescription
Public methodDome
Constructor for Dome class. Creates a Dome based on the ProgID in the DomeID string.
Top
Properties
  NameDescription
Public propertyAltitude
The dome altitude (degrees, horizon zero and increasing positive to 90 zenith).
Public propertyAtHome
Indicates whether the dome is in the home position. Raises an error if not supported.

This is normally used following a FindHome operation. The value is reset with any azimuth slew operation that moves the dome away from the home position.

AtHome may also become true durng normal slew operations, if the dome passes through the home position and the dome controller hardware is capable of detecting that; or at the end of a slew operation if the dome comes to rest at the home position.

Public propertyAtPark
True if the dome is in the programmed park position.
Public propertyAzimuth
The dome azimuth (degrees, North zero and increasing clockwise, i.e., 90 East, 180 South, 270 West)
Public propertyCanFindHome
True if driver can do a search for home position.
Public propertyCanPark
True if driver is capable of setting dome altitude.
Public propertyCanSetAltitude
True if driver is capable of setting dome altitude.
Public propertyCanSetAzimuth
True if driver is capable of setting dome azimuth.
Public propertyCanSetPark
True if driver can set the dome park position.
Public propertyCanSetShutter
True if driver is capable of automatically operating shutter.
Public propertyCanSlave
True if the dome hardware supports slaving to a telescope.
Public propertyCanSyncAzimuth
True if driver is capable of synchronizing the dome azimuth position using the Dome.SyncToAzimuth method.
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 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 propertyName
The short name of the driver, for display purposes
(Inherited from AscomDriver.)
Public propertyShutterStatus
Status of the dome shutter or roll-off roof.
Public propertySlaved
True if the dome is slaved to the telescope in its hardware, else False.
Public propertySlewing
True if any part of the dome is currently moving, False if all dome components are steady.
Public propertySupportedActions
Returns the list of action names supported by this driver.
(Inherited from AscomDriver.)
Top
Methods
  NameDescription
Public methodAbortSlew
Immediately cancel current dome operation.
Public methodCode exampleAction
Invokes the specified device-specific action.
(Inherited from AscomDriver.)
Public methodStatic memberChoose
Shows the ASCOM Chooser to select a Dome.
Public methodCloseShutter
Close shutter or otherwise shield telescope from the sky.
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 methodFindHome
Start operation to search for the dome home position.
Public methodOpenShutter
Open shutter or otherwise expose telescope to the sky.
Public methodPark
Rotate dome in azimuth to park position.
Public methodSetPark
Set the current azimuth, altitude position of dome to be the park position.
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.)
Public methodSlewToAltitude
Slew the dome to the given altitude position.
Public methodSlewToAzimuth
Slew the dome to the given azimuth position.
Public methodSyncToAzimuth
Synchronize the current position of the dome to the given azimuth.
Top
See Also