IObservingConditionsAveragePeriod Property |
Namespace: ASCOM.DeviceInterface
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 | If the device is not connected and this information is only available when connected. |
Mandatory property, must be implemented, can NOT throw a PropertyNotImplementedException
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.