1045 User Guide
4
Functions
int TemperatureInputCount () [get] : Constant = 1
Returns the number of temperature inputs (IR Sensors) that can be read by the PhidgetTemperatureSensor.
double Temperature (int Index) [get] : °C
Returns the temperature measured by the IR sensor. This value is returned in degrees Celsius but can easily be
converted into other units. This value will always be between TemperatureMin and TemperatureMax. Please
refer to the device specifications for noise and accuracy details.
double TemperatureMax (int Index) [get] : Constant = 380°C
Returns the maximum temperature that can be returned by an IR Sensor input.
double TemperatureMin (int Index) [get] : Constant, = -70°C
Returns the minimum temperature that can be returned by an IR Sensor input.
double TemperatureChangeTrigger(int Index) [get,set] : °C
Sets / gets the change trigger for an input. This is the amount by which the sensed temperature must change
between TemperatureChangeEvents. By default this is set to 0.1. Setting TemperatureChangeTrigger to 0 will
cause all temperature updates to fire events. This is helpful for applications that are implementing their own
filtering.
double AmbientTemperature () [get] : °C
Returns the temperature of the 1045 board, measured at the base of the IR Sensor. This temperature is used as
a reference for IR sensor temperature measurement. This value will always be between
getAmbientTemperatureMin and getAmbientTemperatureMax.
double AmbientTemperatureMax () [get] : Constant = 125°C
Returns the maximum temperature that can be returned by the ambient sensor.
double AmbientTemperatureMin () [get] : Constant = -40°C
Returns the minimum temperature that can be returned by the ambient sensor.
Events
OnTemperatureChange(int ProbeIndex, double Temperature) [event]
Event that fires whenever the temperature measured by the IR sensor changes by more than the
TemperatureChangeTrigger.
OnError(int code, String description) [event]
PhidgetTemperatureSensor returns EEPHIDGET_OUTOFRANGE when an input goes out of the range
specified by TemperatureMin-TemperatureMax. The event is reported once per input per out-of-range type,
until the value has gone back into range. The description specifies the input, the type of out-of-range error and
the out of range value that was read.
Product History