Click or drag to resize

FocuserTemperature Property

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

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

Property Value

Type: Double

Implements

IFocuserV3Temperature
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. The device did not successfully complete the request.
Remarks

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