Click or drag to resize

Dome Class

Provides universal access to ASCOM Dome drivers
Inheritance Hierarchy
SystemObject
  ASCOM.DriverAccessAscomDriver
    ASCOM.DriverAccessDome

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

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 altitude (degrees, horizon zero and increasing positive to 90 zenith) of the part of the sky that the observer wishes to observe.
Public propertyAtHome

when 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 optionally also become true during 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 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). North is true north and not magnetic north.
Public propertyCanFindHome if driver can perform a search for home position.
Public propertyCanPark if the driver is capable of parking the dome.
Public propertyCanSetAltitude if driver is capable of setting dome altitude.
Public propertyCanSetAzimuth if driver is capable of rotating the dome (or controlling the roof mechanism) in order to observe at a given azimuth.
Public propertyCanSetPark if the driver can set the dome park position.
Public propertyCanSetShutter if the driver is capable of opening and closing the shutter or roof mechanism.
Public propertyCanSlave if the dome hardware supports slaving to a telescope.
Public propertyCanSyncAzimuth if the driver is capable of synchronizing the dome azimuth position using the SyncToAzimuth(Double) 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 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 propertyDomeState Dome device state
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 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 propertyName The short name of the driver, for display purposes
(Inherited from AscomDriver)
Public propertyShutterStatus Gets the status of the dome shutter or roof structure.
Public propertySlaved if the dome is slaved to the telescope in its hardware, else .
Public propertySlewing if any part of the dome is currently moving, if all dome components are stationary.
Public propertySupportedActionsReturns the list of custom action names supported by this driver.
(Inherited from AscomDriver)
Top
Methods
 NameDescription
Public methodAbortSlew Immediately stops any and all movement.
Public methodActionInvokes the specified device-specific custom action.
(Inherited from AscomDriver)
Public methodStatic memberChoose Shows the ASCOM Chooser to select a Dome.
Public methodCloseShutter Close the shutter or otherwise shield the 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 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 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 position of dome to the park position.
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)
Public methodSlewToAltitude Ensure that the requested viewing altitude is available for observing.
Public methodSlewToAzimuth Ensure that the requested viewing azimuth is available for observing. The method should not block and the slew operation should complete asynchronously.
Public methodSyncToAzimuth Synchronize the current position of the dome to the given azimuth.
Top
Remarks

This interface can be used to control most types of observatory structure, including domes (with or without a controllable shutter), clamshells and roll off roofs.

Dome Coordinates

The azimuth and shutter altitude coordinates within this interface refer to positioning of the dome itself and are not sky coordinates from the perspective of the observing device. Mount geometry and pier location often mean that the observing device is not located at the centre point of a hemispherical dome and this results in the dome needing to be positioned at different coordinates than those of the mount in order to expose the required part of the sky to the observing device.

Calculating the required dome position is not the responsibility of the dome driver, this must be done by the client application or by an intermediary hub such as the Device Hub. The coordinates sent to the dome driver must be those required to position the dome slit in the correct position after allowing for the geometry of the mount.

Dome Slaving

A dome is said to be slaved when its azimuth and shutter altitude are controlled by a "behind the scenes" controller that knows the required telescope observing coordinates and that can calculate the required dome position after allowing for mount geometry, observing device orientation etc. When slaved and in operational use most of the dome interface methods are of little relevance apart from the shutter control methods.

How to use the Dome interface to implement a Roll-off Roof or Clamshell

A roll off roof or clamshell is implemented using the shutter control as the roof. The properties and methods should be implemented as follows:

See Also