IObserving |
Exception | Condition |
---|---|
InvalidValueException | If the value set is not available for this driver. All drivers must accept 0.0 to specify that an instantaneous value is 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. |
Mandatory property, must be implemented, can NOT throw a NotImplementedException
This property should return the time period (hours) over which sensor readings will be averaged. If your driver is delivering instantaneous sensor readings this property should return a value of 0.0.
Please resist the temptation to throw exceptions when clients query sensor properties when insufficient time has passed to get a true average reading. A best estimate of the average sensor value should be returned in these situations.