Platforms to show: All Mac Windows Linux Cross-Platform
Back to OldPhidgetTemperatureSensorMBS class.
OldPhidgetTemperatureSensorMBS.Constructor
Function:
The constructor.
Notes: On success the handle value is not zero.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 7.7 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: On success the handle value is not zero.
OldPhidgetTemperatureSensorMBS.getAmbientTemperature as Double
Function:
Gets the ambient (board) temperature.
Notes: The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.getAmbientTemperatureMax as Double
Function:
Gets the maximum temperature that the ambient onboard temperature sensor can measure.
Notes: The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.getAmbientTemperatureMin as Double
Function:
Gets the minimum temperature that the ambient onboard temperature sensor can measure.
Notes: The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.getPotential(index as Integer) as Double
Function:
Returns the potential value for the temperature sender with the given index.
Notes: The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 7.7 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.getPotentialMax(index as Integer) as Double
Function:
Gets the maximum potential that a thermocouple input can measure.
Notes: The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.getPotentialMin(index as Integer) as Double
Function:
Gets the minimum potential that a thermocouple input can measure.
Notes: The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.getTemperature(index as Integer) as Double
Function:
Returns the current temperature in Celsius or Fahrenheit (depending on UseImperial property).
Notes:
Index = 0 returns the temperature of the cold junction.
Index = 1 returns the temperatrue of the thermocouple.
Note that this value defaults to -500. Applications that do not wish to see this value should use Change Handlers instead of polling the device for data.
The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 7.7 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
Index = 0 returns the temperature of the cold junction.
Index = 1 returns the temperatrue of the thermocouple.
Note that this value defaults to -500. Applications that do not wish to see this value should use Change Handlers instead of polling the device for data.
The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.getTemperatureChangeTrigger(index as Integer) as Double
Function:
Gets the amount of change that should exist between the last reported value and the current value before an TemperatureChange event is fired.
Notes: The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 7.7 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.getTemperatureInputCount as Integer
Function:
Gets the number of thermocouple inputs supported by this board.
Notes: The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.getTemperatureMax(index as Integer) as Double
Function:
Gets the maximum temperature that can be measured by a thermocouple input. This depends on the type of thermocouple attached.
Notes: The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.getTemperatureMin(index as Integer) as Double
Function:
Gets the minimum temperature that can be measured by a thermocouple input.
Notes:
This depends on the type of thermocouple attached.
The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
This depends on the type of thermocouple attached.
The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.getThermocoupleType(index as Integer) as Integer
Function:
Gets the type of thermocouple set to be at a thermocouple input. By default this is K-Type.
Notes:
The Lasterror property is set.
type: The thermocouple type.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
The Lasterror property is set.
type: The thermocouple type.
OldPhidgetTemperatureSensorMBS.setTemperatureChangeTrigger(index as Integer, value as Double)
Function:
Specifies the amount of change that should exist between the last reported value and the current value before an TemperatureChange event is fired.
Notes: The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 7.7 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes: The Lasterror property is set.
OldPhidgetTemperatureSensorMBS.setThermocoupleType(index as Integer, value as Integer)
Function:
Sets the type of thermocouple plugged into a thermocouple input. By default this is K-Type.
Example:
Notes:
The Lasterror property is set.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 8.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Example:
dim t as OldPhidgetTemperatureSensorMBS
const PHIDGET_TEMPERATURE_SENSOR_K_TYPE = 1 // K-Type thermocouple
const PHIDGET_TEMPERATURE_SENSOR_J_TYPE = 2 // J-Type thermocouple
const PHIDGET_TEMPERATURE_SENSOR_E_TYPE = 3 // E-Type thermocouple
const PHIDGET_TEMPERATURE_SENSOR_T_TYPE = 4 // T-Type thermocouple
t.setThermocoupleType 0, PHIDGET_TEMPERATURE_SENSOR_T_TYPE
The items on this page are in the following plugins: MBS Phidgets Plugin.
