IObserving |
Exception | Condition |
---|---|
NotImplementedException | If this property is not available. |
NotConnectedException | When Connected is False. |
DriverException | An error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself. |
Optional property, can throw a NotImplementedException when the DewPoint property also throws a NotImplementedException.
Mandatory property, must NOT throw a NotImplementedException when the DewPoint property is implemented.
The ASCOM specification requires that DewPoint and Humidity are either both implemented or both throw NotImplementedExceptions. It is not allowed for one to be implemented and the other to throw a NotImplementedException. The ASCOM.Tools.Utilities component contains methods DewPoint2Humidity and Humidity2DewPoint 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.