Admin Production ni-theme
Current Publication

Measure

IVI Compliance Package

IviDCPwr Measure

IviDCPwrMeasurement [MSR]

This VI takes a single measurement on the channel you specify.

instrument handle The instrument handle that you obtain from the IviDCPwr Initialize or IviDCPwr Initialize With Options VI.
channel name ("CHANNEL 1") Pass the virtual channel name that you assign to the instrument in MAX.

Virtual channel names are aliases for instrument specific channel strings. The instrument specific channel strings can differ from one instrument to another. Virtual channel names allow you to use and swap instruments without having to change the channel names in your source code. You assign a virtual channel name to an instrument specific channel through MAX. This control accepts virtual channel names you have assigned to the specific instrument you are using. It also accepts the instrument specific channel names.

Default Value: CHANNEL 1

measurement type (voltage) Pass the measurement you want the power supply to take.

Defined Values:

IVIDCPWR_VAL_MEASURE_VOLTAGE—DC voltage

IVIDCPWR_VAL_MEASURE_CURRENT—DC current

Default Value: IVIDCPWR_VAL_MEASURE_VOLTAGE

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 IviDCPwr Initialize or IviDCPwr Initialize With Options VI.
measurement Returns the measured value.

If you pass a value of IVIDCPWR_VAL_MEASURE_CURRENT for the measurementType parameter, this parameter returns a value in amps.

If you pass a value of IVIDCPWR_VAL_MEASURE_VOLTAGE for the measurementType parameter, this parameter returns a value in volts.

Units: volts (for voltage measurement)
amps (for current measurement)
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.