Click or drag to resize
IDomeV2 Interface
Defines the IDome Interface

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
public interface IDomeV2

The IDomeV2 type exposes the following members.

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 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.
Public propertyDescription
Returns a description of the device, such as manufacturer and modelnumber. Any ASCII characters may be used.
Public propertyDriverInfo
Descriptive and version information about this ASCOM driver.
Public propertyDriverVersion
A string containing only the major and minor version of the driver.
Public propertyInterfaceVersion
The interface version number that this device supports. Should return 2 for this interface version.
Public propertyName
The short name of the driver, for display purposes
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.
Top
Methods
  NameDescription
Public methodAbortSlew
Immediately cancel current dome operation.
Public methodCode exampleAction
Invokes the specified device-specific action.
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.
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.
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.
Public methodDispose
Dispose the late-bound interface, if needed. Will release it via COM if it is a COM object, else if native .NET will just dereference it for GC.
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.
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