Skip to content

NI DMM Configuration Attributes

ni-siray edited this page May 7, 2021 · 10 revisions

Configuration Attributes

NIDMM_ATTRIBUTE_RESOLUTION_ABSOLUTE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W None niDMM_ConfigureMeasurementDigits
niDMM_ConfigureMeasurementAbsolute

Description

Specifies the measurement resolution in absolute units. Setting this attribute to higher values increases the measurement accuracy. Setting this attribute to lower values increases the measurement speed.

Note  NI-DMM ignores this attribute for capacitance and inductance measurements on the NI 4082 and NI 4072. To achieve better resolution for such measurements, use the NIDMM_ATTRIBUTE_LC_NUMBER_MEAS_TO_AVERAGE attribute

NIDMM_ATTRIBUTE_APERTURE_TIME

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W Yes niDMM_GetApertureTimeInfo

Description

Specifies the measurement aperture time for the current configuration. Aperture time is specified in units set by NIDMM_ATTRIBUTE_APERTURE_TIME_UNITS. To override the default aperture, set this attribute to the desired aperture time after calling niDMM_ConfigureMeasurementDigits. To return to the default, set this attribute to NIDMM_VAL_APERTURE_TIME_AUTO (-1).

Any number of powerline cycles (PLCs) within the minimum and maximum ranges is allowed on the NI 4080/4081/4082 and NI 4070/4071/4072.

On the NI 4065, the minimum aperture time is 333 µs, and the maximum aperture time is 78.2 s. If setting the number of averages directly, the total measurement time is aperture time X the number of averages, which must be less than 72.8 s. The aperture times allowed are 333 µs, 667 µs, or multiples of 1.11 ms—for example 1.11 ms, 2.22 ms, 3.33 ms, and so on. If you set an aperture time other than 333 µs, 667 µs, or multiples of 1.11 ms, the value will be coerced up to the next supported aperture time.

On the NI 4060, when the powerline frequency is 60 Hz, the PLCs allowed are 1 PLC, 6 PLC, 12 PLC, and 120 PLC. When the powerline frequency is 50 Hz, the PLCs allowed are 1 PLC, 5 PLC, 10 PLC, and 100 PLC.

NIDMM_ATTRIBUTE_APERTURE_TIME_UNITS

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_GetApertureTimeInfo

ViInt32 Description

Specifies the units of aperture time for the current configuration.

Note  The NI 4060 does not support an aperture time set in seconds

Defined Values

NIDMM_VAL_SECONDS 0 Seconds
NIDMM_VAL_POWER_LINE_CYCLES 1 Powerline Cycles

NIDMM_ATTRIBUTE_NUMBER_OF_AVERAGES

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None None

Description

Specifies the number of averages to perform in a measurement. For the NI 4080/4081/4082 and NI 4070/4071/4072, applies only when the aperture time is not set to AUTO and Auto Zero is ON. The default is 1.

Note  The NI 4050 and NI 4060 are not supported

NIDMM_ATTRIBUTE_OPERATION_MODE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None None

Description

Specifies how the DMM acquires data.

When you call niDMM_ConfigureMeasurementDigits, NI-DMM sets this attribute to NIDMM_VAL_IVIDMM_MODE. When you call niDMM_ConfigureWaveformAcquisition, NI-DMM sets this attribute to NIDMM_VAL_WAVEFORM_MODE. If you are programming attributes directly, you must set this attribute before setting other configuration attributes.

Note  The NI 4050 and NI 4060 are not supported

Defined Values

NIDMM_VAL_IVIDMM_MODE Single or multipoint measurements—when the NIDMM_ATTRIBUTE_TRIGGER_COUNT and NIDMM_ATTRIBUTE_SAMPLE_COUNT attributes are both set to 1, the NI 4065 and NI 4070/4071/4072 take a single-point measurement; otherwise, NI-DMM takes multipoint measurements.
NIDMM_VAL_WAVEFORM_MODE Waveform Mode configures the NI 4070/4071/4072 to take waveform measurements.

NIDMM_ATTRIBUTE_SETTLE_TIME

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W None None

Description

Specifies the settling time in seconds. To override the default settling time, set this attribute. To return to the default, set this attribute to NIDMM_VAL_SETTLE_TIME_AUTO (-1).

Note  The NI 4050 and NI 4060 are not supported

NIDMM_ATTRIBUTE_AUTO_RANGE_VALUE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 RO None niDMM_GetAutoRangeValue

Description

Specifies the value of the range. If auto ranging is enabled, shows the actual value of the active range. The value of this attribute is set during a read operation.

NIDMM_ATTRIBUTE_RESOLUTION_DIGITS

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W None niDMM_ConfigureMeasurementDigits
niDMM_ConfigureMeasurementAbsolute

Description

Specifies the measurement resolution in digits. Setting this attribute to higher values increases the measurement accuracy. Setting this attribute to lower values increases the measurement speed.

Note  NI-DMM ignores this attribute for capacitance and inductance measurements on the NI 4082 and NI 4072. To achieve better resolution for such measurements, use the NIDMM_ATTRIBUTE_LC_NUMBER_MEAS_TO_AVERAGE attribute

NIDMM_ATTRIBUTE_FUNCTION

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureMeasurementDigits
niDMM_ConfigureWaveformAcquisition

Description

Specifies the measurement function.

Note   If you are setting this attribute directly, you must also set the NIDMM_ATTRIBUTE_OPERATION_MODE attribute, which controls whether the DMM takes standard single or multipoint measurements, or acquires a waveform. If you are programming attributes directly, you must set the NIDMM_ATTRIBUTE_OPERATION_MODE attribute before setting other configuration attributes. If the NIDMM_ATTRIBUTE_OPERATION_MODE attribute is set to NIDMM_VAL_WAVEFORM_MODE, the only valid function types are NIDMM_VAL_WAVEFORM_VOLTAGE and NIDMM_VAL_WAVEFORM_CURRENT. Set the NIDMM_ATTRIBUTE_OPERATION_MODE attribute to NIDMM_VAL_IVIDMM_MODE to set all other function values

Defined Values

Name Default Value Description Devices supported
NIDMM_VAL_DC_VOLTS 1 DC Voltage All
NIDMM_VAL_AC_VOLTS 2 AC Voltage with AC Coupling All
NIDMM_VAL_DC_CURRENT 3 DC Current All
NIDMM_VAL_AC_CURRENT 4 AC Current All
NIDMM_VAL_2_WIRE_RES 5 2-Wire Resistance All
NIDMM_VAL_4_WIRE_RES 101 4-Wire Resistance NI 4060, NI 4065, NI 4070/4071/4072, NI 4080/4081/4082
NIDMM_VAL_FREQ 104 Frequency NI 4070/4071/4072 and NI 4080/4081/4082
NIDMM_VAL_PERIOD 105 Period NI 4070/4071/4072 and NI 4080/4081/4082
NIDMM_VAL_AC_VOLTS_DC_COUPLED 1001 AC Voltage with DC Coupling NI 4070/4071/4072 and NI 4080/4081/4082
NIDMM_VAL_DIODE 1002 Diode All
NIDMM_VAL_WAVEFORM_VOLTAGE 1003 Waveform Voltage NI 4070/4071/4072 and NI 4080/4081/4082
NIDMM_VAL_WAVEFORM_CURRENT 1004 Waveform Current NI 4070/4071/4072 and NI 4080/4081/4082
NIDMM_VAL_CAPACITANCE 1005 Capacitance NI 4072 and NI 4082
NIDMM_VAL_INDUCTANCE 1006 Inductance NI 4072 and NI 4082

NIDMM_ATTRIBUTE_ADC_CALIBRATION

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureADCCalibration

Description

For the NI 4080/4081/4082 and the NI 4070/4071/4072, specifies the ADC calibration mode.

Defined Values

NIDMM_VAL_ADC_CALIBRATION_AUTO (default) -1.0 The DMM enables or disables ADC calibration based on the configured function and resolution.
NIDMM_VAL_ADC_CALIBRATION_OFF 0 The DMM does not compensate for changes to the gain.
NIDMM_VAL_ADC_CALIBRATION_ON 1 The DMM measures an internal reference to calculate the correct gain for the measurement.

NIDMM_ATTRIBUTE_AUTO_ZERO

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureAutoZeroMode

Description

Specifies the Auto Zero mode.

Defined Values

NIDMM_VAL_AUTO_ZERO_AUTO (default) -1 NI-DMM chooses the Auto Zero setting based on the configured function and resolution.
NIDMM_VAL_AUTO_ZERO_OFF 0 Disables Auto Zero.

Note  The NI 4065 does not support this setting

Defined Values
NIDMM_VAL_AUTO_ZERO_ON 1 The DMM internally disconnects the input signal following each measurement and takes a zero reading. It then subtracts the zero reading from the preceding reading.

Note  For NI 4065 devices, Auto Zero is always ON. Auto Zero is an integral part of the signal measurement phase and adds no extra time to the overall measurement

Defined Values
NIDMM_VAL_AUTO_ZERO_ONCE 2 The DMM internally disconnects the input signal following each measurement and takes a zero reading. It then subtracts the zero reading from the preceding reading.

Note  The NI 4060/4065 does not support this setting

NIDMM_ATTRIBUTE_DC_BIAS

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None None

Description

For the NI 4082 and NI 4072 only, controls the available DC bias for capacitance measurements.

Defined Values

NIDMM_VAL_DC_BIAS_OFF 0 NI-DMM programs the device not to use the DC bias.
NIDMM_VAL_DC_BIAS_ON 1 NI-DMM programs the device to use the DC bias.

NIDMM_ATTRIBUTE_LC_CALCULATION_MODEL

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None None

Description

For the NI 4082 and NI 4072 only, specifies the type of algorithm that the measurement processing uses for capacitance and inductance measurements.

Defined Values

NIDMM_VAL_CALC_MODEL_AUTO -1 NI-DMM chooses the algorithm based on function and range.
NIDMM_VAL_CALC_MODEL_SERIES 0 NI-DMM uses the series impedance model to calculate capacitance and inductance.
NIDMM_VAL_CALC_MODEL_PARALLEL 1 NI-DMM uses the parallel admittance model to calculate capacitance and inductance.

NIDMM_ATTRIBUTE_CABLE_COMP_TYPE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureCableCompType

Description

For the NI 4082 and NI 4072 only, specifies the type of cable compensation that is applied to the current capacitance or inductance measurement for the current range.

Note  Changing the function or the range through this attribute or through niDMM_ConfigureMeasurementDigits resets the value of this attribute to the default value

Defined Values

NIDMM_VAL_CABLE_COMP_NONE (default) 0 No Cable Compensation
NIDMM_VAL_CABLE_COMP_OPEN 1 Open Cable Compensation
NIDMM_VAL_CABLE_COMP_SHORT 2 Short Cable Compensation
NIDMM_VAL_CABLE_COMP_OPEN_AND_SHORT 3 Open and Short Cable Compensation

NIDMM_ATTRIBUTE_OPEN_CABLE_COMP_CONDUCTANCE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W None niDMM_ConfigureOpenCableCompValues

Description

For the NI 4082 and NI 4072 only, specifies the active part (conductance) of the open cable compensation. The valid range is any real number >0. The default value (-1.0) indicates that compensation has not taken place.

Note  Changing the function or the range through this attribute or through niDMM_ConfigureMeasurementDigits resets the value of this attribute to the default value

NIDMM_ATTRIBUTE_OPEN_CABLE_COMP_SUSCEPTANCE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureOpenCableCompValues

Description

For the NI 4082 and NI 4072 only, specifies the reactive part (susceptance) of the open cable compensation. The valid range is any real number >0. The default value (-1.0) indicates that compensation has not taken place.

Note  Changing the function or the range through this attribute or through niDMM_ConfigureMeasurementDigits resets the value of this attribute to the default value

NIDMM_ATTRIBUTE_LC_NUMBER_MEAS_TO_AVERAGE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None None

Description

For the NI 4082 and NI 4072 only, specifies the number of LC measurements that are averaged to produce one reading.

NIDMM_ATTRIBUTE_SHORT_CABLE_COMP_REACTANCE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureShortCableCompValues

Description

For the NI 4082 and NI 4072 only, represents the reactive part (reactance) of the short cable compensation. The valid range is any real number >0. The default value (-1) indicates that compensation has not taken place.

Note  Changing the function or the range through this attribute or through niDMM_ConfigureMeasurementDigits resets the value of this attribute to the default value

NIDMM_ATTRIBUTE_SHORT_CABLE_COMP_RESISTANCE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None [ConfigureShortCableCompValues

Description

For the NI 4082 and NI 4072 only, represents the active part (resistance) of the short cable compensation. The valid range is any real number >0. The default value (-1) indicates that compensation has not taken place.

Note  Changing the function or the range through this attribute or through niDMM_ConfigureMeasurementDigits resets the value of this attribute to the default value

NIDMM_ATTRIBUTE_CURRENT_SOURCE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W None niDMM_ConfigureCurrentSource

Description

Specifies the current source provided during diode measurements.

Note  The NI 4050 and NI 4060 are not supported

Defined Values

NIDMM_VAL_1_MICROAMP 1 µA NI 4080/4081/4082 and NI 4070/4071/4072 only 0.000001
NIDMM_VAL_10_MICROAMP 10 µA NI 4080/4081/4082 and NI 4070/4071/4072 only 0.00001
NIDMM_VAL_100_MICROAMP 100 µA NI 4080/4081/4082, NI 4070/4071/4072, and NI 4065 0.0001
NIDMM_VAL_1_MILLIAMP (default) 1 mA NI 4080/4081/4082, NI 4070/4071/4072, and NI 4065 0.001

Note  These defined values are currently not supported for gRPC, instead pass the raw values specified alongside, directly.

NIDMM_ATTRIBUTE_DC_NOISE_REJECTION

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None None

Description

Specifies the DC noise rejection mode.

Note  The NI 4050 and NI 4060 are not supported

Defined Values

NIDMM_VAL_DCNR_AUTO -1 The driver chooses the DC noise rejection setting based on the configured function and resolution.
NIDMM_VAL_DCNR_NORMAL 0 NI-DMM weighs all samples equally.
NIDMM_VAL_DCNR_SECOND_ORDER 1 NI-DMM weighs the samples taken in the middle of the aperture time more than samples taken at the beginning and the end of the measurement using a triangular weighing function.
NIDMM_VAL_DCNR_HIGH_ORDER 2 NI-DMM weighs the samples taken in the middle of the aperture time more than samples taken at the beginning and the end of the measurement using a bell-curve weighing function.

Note  The NI 4065 does not support this setting.

NIDMM_ATTRIBUTE_FREQ_VOLTAGE_AUTO_RANGE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 RO None None

Description

For the NI 4080/4081/4082 and the NI 4070/4071/4072, specifies the value of the frequency voltage range. If Auto Ranging, shows the actual value of the active frequency voltage range. If not Auto Ranging, the value is the same as that of NIDMM_ATTRIBUTE_FREQ_VOLTAGE_RANGE.

NIDMM_ATTRIBUTE_FREQ_VOLTAGE_RANGE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W Yes niDMM_ConfigureFrequencyVoltageRange

Description

For the NI 4070/4071/4072, specifies the maximum amplitude of the input signal for frequency measurements.

|NIDMM_VAL_AUTO_RANGE_ON (default)|-1.0|Configures the DMM to take an Auto Range measurement to calculate the voltage range before each frequency or period measurement :- | |NIDMM_VAL_AUTO_RANGE_OFF|-2.0|Disables Auto Ranging. NI-DMM sets the voltage range to the last calculated voltage range.|

Note  Not supported on the NI 4080/4081/4082. These devices must be set to a valid value

NIDMM_ATTRIBUTE_INPUT_RESISTANCE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W Yes None

Description

Specifies the input resistance of the instrument.

Note  The NI 4050 and NI 4060 are not supported

Defined Values

NIDMM_VAL_1_MEGAOHM 1000000.00 1 MΩ
NIDMM_VAL_10_MEGAOHM 10000000.00 10 MΩ
NIDMM_VAL_GREATER_THAN_10_GIGAOHM 10000000000.00 >10 GΩ

Note These defined values are currently not supported for gRPC, instead pass the raw values specified alongside, directly.

NIDMM_ATTRIBUTE_AC_MAX_FREQ

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W Yes niDMM_ConfigureACBandwidth

Description

Specifies the maximum frequency component of the input signal for AC measurements. This attribute is used only for error checking and verifies that the value of this parameter is less than the maximum frequency of the device. This attribute affects the DMM only when you set the NIDMM_ATTRIBUTE_FUNCTION attribute to AC measurements. The valid range is 1 Hz–300 kHz for the NI 4080/4081/4082 and NI 4070/4071/4072, 10 Hz–100 kHz for the NI 4065, and 20 Hz–25 kHz for the NI 4050 and NI 4060.

NIDMM_ATTRIBUTE_AC_MIN_FREQ

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W None niDMM_ConfigureACBandwidth

Description

Specifies the minimum frequency component of the input signal for AC measurements. This attribute affects the DMM only when you set the NIDMM_ATTRIBUTE_FUNCTION attribute to AC measurements. The valid range is 1 Hz–300 kHz for the NI 4080/4081/4082 and NI 4070/4071/4072, 10 Hz–100 kHz for the NI 4065, and 20 Hz–25 kHz for the NI 4050 and NI 4060.

NIDMM_ATTRIBUTE_OFFSET_COMP_OHMS

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W None niDMM_ConfigureOffsetCompOhms

Description

For the NI 4080/4081/4082 and NI 4070/4071/4072 only, enables or disables offset compensated ohms.

Defined Values

NIDMM_VAL_OFFSET_COMP_OHMS_OFF (default) 0 Off disables Offset Compensated Ohms.
NIDMM_VAL_OFFSET_COMP_OHMS_ON 1 On enables Offset Compensated Ohms.

NIDMM_ATTRIBUTE_POWERLINE_FREQ

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W None niDMM_ConfigurePowerlineFrequency

Description

Specifies the powerline frequency. The NI 4050 and NI 4060 use this value to select an aperture time to reject powerline noise by selecting the appropriate internal sample clock and filter. The NI 4065, NI 4070/4071/4072, and the NI 4080/4081/4082 use this value to select a timebase for setting the NIDMM_ATTRIBUTE_APERTURE_TIME attribute in powerline cycles (PLCs).

After configuring powerline frequency, set the NIDMM_ATTRIBUTE_APERTURE_TIME_UNITS attribute to PLCs.  When setting the NIDMM_ATTRIBUTE_APERTURE_TIME attribute, select the number of PLCs for the powerline frequency. For example, if powerline frequency = 50 Hz (or 20ms) and aperture time in PLCs = 5, then aperture time in Seconds = 20ms * 5 PLCs = 100 ms. Similarly, if powerline frequency = 60 Hz (or 16.667 ms) and aperture time in PLCs = 6, then aperture time in Seconds = 16.667 ms * 6 PLCs = 100 ms.

Defined Values

NIDMM_VAL_50_HERTZ 50 Hz
NIDMM_VAL_60_HERTZ 60 Hz

Note  For 400 Hz powerline frequency, use the 50 Hz setting

NIDMM_ATTRIBUTE_SHUNT_VALUE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViReal64 R/W None None

Description

For the NI 4050 only, specifies the shunt resistance value.

Note  The NI 4050 requires an external shunt resistor for current measurements. This attribute should be set to the value of shunt resistor

NIDMM_ATTRIBUTE_TEMP_RTD_A

Specific Attribute

Data type Access Coercion High-Level Function
ViReal64 R/W None None

Description

Specifies the Callendar-Van Dusen A coefficient for RTD scaling when the RTD Type property is set to Custom. The default value is 3.9083e-3 (Pt3851).

NIDMM_ATTRIBUTE_TEMP_RTD_B

Specific Attribute

Data type Access Coercion High-Level Function
ViReal64 R/W None None

Description

Specifies the Callendar-Van Dusen B coefficient for RTD scaling when the RTD Type property is set to Custom. The default value is -5.775e-7(Pt3851).

NIDMM_ATTRIBUTE_TEMP_RTD_C

Specific Attribute

Data type Access Coercion High-Level Function
ViReal64 R/W None None

Description

Specifies the Callendar-Van Dusen C coefficient for RTD scaling when the RTD Type property is set to Custom. The default value is -4.183e-12(Pt3851).

NIDMM_ATTRIBUTE_TEMP_RTD_RES

Specific Attribute

Data type Access Coercion High-Level Function
ViReal64 R/W None None

Description

Specifies the RTD resistance at 0 degrees Celsius. This applies to all supported RTDs, including custom RTDs. The default value is 100 (Ω).

NIDMM_ATTRIBUTE_TEMP_RTD_TYPE

Specific Attribute

Data type Access Coercion High-Level Function
ViInt32 R/W None None

Description

Specifies the type of RTD used to measure temperature. The default value is NIDMM_VAL_TEMP_RTD_PT3851.

Enum Standards Material TCR Typical R0 (Ω) Callendar-Van Dusen Coefficient Notes
NIDMM_VAL_TEMP_RTD_CUSTOM Varies Varies 100 Ω A = user defined
B = user defined
C = user defined
User defines Callendar-Van Dusen A, B, and C coefficients with the NIDMM_ATTRIBUTE_TEMP_RTD_A, NIDMM_ATTRIBUTE_TEMP_RTD_B, and NIDMM_ATTRIBUTE_TEMP_RTD_C attributes, respectively.
NIDMM_VAL_TEMP_RTD_PT3851 IEC-751
DIN 43760
BS 1904
ASTM-E1137
EN-60751
Platinum 3851 100 Ω
1000 Ω
A = 3.9083 × 10–3
B = –5.775×10–7
C = –4.183×10–12
Most common RTDs
NIDMM_VAL_TEMP_RTD_PT3750 Low-cost vendor compliant RTD* Platinum 3750 1000 Ω A = 3.81 × 10–3
B = –6.02×10–7
C = –6.0×10–12
Low-cost RTD
NIDMM_VAL_TEMP_RTD_PT3916 JISC 1604 Platinum 3916 100 Ω A = 3.9739 × 10–3
B = –5.870×10–7
C = –4.4 ×10–12
Used primarily in Japan
NIDMM_VAL_TEMP_RTD_PT3920 US Industrial Standard D-100
American
Platinum 3920 100 Ω A = 3.9787 × 10–3
B = –5.8686×10–7
C = –4.167 ×10–12
Low-cost RTD
NIDMM_VAL_TEMP_RTD_PT3911 US Industrial Standard
American
Platinum 3911 100 Ω A = 3.9692 × 10–3
B = –5.8495×10–7
C = –4.233 ×10–12
Low-cost RTD
NIDMM_VAL_TEMP_RTD_PT3928 ITS-90 Platinum 3928 100 Ω A = 3.9888 × 10–3
B = –5.915×10–7
C = –3.85 ×10–12
The definition of temperature
*No standard. Check the Temperature Coefficient of Resistance (TCR).

NIDMM_ATTRIBUTE_TEMP_TC_FIXED_REF_JUNC

Specific Attribute

Data type Access Coercion High-Level Function
ViReal64 R/W None None

Description

Specifies the reference junction temperature when a fixed reference junction is used to take a thermocouple measurement. The default value is 25.0 (°C).

NIDMM_ATTRIBUTE_TEMP_TC_REF_JUNC_TYPE

Specific Attribute

Data type Access Coercion High-Level Function
ViInt32 enum R/W None None

Description

Specifies the type of reference junction to be used in the reference junction compensation of a thermocouple. The only supported value, NIDMM_VAL_TEMP_REF_JUNC_FIXED, is fixed.

NIDMM_ATTRIBUTE_TEMP_TC_TYPE

Specific Attribute

Data type Access Coercion High-Level Function
ViInt32 enum R/W None None

Description

Specifies the type of thermocouple used to measure the temperature. The default value is NIDMM_VAL_TEMP_TC_J.

Defined Values

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

NIDMM_ATTRIBUTE_TEMP_THERMISTOR_A

Specific Attribute

Data type Access Coercion High-Level Function
ViReal64 R/W None None

Description

Specifies the Steinhart-Hart A coefficient for thermistor scaling when the Thermistor Type property is set to Custom. The default value is 0.0010295 (44006).

NIDMM_ATTRIBUTE_TEMP_THERMISTOR_B

Specific Attribute

Data type Access Coercion High-Level Function
ViReal64 R/W None None

Description

Specifies the Steinhart-Hart B coefficient for thermistor scaling when the Thermistor Type proerty is set to Custom. The default value is 0.0002391 (44006).

NIDMM_ATTRIBUTE_TEMP_THERMISTOR_C

Specific Attribute

Data type Access Coercion High-Level Function
ViReal64 R/W None None

Description

Specifies the Steinhart-Hart C coefficient for thermistor scaling when the Thermistor Type property is set to Custom. The default value is 1.568e-7 (44006).

NIDMM_ATTRIBUTE_TEMP_THERMISTOR_TYPE

Specific Attribute

Data type Access Coercion High-Level Function
ViInt32 R/W None None

Description

Specifies the type of thermistor used to measure the temperature. The default value is NIDMM_VAL_TEMP_THERMISTOR_44006.

Defined Values Thermistor Type Value 25 °C
NIDMM_VAL_TEMP_THERMISTOR_CUSTOM Custom 0
NIDMM_VAL_TEMP_THERMISTOR_44004 44004 1 2.25 k
NIDMM_VAL_TEMP_THERMISTOR_44006 44006 2 10 k
NIDMM_VAL_TEMP_THERMISTOR_44007 44007 3 5 k

NIDMM_ATTRIBUTE_TEMP_TRANSDUCER_TYPE

Specific Attribute

Data type Access Coercion High-Level Function
ViInt32 R/W None None

Description

Specifies the type of device used to measure the temperature. The default value is NIDMM_VAL_4_THERMOCOUPLE.

Defined Values

NIDMM_VAL_2_WIRE_RTD 2-wire RTD
NIDMM_VAL_4_WIRE_RTD 4-wire RTD
NIDMM_VAL_4_THERMISTOR Thermistor
NIDMM_VAL_4_THERMOCOUPLE Thermocouple

NIDMM_ATTRIBUTE_RANGE

Specific Attribute

Data
type
Access Coercion High-Level Function
ViInt32 R/W Yes niDMM_ConfigureMeasurementDigits
niDMM_ConfigureMeasurementAbsolute

Description

Specifies the measurement range. Use positive values to represent the absolute value of the maximum expected measurement. The value is in units appropriate for the current value of the NIDMM_ATTRIBUTE_FUNCTION attribute. For example, if NIDMM_ATTRIBUTE_FUNCTION is set to NIDMM_VAL_DC_VOLTS, the units are volts.

Note  The NI 4050, NI 4060, and NI 4065 only support Auto Range when the trigger and sample trigger are set to IMMEDIATE

Defined Values

(-1.0) NIDMM_VAL_AUTO_RANGE_ON NI-DMM performs an Auto Range before acquiring the measurement.
(-2.0) NIDMM_VAL_AUTO_RANGE_OFF NI-DMM sets the Range to the current NIDMM_ATTRIBUTE_AUTO_RANGE_VALUE and uses this range for all subsequent measurements until the measurement configuration is changed.
(-3.0) NIDMM_VAL_AUTO_RANGE_ONCE NI-DMM performs an Auto Range before acquiring the next measurement. The NIDMM_ATTRIBUTE_AUTO_RANGE_VALUE is stored and used for all subsequent measurements until the measurement configuration is changed.

Table of Contents

Internal Development

Creating and Setting Up a gRPC Server

Server Security Support

Creating a gRPC Client

gRPC Client Examples

Session Utilities API Reference

Driver Documentation

gRPC API Differences From C API

Sharing Driver Sessions Between Clients

C API Docs
NI-DAQmx
NI-DCPOWER
NI-DIGITAL PATTERN DRIVER
NI-DMM
NI-FGEN
NI-FPGA
NI-RFmx Bluetooth
NI-RFmx NR
NI-RFmx WCDMA
NI-RFmx GSM
NI-RFmx CDMA2k
NI-RFmx Instr
NI-RFmx LTE
NI-RFmx SpecAn
NI-RFmx TD-SCDMA
NI-RFmx WLAN
NI-RFSA
NI-RFSG
NI-SCOPE
NI-SWITCH
NI-TCLK
NI-XNET
Clone this wiki locally