Calculate:temperature:tcouple - VXI VT1422A User Manual

Remote channel multi-function dac module user’s and scpi programming manual
Table of Contents

Advertisement

CALCulate
Usage

CALCulate:TEMPerature:TCouple?

Parameters
Comments
Usage
ViSession vi;
ViStatus errStatus;
ViReal64 degC;
ViReal64 voltArray[64];
ViReal64 tempArray[64];
ViInt32 howManyRead;
ViString command;
/* set up thermocouple measurement. In command below, channel 10001 is the
thermistor channel and channel 10000 is the excitation voltage used for the
thermistor measurement.
*/
errStatus = hpe1422_cmd(vi, "SENS:REF THER,5000,(@10000),(@10001)");
/* set up thermocouple channels */
errStatus = hpe1422_cmd(vi, "SENS:FUNC:TEMP:POST TC,J,(@10002:10031)");
/* specify thermistor as reference for thermocouples */
260 VT1422A Command Reference
CALC:TEMP:THER? 0.0617,5.0
CALCulate:TEMPerature:TCouple? <type>,<thr_temp>,<volt_array>
an array of thermocouple output voltages into temperatures. The thermocouple type
is specified in the <type> parameter and the isothermal reference temperature is
specified in the <thr_temp> parameter. The temperature values are returned in ºC.
This command is available with VXIplug&play driver revision A.01.09 or later
(revision A.01.06 or later of hpe1422_32.dll).
Parameter
Parameter
Name
type
discrete (string)
thr_temp
numeric (float32)
volt_array
see description
The <volt_array> is an IEEE-488.2 definite length block of double (float64)
values, which is the array of thermocouple output voltages.
Returned Value: array of temperatures in ºC. The data type is double (float64).
Related Commands: CALC:TEMP:THER?
Send with VXIplug&play Function: hpe1422_cmdTempTC_Q(...)
The following code segment shows the VXIplug&play command sequence:
/* thermistor temperature */
Compute thermistor temperature with
thermistor voltage = 0.0617 V, excitation
voltage = 5.0 V and resistance = 400 kΩ
Type
depends on thermocouple type
converts
Range of
Values
E | J | T
-50 to +100
Chapter 7
Default
Units
none
ºC
volts

Advertisement

Table of Contents
loading

Table of Contents