IFocuserV3Temperature Property |
Namespace: ASCOM.DeviceInterface
Exception | Condition |
---|---|
PropertyNotImplementedException | If the property is not available for this device. |
NotConnectedException | If the device is not connected. |
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. |
Can throw a not implemented exception
Raises an exception if ambient temperature is not available. Commonly available on focusers with a built-in temperature compensation mode.
Clarification - October 2019
Historically no units were specified for this property. Henceforth, if applications need to process the supplied temperature, they should proceed on the basis that the units are degrees Celsius for consistency with Temperature. Conversion to other temperature units can be achieved through the ConvertUnits(Double, Units, Units) utility method.