Click or drag to resize

IFocuserV3Temperature Property

Current ambient temperature in degrees Celsius as measured by the focuser.

Namespace:  ASCOM.DeviceInterface
Assembly:  ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
double Temperature { get; }

Property Value

Type: Double
Exceptions
ExceptionCondition
PropertyNotImplementedExceptionIf the property is not available for this device.
NotConnectedExceptionIf the device is not connected.
DriverExceptionAn 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.
Remarks

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.

See Also