:MEASure:VERTical:VAVerage

Command Syntax

:MEASure:VERTical:VAVerage

Query Syntax

:MEASure:VERTical:VAVerage?

Description

Moves the Average amplitude measurement to the top of the Results table. This measurement is compatible with PAM signals over the entire display or region. It is not compatible over a single cycle. Displays the measurement if it is not already shown on the table. The query form of the command returns the measured value. For electrical signals, average is a measure of the mean value of the data sampled from the entire displayed waveform or a single cycle, as specified with the :MEASure:VERTical:VAVerage:AREA child command. The record length of the waveform determines the number of data samples used for the measurement. Average is most suitable for single-valued waveforms. Sources can be any displayed waveform, waveform memory, or function. For example, CHANnel1, WMEMory1, or FUNCtion1. Use :MEASure:TBASe:GENeral:METHod to change the definition of the waveform's top and base. Use :MEASure:THReshold:GENeral:METHod to change the definition of the waveform's threshold.

This command is PAM compatible when it is made over the display or a region as determined by the :MEASure:VERTical:VAVerage:AREA child command. It is not PAM compatible when made over a cycle.

Example Command Sequence

:MEASure:VERTical:VAVerage:SOURce CHAN1_1
:MEASure:VERTical:VAVerage:AREA CYCLe
:MEASure:VERTical:VAVerage:EDIRection RISing
:MEASure:VERTical:VAVerage
:MEASure:VERTical:VAVerage?

Measurement Ready?

To confirm that the measurement is ready to read, you can query the measurement's status:

if ('CORR' in Infiniium.query(':MEASure:VERTical:VAVerage:STATus?')):
	measurement = Infiniium.query(':MEASure:VERTical:VAVerage?')

If averaging is turned on (:ACQuire:SMODe AVERage), you can also confirm if the measurement result is ready by comparing the number of specified averages (:ACQuire:COUNt?) versus the number of measurement sweeps that have occurred (:ACQuire:COUNt?). The technique uses the :COUNt? common measurement query. For example,

if (Infiniium.query(':MEASure:VERTical:VAVerage:COUNt?') >= Infiniium.query(':ACQuire:COUNt?')):
	measurement = Infiniium.query(':MEASure:VERTical:VAVerage?')

You can also use an acquisition limit test to test that a number of waveforms or samples have completed before returning a measurement. Refer to the :LTESt:ACQuire:CTYPe command.

Querying Measurement Results and Statistics

You can query measurement results using the :MEASure:VERTical:VAVerage? query after making the proper instance settings.

If a measurement is installed into Results table (using the :MEASure:VERTical:VAVerage command) and you have made the proper instance settings, you can query statistics using common child queries.

Also, you can query measurement results and statistics directly from the Results table (without having to make the proper instance settings beforehand). See Querying Measurement Results and Statistics.