Admin Production ni-theme
Current Publication

Configure Number of Averages

IVI Compliance Package

IviScope Configure Number of Averages

IviScopeAverageAcquisition Capability Group [AA]

When you set the acquisition type to IVISCOPE_VAL_AVERAGE, the oscilloscope acquires multiple waveforms. After each waveform acquisition, the oscilloscope keeps the average value of all acquisitions for each element in the waveform record. This VI configures the number of waveforms that the oscilloscope acquires and averages. After the oscilloscope acquires as many waveforms as you specify, it returns to the Idle state.

Note  Set the acquisition type to IVISCOPE_VAL_AVERAGE before you call this VI. To set the acquisition type, call the IviScope Configure Acquisition Type VI.


instrument handle The instrument handle that you obtain from the IviScope Initialize or the IviScope Initialize With Options VI.
number of averages When you set the acquisition type to IVISCOPE_VAL_AVERAGE, the oscilloscope acquires multiple waveforms. After each waveform acquisition, the oscilloscope keeps the average value of all acquisitions for each element in the waveform record. This parameter specifies the number of waveforms the oscilloscope acquires and averages. The driver sets the IviScope Number of Averages [AA] property to this value.

Default value: 8

Note  This parameter affects instrument behavior only when the acquisition type is set to IVISCOPE_VAL_AVERAGE.
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 IviScope Initialize or the IviScope Initialize With Options VI.
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.