ITelescopeV3SiteLongitude Property |
The longitude (degrees, positive East, WGS84) of the site at which the telescope is located.
Namespace: ASCOM.DeviceInterfaceAssembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax double SiteLongitude { get; set; }
Property SiteLongitude As Double
Get
Set
property double SiteLongitude {
double get ();
void set (double value);
}
Property Value
Type:
DoubleExceptions Exception | Condition |
---|
PropertyNotImplementedException | If the property is not implemented. |
InvalidValueException | If an invalid longitude is set. |
InvalidOperationException | If the application must set the longitude before reading it, but has not. |
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
See Also