niDMM_ConfigureThermocouple
ViStatus = niDMM_ConfigureThermocouple(ViSession Instrument_Handle, ViInt32 Thermocouple_Type, ViInt32 Reference_Junction_Type)
Purpose
Configures the thermocouple type and reference junction type for a chosen thermocouple.
Parameters
Input |
Name |
Type |
Description |
Instrument_Handle |
ViSession |
Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None.
|
Thermocouple_Type |
ViInt32 |
Specifies the type of thermocouple used to measure the temperature. NI-DMM uses this value to set the Thermocouple Type property. The default is NIDMM_VAL_TEMP_TC_J.
NIDMM_VAL_TEMP_TC_B | Thermocouple type B |
NIDMM_VAL_TEMP_TC_E | Thermocouple type E |
NIDMM_VAL_TEMP_TC_J | Thermocouple type J |
NIDMM_VAL_TEMP_TC_K | Thermocouple type K |
NIDMM_VAL_TEMP_TC_N | Thermocouple type N |
NIDMM_VAL_TEMP_TC_R | Thermocouple type R |
NIDMM_VAL_TEMP_TC_S | Thermocouple type S |
NIDMM_VAL_TEMP_TC_T | Thermocouple type T |
|
Reference_Junction_Type |
ViInt32 |
Specifies the type of reference junction to be used in the reference junction compensation of a thermocouple measurement. NI-DMM uses this value to set the Reference Junction Type property. The only supported value is NIDMM_VAL_TEMP_REF_JUNC_FIXED.
|
Return Value
Name |
Type |
Description |
Status |
ViStatus |
Reports the Status of this operation. To obtain a text description of the status code, call
niDMM_error_message. To obtain additional information concerning the error condition, use
niDMM_GetError. |