NIDMM_ATTR_FUNCTION
Specific Attribute
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | R/W | None | niDMM_ConfigureMeasurementDigits niDMM_ConfigureMeasurementAbsolute niDMM_ConfigureWaveformAcquisition |
Description
Specifies the measurement function.
![]() |
Note If you are setting this attribute directly, you must also set the NIDMM_ATTR_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_ATTR_OPERATION_MODE attribute before setting other configuration attributes. If the NIDMM_ATTR_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_ATTR_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, and NI 4070/4071/4072 |
NIDMM_VAL_FREQ | 104 | Frequency | NI 4070/4071/4072 |
NIDMM_VAL_PERIOD | 105 | Period | NI 4070/4071/4072 |
NIDMM_VAL_AC_VOLTS_DC_COUPLED | 1001 | AC Voltage with DC Coupling | NI 4070/4071/4072 |
NIDMM_VAL_DIODE | 1002 | Diode | All |
NIDMM_VAL_WAVEFORM_VOLTAGE | 1003 | Waveform Voltage | NI 4070/4071/4072 |
NIDMM_VAL_WAVEFORM_CURRENT | 1004 | Waveform Current | NI 4070/4071/4072 |
NIDMM_VAL_CAPACITANCE | 1005 | Capacitance | NI 4072 |
NIDMM_VAL_INDUCTANCE | 1006 | Inductance | NI 4072 |