:MEASure:PEYE:EWIDth

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

Command Syntax

:MEASure:PEYE:EWIDth

Query Syntax

:MEASure:PEYE:EWIDth?

Description

For a PAM4 waveform, displays an Eye Width measurement in the Eye table. If the measurement is already listed, the measurement is moved to the top of the table. Use the query form of the command to return the measured value. To select the eye in the PAM4 eye diagram on which to return the measurement, use the :MEASURE:PEYE:EWIDth:EYE command. The measurement can be performed on one of three possible eyes as shown in the following picture: Eye 0/1, Eye 1/2, or Eye 2/3.

Measurement Configuration
Select Command
Signal eye :MEASure:PEYE:EWIDth:EYE
PAM Waveform

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:PEYE:EWIDth:

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

Child commands for measurement identification:

  • :MEASure:PEYE:EWIDth:SOURce

When measuring PAM4 waveforms, this command is the recommended and fastest Eye Width measurement command when compared to Eye Mode's :MEASure:EYE:PAM:EWIDth measurement. Eye mode's Eye Width measurement on PAM4 waveforms can be used as a quick comparative check between signals. For example, when tuning pre-emphasis on a transmitter. In the following situations, you may want to use Eye Mode's command:

  • For longer patterns, such as PRBS31Q, as Eye mode does not require pattern lock.
  • When data is random or when measuring multiple waveforms at the same time.

Requires FlexDCA revision A.06.00 and above.

Measurement Ready?

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

if ('CORR' in Flex.query(':MEASure:PEYE:EWIDth:STATus?')):
	measurement = Flex.query(':MEASure:PEYE:EWIDth?')

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:PEYE:EWIDth:COUNt?). The technique uses the :COUNt? common measurement query. For example,

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

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?.