IviDmm Value Definitions

CVI/LabWindows IVI Class Driver

IviDmm Value Definitions

The following table defines the value for each attribute constant in the IviDmm class.

Note  In the following table, the literal string IVIDMM_ATTR_ precedes the attribute name, and the literal string IVIDMM_ precedes the value extension name.

IviDmm Attribute Defined Values

Attribute Value Name Defined Value Description
APERTURE_TIME_UNITS VAL_SECONDS 0 Reports that the units for the value returned by IVIDMM_ATTR_APERTURE_TIME are seconds.
VAL_POWER_LINE_CYCLES 1 Reports that the units for the value returned by IVIDMM_ATTR_APERTURE_TIME are Power Line Cycles.
AUTO_ZER0 VAL_AUTO_ZERO_OFF 0 Disables the auto-zero feature.
VAL_AUTO_ZERO_ON 1 Configures the DMM to take a Zero Reading for each measurement. The DMM subtracts the Zero Reading from the value it measures.
VAL_AUTO_ZERO_ONCE 2 Configures the DMM to take a Zero Reading immediately. The DMM then subtracts this Zero Reading from all subsequent values it measures.
FUNCTION VAL_DC_VOLTS 1 Sets the DMM to measure DC voltage.
VAL_AC_VOLTS 2 Sets the DMM to measure AC voltage.
VAL_DC_CURRENT 3 Sets the DMM to measure DC current.
VAL_AC_CURRENT 4 Sets the DMM to measure AC current.
VAL_2_WIRE_RES 5 Sets the DMM to measure 2-wire resistance.
VAL_4_WIRE_RES 101 Sets the DMM to measure 4-wire resistance.
VAL_FREQ 104 Sets the DMM to measure frequency.
VAL_PERIOD 105 Sets the DMM to measure period.
VAL_AC_PLUS_DC_VOLTS 106 Sets the DMM to measure AC plus DC voltage.
VAL_AC_PLUS_DC_CURRENT 107 Sets the DMM to measure AC plus DC current.
VAL_TEMPERATURE 108 Sets the DMM to measure temperature in Celsius.
MEAS_COMPLETE_DEST VAL_NONE –1 The measurement complete signal is not routed.
VAL_EXTERNAL 2 Routes the measurement-complete signal to the external connector.
VAL_TTL0 111 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL0.
VAL_TTL1 112 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL1.
VAL_TTL2 113 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL2.
VAL_TTL3 114 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL3.
VAL_TTL4 115 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL4.
VAL_TTL5 116 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL5.
VAL_TTL6 117 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL6.
VAL_TTL7 118 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL7.
VAL_ECL0 119 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on ECL0.
VAL_ECL1 120 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on ECL1.
VAL_PXI_STAR 131 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on the PXI Star trigger bus.
VAL_RTSI_0 140 Routes the measurement complete signal to RTSI0.
VAL_RTSI_1 141 Routes the measurement complete signal to RTSI1.
VAL_RTSI_2 142 Routes the measurement complete signal to RTSI2.
VAL_RTSI_3 143 Routes the measurement complete signal to RTSI3.
VAL_RTSI_4 144 Routes the measurement complete signal to RTSI4.
VAL_RTSI_5 145 Routes the measurement complete signal to RTSI5.
VAL_RTSI_6 146 Routes the measurement complete signal to RTSI6.
RANGE VAL_AUTO_RANGE_ON –1.0 Configures the DMM to calculate the range before each measurement automatically.
VAL_AUTO_RANGE_OFF -2.0 Disables auto-ranging. The DMM sets the range to the value it most recently calculated.
VAL_AUTO_RANGE_ONCE -3.0 Configures the DMM to calculate the range before the next measurement. The DMM uses this range value for all subsequent measurements.
SAMPLE_TRIGGER VAL_IMMEDIATE 1 The DMM exits the Wait-For-Trigger state or the Wait-For-Sample-Trigger state immediately after entering. It does not wait for a trigger of any kind.
VAL_EXTERNAL 2 The DMM exits the Wait-For-Sample-Trigger state when a trigger occurs on the external trigger input.
VAL_SOFTWARE_TRIG 3 The DMM exits the Wait-For-Trigger state or the Wait-For-Sample-Trigger state when the IviDmm_SendSoftwareTrigger function executes.

If you set the IVIDMM_ATTR_SAMPLE_TRIGGER attribute to this value, the instrument can only be triggered on each sample by calling the IviDmm_SendSoftwareTrigger function.

VAL_INTERVAL 10 The DMM exits the Wait-For-Sample-Trigger state when the length of time specified by the IVIDMM_ATTR_SAMPLE_INTERVAL attribute elapses.
VAL_TTL0 111 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL0
VAL_TTL1 112 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL1
VAL_TTL2 113 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL2
VAL_TTL3 114 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL3
VAL_TTL4 115 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL4
VAL_TTL5 116 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL5
VAL_TTL6 117 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL6
VAL_TTL7 118 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL7
VAL_ECL0 119 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on ECL0.
VAL_ECL1 120 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on ECL1.
VAL_PXI_STAR 131 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on the PXI Star trigger bus.
VAL_RTSI_0 140 Routes the measurement complete signal to RTSI0.
VAL_RTSI_1 141 Routes the measurement complete signal to RTSI1.
VAL_RTSI_2 142 Routes the measurement complete signal to RTSI2.
VAL_RTSI_3 143 Routes the measurement complete signal to RTSI3.
VAL_RTSI_4 144 Routes the measurement complete signal to RTSI4.
VAL_RTSI_5 145 Routes the measurement complete signal to RTSI5.
VAL_RTSI_6 146 Routes the measurement complete signal to RTSI6.
TEMP_TC_REF_JUNC_TYPE VAL_TEMP_REF_JUNC_INTERNAL 1 Sets the DMM to use an internal sensor at the thermocouple junction for the junction compensation.
VAL_TEMP_REF_JUNC_FIXED 2 Sets the DMM to use a fixed value for the thermocouple junction compensation. Use the IVIDMM_ATTR_TEMP_TC_FIXED_REF_JUNC attribute to set the fixed reference junction value.
TEMP_TC_TYPE VAL_TEMP_TC_B 1 Sets the DMM to measure temperature from a B-type thermocouple.
VAL_TEMP_TC_C 2 Sets the DMM to measure temperature from a C-type thermocouple.
VAL_TEMP_TC_D 3 Sets the DMM to measure temperature from a D-type thermocouple.
VAL_TEMP_TC_E 4 Sets the DMM to measure temperature from an E-type thermocouple.
VAL_TEMP_TC_G 5 Sets the DMM to measure temperature from a G-type thermocouple.
VAL_TEMP_TC_J 6 Sets the DMM to measure temperature from a J-type thermocouple.
VAL_TEMP_TC_K 7 Sets the DMM to measure temperature from a K-type thermocouple.
VAL_TEMP_TC_N 8 Sets the DMM to measure temperature from an N-type thermocouple.
VAL_TEMP_TC_R 9 Sets the DMM to measure temperature from an R-type thermocouple.
VAL_TEMP_TC_S 10 Sets the DMM to measure temperature from an S-type thermocouple.
VAL_TEMP_TC_T 11 Sets the DMM to measure temperature from a T-type thermocouple.
VAL_TEMP_TC_U 12 Sets the DMM to measure temperature from a U-type thermocouple.
VAL_TEMP_TC_V 13 Sets the DMM to measure temperature from a V-type thermocouple.
TEMP_TRANSDUCER_TYPE VAL_THERMOCOUPLE 1 Sets the DMM to measure temperature using a thermocouple. Use the IviDmmThermocouple extension group to configure additional settings for this transducer type.
VAL_THERMISTOR 2 Sets the DMM to measure temperature using a thermistor. Use the IviDmmThermistor extension group to configure additional settings for this transducer type.
VAL_2_WIRE_RTD 3 Sets the DMM to measure temperature using a 2-wire temperature resistance device. Use the IviDmmResistanceTemperatureDevice extension group to configure additional settings for this transducer type.
VAL_4_WIRE_RTD 4 Sets the DMM to measure temperature using a 4-wire temperature resistance device. Use the IviDmmResistanceTemperatureDevice extension group to configure additional settings for this transducer type.
TRIGGER_DELAY VAL_AUTO_DELAY_ON –1.0 Configures the DMM to calculate the trigger delay before each measurement.
VAL_AUTO_DELAY_OFF -2.0 Stops the DMM from calculating the trigger delay. Sets the trigger delay to the last trigger delay the DMM calculated.
TRIGGER_SLOPE VAL_POSITIVE 0 Sets the trigger event to occur on the rising edge of the trigger pulse.
VAL_NEGATIVE 1 Sets the trigger event to occur on the falling edge of the trigger pulse.
TRIGGER_SOURCE VAL_IMMEDIATE 1 The DMM exits the Wait-For-Trigger state or the Wait-For-Sample-Trigger state immediately after entering. It does not wait for a trigger of any kind.
VAL_EXTERNAL 2 The DMM exits the Wait-For-Trigger state when a trigger occurs on the external trigger input.
VAL_SOFTWARE_TRIG 3 The DMM exits the Wait-For-Trigger state or the Wait-For-Sample-Trigger state when the IviDmm_SendSoftwareTrigger function executes.

If you set the IVIDMM_ATTR_TRIGGER_SOURCE attribute to this value, the instrument can only be triggered by calling the IviDmm_SendSoftwareTrigger function.

If you set the IVIDMM_ATTR_SAMPLE_TRIGGER attribute to this value, the instrument can only be triggered on each sample by calling the IviDmm_SendSoftwareTrigger function.

VAL_TTL0 111 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL0.
VAL_TTL1 112 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL1.
VAL_TTL2 113 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL2.
VAL_TTL3 114 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL3.
VAL_TTL4 115 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL4.
VAL_TTL5 116 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL5.
VAL_TTL6 117 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL6.
VAL_TTL7 118 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on TTL7.
VAL_ECL0 119 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on ECL0.
VAL_ECL1 120 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on ECL1.
VAL_PXI_STAR 131 The DMM exits the Wait-For-Trigger or the Wait-For-Sample-Trigger state when it receives a trigger on the PXI Star trigger bus.
VAL_RTSI_0 140 Routes the measurement complete signal to RTSI0.
VAL_RTSI_1 141 Routes the measurement complete signal to RTSI1.
VAL_RTSI_2 142 Routes the measurement complete signal to RTSI2.
VAL_RTSI_3 143 Routes the measurement complete signal to RTSI3.
VAL_RTSI_4 144 Routes the measurement complete signal to RTSI4.
VAL_RTSI_5 145 Routes the measurement complete signal to RTSI5.
VAL_RTSI_6 146 Routes the measurement complete signal to RTSI6.

Parameter Defined Values

Parameter Defined Value Description
autoZeroMode IVIDMM_VAL_AUTO_ZERO_ON (Default) Configures the DMM to take a Zero Reading for each measurement. The DMM subtracts the Zero Reading from the value it measures.
  IVIDMM_VAL_AUTO_ZERO_OFF Disables the auto-zero feature.
  IVIDMM_VAL_AUTO_ZERO_ONCE Configures the DMM to take a Zero Reading immediately. The DMM then subtracts this Zero Reading from all subsequent values it measures.
function IVIDMM_VAL_DC_VOLTS DC Volts (Default)
IVIDMM_VAL_AC_VOLTS AC Volts
IVIDMM_VAL_DC_CURRENT DC Current
IVIDMM_VAL_AC_CURRENT AC Current
IVIDMM_VAL_2_WIRE_RES 2-Wire Resistance
IVIDMM_VAL_4_WIRE_RES 4-Wire Resistance
IVIDMM_VAL_AC_PLUS_DC_VOLTS AC plus DC Volts
IVIDMM_VAL_AC_PLUS_DC_CURRENT AC plus DC Current
IVIDMM_VAL_TEMPERATURE Temperature (C)
IVIDMM_VAL_FREQ Frequency
IVIDMM_VAL_PERIOD Period
range IVIDMM_VAL_AUTO_RANGE_ONCE Auto-range Once
IVIDMM_VAL_AUTO_RANGE_OFF Auto-range Off
IVIDMM_VAL_AUTO_RANGE_ON Auto-range On
Notes  
  1. Setting this parameter to IVIDMM_VAL_AUTO_RANGE_ONCE configures the DMM to auto-range once, turn auto-range off, and then remain at the current maximum range.
  2. Setting this parameter IVIDMM_VAL_AUTO_RANGE_OFF configures the DMM to stop auto-ranging and keep the range fixed at the current maximum range.
sampleTrigger IVIDMM_VAL_IMMEDIATE Immediate (Default)
IVIDMM_VAL_EXTERNAL External
IVIDMM_VAL_SOFTWARE_TRIG Software Trigger Function
IVIDMM_VAL_INTERVAL Sample Interval
IVIDMM_VAL_TTL0 PXI TRIG0 or VXI TTL0
IVIDMM_VAL_TTL1 PXI TRIG1 or VXI TTL1
IVIDMM_VAL_TTL2 PXI TRIG2 or VXI TTL2
IVIDMM_VAL_TTL3 PXI TRIG3 or VXI TTL3
IVIDMM_VAL_TTL4 PXI TRIG4 or VXI TTL4
IVIDMM_VAL_TTL5 PXI TRIG5 or VXI TTL5
IVIDMM_VAL_TTL6 PXI TRIG6 or VXI TTL6
IVIDMM_VAL_TTL7 PXI TRIG7 or VXI TTL7
IVIDMM_VAL_ECL0 VXI ECL0
IVIDMM_VAL_ECL1 VXI ECL1
IVIDMM_VAL_PXI_STAR PXI Star
IVIDMM_VAL_RTSI_0 RTSI line 0
IVIDMM_VAL_RTSI_1 RTSI line 1
IVIDMM_VAL_RTSI_2 RTSI line 2
IVIDMM_VAL_RTSI_3 RTSI line 3
IVIDMM_VAL_RTSI_4 RTSI line 4
IVIDMM_VAL_RTSI_5 RTSI line 5
IVIDMM_VAL_RTSI_6 RTSI line 6
Notes  
  1. IVIDMM_VAL_IMMEDIATE—The DMM does not wait for a sample trigger of any kind.
  2. IVIDMM_VAL_EXTERNAL—The DMM waits for a sample trigger on the external trigger input.
  3. IVIDMM_VAL_SOFTWARE_TRIG—The DMM waits until you call the IviDmm_SendSoftwareTrigger function.
  4. IVIDMM_VAL_INTERVAL—The DMM waits the length of time you spedify in the sampleInterval parameter.
triggerSource IVIDMM_VAL_IMMEDIATE Immediate (Default)
IVIDMM_VAL_EXTERNAL External
IVIDMM_VAL_SOFTWARE_TRIG Software Trigger Function
IVIDMM_VAL_TTL0 PXI TRIG0 or VXI TTL0
IVIDMM_VAL_TTL1 PXI TRIG1 or VXI TTL1
IVIDMM_VAL_TTL2 PXI TRIG2 or VXI TTL2
IVIDMM_VAL_TTL3 PXI TRIG3 or VXI TTL3
IVIDMM_VAL_TTL4 PXI TRIG4 or VXI TTL4
IVIDMM_VAL_TTL5 PXI TRIG5 or VXI TTL5
IVIDMM_VAL_TTL6 PXI TRIG6 or VXI TTL6
IVIDMM_VAL_TTL7 PXI TRIG7 or VXI TTL7
IVIDMM_VAL_ECL0 VXI ECL0
IVIDMM_VAL_ECL1 VXI ECL1
IVIDMM_VAL_PXI_STAR PXI Star
IVIDMM_VAL_RTSI_0 RTSI line 0
IVIDMM_VAL_RTSI_1 RTSI line 1
IVIDMM_VAL_RTSI_2 RTSI line 2
IVIDMM_VAL_RTSI_3 RTSI line 3
IVIDMM_VAL_RTSI_4 RTSI line 4
IVIDMM_VAL_RTSI_5 RTSI line 5
IVIDMM_VAL_RTSI_6 RTSI line 6
Notes  
  1. IVIDMM_VAL_IMMEDIATE—The DMM does not wait for a trigger of any kind.
  2. IVIDMM_VAL_EXTERNAL—The DMM waits for a trigger on the external trigger input.
  3. IVIDMM_VAL_SOFTWARE_TRIG—The DMM waits until you call the IviDmm_SendSoftwareTrigger function.
triggerSlope IVIDMM_VAL_POSITIVE (Default) The driver triggers on the rising edge of the external trigger.
IVIDMM_VAL_NEGATIVE The driver triggers on the falling edge of the external trigger.
maxTime IVIDMM_VAL_MAX_TIME_INFINITE Wait indefinitely for a timeout.
IVIDMM_VAL_MAX_TIME_IMMEDIATE Do not wait for a timeout.