Click or drag to resize
IObservingConditionsHumidity Property
Atmospheric humidity at the observatory

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
double Humidity { get; }

Property Value

Type: Double
Atmospheric humidity (%)
Exceptions
ExceptionCondition
PropertyNotImplementedExceptionIf this property is not available.
NotConnectedExceptionIf the device is not connected and this information is only available when connected.
Remarks

Optional property, can throw a PropertyNotImplementedException when the DewPoint property also throws a PropertyNotImplementedException.

Mandatory property, must NOT throw a PropertyNotImplementedException when the DewPoint property is implemented.

The ASCOM specification requires that DewPoint and Humidity are either both implemented or both throw PropertyNotImplementedExceptions. It is not allowed for one to be implemented and the other to throw a PropertyNotImplementedException. The Utilities component contains methods (DewPoint2Humidity(Double, Double) and Humidity2DewPoint(Double, Double)) to convert DewPoint to Humidity and vice versa given the ambient temperature.

This property should return a value between 0.0 and 100.0 where 0.0 = 0% relative humidity and 100.0 = 100% relative humidity.

See Also