niDMM_ConfigureThermocouple
From NI-DMM C/CVI/VB
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.
|
||||||||||||||||
| 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. |