Admin Production ni-theme
Current Publication

Is Measurement Complete

IVI Compliance Package

IviPwrMeter Is Measurement Complete

IviPwrMeterBase Capability Group

This VI queries the instrument to determine the status of the measurement initiated by the IviPwrMeter Initiate VI. This VI returns the IVIPWRMETER_VAL_MEAS_COMPLETE (1) value in the Status parameter only when measurements are complete on all enabled channels.

If some measurements are still in progress on one or more channels, the driver returns the IVIPWRMETER_VAL_MEAS_IN_PROGRESS (0) value. If the driver cannot query the instrument to determine its state, the driver returns the IVIPWRMETER_VAL_MEAS_STATUS_UNKNOWN (-1) value.

Note:

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 IviPwrMeter Error-Query VI at the conclusion of the sequence.

instrument handle The instrument handle that you obtain from the IviPwrMeter Initialize or IviPwrMeter Initialize With Options VIs.
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 IviPwrMeter Initialize or IviPwrMeter Initialize With Options VIs.
measurement status Returns the status of the measurement.

This driver defines the following measurement status:

IVIPWRMETER_VAL_MEAS_COMPLETE (1)
- The power meter has completed the measurement on
all enabled channels.

IVIPWRMETER_VAL_MEAS_IN_PROGRESS (0)
- The power meter is still taking a measurement on
one or more enabled channels.

IVIPWRMETER_VAL_MEAS_STATUS_UNKNOWN (-1)
- The power meter cannot determine the status of
the 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.