Table Of Contents

IviDmm Configure Measurement (G Dataflow)

Last Modified: September 7, 2018

Configures the common properties of the DMM. These properties include the measurement function, maximum range, and resolution.

connector_pane_image
datatype_icon

instrument handle

The instrument handle that you obtain from the IviDmm Initialize Node. The handle identifies a particular instrument session.

Default: None

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

measurement function

Pass the measurement node you want the DMM to perform. The driver sets the IviDmm>Basic Operation>Function property to this value. Valid Values:

IVIDMM_VAL_DC_VOLTS DC Volts
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
AIVIDMM_VAL_AC_PLUS_DC_CURRENT AC plus DC Current
IVIDMM_VAL_FREQ Frequency
IVIDMM_VAL_PERIOD Period
IVIDMM_VAL_TEMPERATURE Temperature (C)

Default: IVIDMM_VAL_DC_VOLTS

datatype_icon

range

Value you pass to specify the measurement range you want to use. The driver sets the IviDmm>Basic Operation>Range property to this value. Use positive values to represent the absolute value of the maximum expected measurement. The value must be in units appropriate for the Measurement Function. For example, when you set the Measurement Function to IVIDMM_VAL_DC_VOLTS, you must specify the Range in volts. Setting this parameter to 10.0 configures the DMM to measure DC voltages from -10.0 to +10.0 volts. The driver reserves special negative values for controlling the DMM's auto-ranging capability.

Defined Values:
IVIDMM_VAL_AUTO_RANGE_ON (-1.0) Auto-range On
IVIDMM_VAL_AUTO_RANGE_OFF (-2.0) Auto-range Off
spd-note-note
Note  

Setting this to parameter IVIDMM_VAL_AUTO_RANGE_OFF configures the DMM to stop auto-ranging and keep the range fixed at the current maximum range.

IVIDMM_VAL_AUTO_RANGE_ONCE (-3.0) Auto-range Once
spd-note-note
Note  

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.

Default: IVIDMM_VAL_AUTO_RANGE_ON (-1.0)

datatype_icon

absolute resolution (0.001)

Pass your desired measurement resolution in absolute units. The driver sets the IviDmm>Basic Operation>Resolution property to this value. The value must be in units appropriate for the Measurement Function. Setting this parameter to lower values increases the measurement accuracy. Setting this parameter to higher values increases the measurement speed. Default Value: 0.001 Notes: (1) This parameter is ignored if the 'Range' parameter is set to IVIDMM_VAL_AUTO_RANGE_ON.

datatype_icon

instrument handle out

The instrument handle that you obtain from the IviDmm Initialize Node. The handle identifies a particular instrument session.

Default: None

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics