Click or drag to resize

TelescopeSiteLongitude Property

The longitude (degrees, positive East, WGS84) of the site at which the telescope is located.

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

Property Value

Type: Double

Implements

ITelescopeV3SiteLongitude
Exceptions
ExceptionCondition
PropertyNotImplementedExceptionIf the property is not implemented.
InvalidValueExceptionIf an invalid longitude is set.
InvalidOperationExceptionIf the application must set the longitude 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 -180 to +180 degrees. Reading the property will raise an error if the value has never been set or is otherwise unavailable. Note that West is negative!

This is only available for telescope InterfaceVersions 2 and later.

See Also