PhidgetTemperatureSensor

PhidgetTemperatureSensor

A class for controlling a PhidgetTemperatureSensor.  See your product manual for more specific API details, supported functionality, units, etc.

Summary
PhidgetTemperatureSensorA class for controlling a PhidgetTemperatureSensor.
EventsEvents supported by PhidgetTemperatureSensor.
Constants
Thermocouple TypesThese are the type of thermocouples supported by the PhidgetTemperatureSensor.
Properties
TemperatureInputCountGets the number of thermocouple inputs supported by this sensor.
AmbientTemperatureGets the ambient (board) temperature.
AmbientTemperatureMinGets the minimum temperature that the ambient sensor can measure.
AmbientTemperatureMaxGets the maximum temperature that the ambient sensor can measure.
Functions
getThermocoupleTypeGets the type of thermocouple expected at a thermocouple input.
getTemperatureGets the temperature at a thermocouple input.
getTemperatureMinGets the minimum temperature that a thermocouple input can measure.
getTemperatureMaxGets the maximum temperature that a thermocouple input can measure.
getPotentialGets the potential (mV) that a thermocouple input is measuring.
getPotentialMinGets the minimum potential that a thermocouple input can measure.
getPotentialMaxGets the maximum potential that a thermocouple input can measure.
getTemperatureChangeTriggerGets the change trigger for a thermocouple input.
setTemperatureChangeTriggerSets the change trigger for a thermocouple input.
setThermocoupleTypeSets the type of thermocouple attached to a thermocouple input.

Events

Events supported by PhidgetTemperatureSensor.  Pass these constants to the addEventListener() function when adding event listeners to a Phidget object.

PhidgetDataEvent.TEMPERATURE_CHANGEtemperature change

Constants

Thermocouple Types

These are the type of thermocouples supported by the PhidgetTemperatureSensor.  These constants are used with getThermocoupleType and setThermocoupleType.

PHIDGET_TEMPERATURE_SENSOR_K_TYPEK-Type thermocouple.
PHIDGET_TEMPERATURE_SENSOR_J_TYPEJ-Type thermocouple.
PHIDGET_TEMPERATURE_SENSOR_E_TYPEE-Type thermocouple.
PHIDGET_TEMPERATURE_SENSOR_T_TYPET-Type thermocouple.

Properties

TemperatureInputCount

public function get TemperatureInputCount():int

Gets the number of thermocouple inputs supported by this sensor.

AmbientTemperature

public function get AmbientTemperature():Number

Gets the ambient (board) temperature.

AmbientTemperatureMin

public function get AmbientTemperatureMin():Number

Gets the minimum temperature that the ambient sensor can measure.

AmbientTemperatureMax

public function get AmbientTemperatureMax():Number

Gets the maximum temperature that the ambient sensor can measure.

Functions

getThermocoupleType

public function getThermocoupleType(index: int):int

Gets the type of thermocouple expected at a thermocouple input.

Parameters

indexthermocouple input.

getTemperature

public function getTemperature(index: int):Number

Gets the temperature at a thermocouple input.

Parameters

indexthermocouple input.

getTemperatureMin

public function getTemperatureMin(index: int):Number

Gets the minimum temperature that a thermocouple input can measure.

Parameters

indexthermocouple input

getTemperatureMax

public function getTemperatureMax(index: int):Number

Gets the maximum temperature that a thermocouple input can measure.

Parameters

indexthermocouple input

getPotential

public function getPotential(index: int):Number

Gets the potential (mV) that a thermocouple input is measuring.

Parameters

indexthermocouple input

getPotentialMin

public function getPotentialMin(index: int):Number

Gets the minimum potential that a thermocouple input can measure.

Parameters

indexthermocouple input

getPotentialMax

public function getPotentialMax(index: int):Number

Gets the maximum potential that a thermocouple input can measure.

Parameters

indexthermocouple input

getTemperatureChangeTrigger

public function getTemperatureChangeTrigger(index: int):Number

Gets the change trigger for a thermocouple input.

Parameters

indexthermocouple index

setTemperatureChangeTrigger

public function setTemperatureChangeTrigger(index: int,
val: Number):void

Sets the change trigger for a thermocouple input.

Parameters

indexthermocouple input
valchange trigger

setThermocoupleType

public function setThermocoupleType(index: int,
val: int):void

Sets the type of thermocouple attached to a thermocouple input.  Default is K-Type.

Parameters

indexthermocouple index
valthermocouple type
Base Phidget class from which all specific device classes inherit.
public function get TemperatureInputCount():int
Gets the number of thermocouple inputs supported by this sensor.
public function get AmbientTemperature():Number
Gets the ambient (board) temperature.
public function get AmbientTemperatureMin():Number
Gets the minimum temperature that the ambient sensor can measure.
public function get AmbientTemperatureMax():Number
Gets the maximum temperature that the ambient sensor can measure.
public function getThermocoupleType(index: int):int
Gets the type of thermocouple expected at a thermocouple input.
public function getTemperature(index: int):Number
Gets the temperature at a thermocouple input.
public function getTemperatureMin(index: int):Number
Gets the minimum temperature that a thermocouple input can measure.
public function getTemperatureMax(index: int):Number
Gets the maximum temperature that a thermocouple input can measure.
public function getPotential(index: int):Number
Gets the potential (mV) that a thermocouple input is measuring.
public function getPotentialMin(index: int):Number
Gets the minimum potential that a thermocouple input can measure.
public function getPotentialMax(index: int):Number
Gets the maximum potential that a thermocouple input can measure.
public function getTemperatureChangeTrigger(index: int):Number
Gets the change trigger for a thermocouple input.
public function setTemperatureChangeTrigger(index: int,
val: Number):void
Sets the change trigger for a thermocouple input.
public function setThermocoupleType(index: int,
val: int):void
Sets the type of thermocouple attached to a thermocouple input.
Close