Admin Production ni-theme
Current Publication

Fetch MultiPoint

IVI Compliance Package

IviDmm Fetch MultiPoint

IviDmmMultiPoint Capability Group [MP]

This VI returns an array of values from a previously initiated multipoint measurement. The number of measurements the DMM takes is determined by the values you specify for the Trigger Count and Sample Count parameters of the IviDmm Configure Multi-Point [MP] VI.

Call the IviDmm Initiate VI to initiate a measurement before calling this VI.

Notes
  1. After this VI executes, each element in the Reading Array parameter is an actual reading or a value indicating that an overrange condition occurred.
  2. If an overrange condition occurs, the corresponding Reading Array element contains an IEEE-defined NaN (Not a Number) value and the VI returns IVIDMM_WARN_OVER_RANGE (0x3FFA2001).
  3. You can test each element in the Reading Array parameter for overrange with the IviDmm Is Over-Range VI.
  4. The class driver returns a simulated measurement when this VI is called and the IviDmm Simulate property is set to TRUE and the IviDmm Use Specific Simulation property is set to FALSE. For information on how to configure a simulated measurement, refer to National Instruments IVI Driver Help»IVI Class Driver Simulation Overview.
  5. This VI does not check the instrument status. Typically, you call this VI only in a sequence of calls to other low-level driver VIs. The sequence performs one operation. You use the low-level VIs to optimize one or more aspects of interaction with the instrument. If you want to check the instrument status, call the IviDmm Error-Query VI at the conclusion of the sequence.
instrument handle The instrument handle that you obtain from the IviDmm Initialize or IviDmm Initialize With Options VI.
maximum time (5000 ms) Pass the maximum length of time in which to allow the multipoint fetch operation to complete expressed in milliseconds.

If the operation does not complete within this time interval, the VI returns the IVIDMM_ERROR_MAX_TIME_EXCEEDED (0xBFFA2003) error code. When this occurs, you can call IviDmm Abort to cancel the multipoint fetch operation and return the instrument to the Idle state.

Defined Values:

IVIDMM_VAL_MAX_TIME_INFINITE (–1)—Wait indefinitely for a timeout.

IVIDMM_VAL_MAX_TIME_IMMEDIATE (0)—Do not wait for a timeout.

Default Value: 5000 ms

Note  The Maximum Time parameter affects only this VI. It has no effect on other timeout parameters or properties.
array size (1) Pass the number of elements in the Reading Array parameter.

Default Value: 1

error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

instrument handle out The instrument handle that you obtain from the IviDmm Initialize or IviDmm Initialize With Options VI.
reading array Returns an array of the most recent measurement values. The value you specify for the Measurement Function parameter of the IviDmm Configure Measurement VI determines the units of this parameter, as shown in the following table.
DC Volts volts
AC Volts volts
DC Current amperes
AC Current amperes
2-Wire Resistance ohms
4-Wire Resistance ohms
AC plus DC Volts volts
AC plus DC Current amperes
Temperature Celsius
Frequency hertz
Period seconds
Notes  
  1. If an overrange condition occurs, the corresponding Reading Array element contains an IEEE-defined NaN (Not a Number) value and the VI returns the IVIDMM_WARN_OVER_RANGE (0x3FFA2001) warning code.
  2. You can test each element in the Reading Array parameter for an overrange condition by calling the IviDmm Is Over-Range VI.
actual number of points Indicates the number of measured values the VI places in the Reading Array parameter.
error out The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.