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

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
double SiteLongitude { get; set; }
Visual Basic
Property SiteLongitude As Double
	Get
	Set
Visual C++
property double SiteLongitude {
	double get ();
	void set (double value);
}

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 3

Exceptions

ExceptionCondition
ASCOM..::..PropertyNotImplementedExceptionIf the property is not implemented.
ASCOM..::..InvalidValueExceptionIf an invalid longitude is set.
ASCOM..::..InvalidOperationExceptionIf the application must set the longitude before reading it, but has not.

See Also