:MEASure:AMPLitude:SAMPlitude

Meas. mode:
Jitter
Package License:
L-RND
Waveform type:
NRZ
PAM4
Flex Apps:
FlexDCA

Command Syntax

:MEASure:AMPLitude:SAMPlitude

Query Syntax

:MEASure:AMPLitude:SAMPlitude?

Description

Moves the signal amplitude measurement to the top of the table. Displays the measurement if it is not already shown on the Amplitude table. The query form of the command returns the measured value. Always uses the vertical units of the channel.

NRZ Waveform

This measurement can be made on PAM4 waveforms. See the sidebar in this topic. The measurement results are moved to the top of the Level table.

Measurement Identification

Avoid subtle programming errors! To ensure that the correct measurement is installed or queried, always explicitly identify a measurement when installing a measurement or querying a measured value, status, or detail. To identify a measurement, specify the measurement's source waveform (:SOURce child command). With some measurements, you may also need to specify other identifying values. Generally, when selecting a measurement using FlexDCA's GUI, if a dialog appears prompting you to select values, you should explicitly specify these values when remotely identifying the measurement. More information.

For example, to return the status of the measurement, :MEASure:AMPLitude:SAMPlitude:

flex.write(':MEASure:AMPLitude:SAMPlitude:SOURce CHAN1A')
if flex.query(':MEASure:AMPLitude:SAMPlitude:STATus?') == 'CORR';
    measurement = flex.query(':MEASure:AMPLitude:SAMPlitude?')
else:
	details = flex.query(':MEASure:AMPLitude:SAMPlitude:STATus:DETails?')
	reason = flex.query(':MEASure:AMPLitude:SAMPlitude:STATus:REASon?')

Child commands for measurement identification:

  • :MEASure:AMPLitude:SAMPlitude:SOURce

Amplitude analysis must be turned on before the first interference measurement can be made. Use the :MEASure:AMPLitude:DEFine:ANALysis command.

Example Command Sequence

:MEASure:AMPLitude:DEFine:ANALysis ON
:MEASure:AMPLitude:SAMPlitude:SOURce CHAN1A
:MEASure:AMPLitude:SAMPlitude?

Measurement Ready?

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

if ('CORR' in Flex.query(':MEASure:AMPLitude:SAMPlitude:STATus?')):
	measurement = Flex.query(':MEASure:AMPLitude:SAMPlitude?')

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

if (Flex.query(':MEASure:AMPLitude:SAMPlitude:COUNt?') >= Flex.query(':ACQuire:ECOUNt?')):
	measurement = Flex.query(':MEASure:AMPLitude:SAMPlitude?')

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

Common Measurement Child Queries

This command supports the use of the following common measurement queries: :LOCation?, :COUNt?, :MAXimum?, :MINimum?, :MEAN?, and :SDEViation?.