Click or drag to resize

TelescopeSiteElevation Property

The elevation above mean sea level (meters) of the site at which the telescope is located

Namespace:  ASCOM.DriverAccess
Assembly:  ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
public double SiteElevation { get; set; }

Property Value

Type: Double

Implements

ITelescopeV3SiteElevation
Exceptions
ExceptionCondition
PropertyNotImplementedExceptionIf the property is not implemented.
InvalidValueExceptionIf an invalid elevation is set.
InvalidOperationExceptionIf the application must set the elevation before reading it, but has not.
NotConnectedExceptionIf the device is not connected
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request.
Remarks
Setting this property will raise an error if the given value is outside the range -300 through +10000 metres. Reading the property will raise an error if the value has never been set or is otherwise unavailable.

This is only available for telescope InterfaceVersions 2 and later.

See Also