:MEASure:PEYE:LEVel

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

Command Syntax

:MEASure:PEYE:LEVel

Query Syntax

:MEASure:PEYE:LEVel?

Description

For a PAM4 waveform, displays a jitter sampling level (Meas. Level) measurement, which is the amplitude at which jitter measurements are made, 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:LEVel: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.

Jitter sampling level is specified as a percentage, custom, or average value using the :MEASure:JITTer:DEFine:LEVel:TYPe command. If a percentage or average value is specified, the measurement returns the equivalent vertical value that is used. For example, for a setting of 50%, the displayed or returned value might be 10E-3, depending on the actual signal.

Measurement Configuration
Select Command
Signal eye :MEASure:PEYE:LEVel:EYE
Sampling level definition :MEASure:JITTer:DEFine:LEVel:TYPe
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:LEVel:

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

Child commands for measurement identification:

  • :MEASure:PEYE:LEVel:SOURce

This measurement cannot be accessed from FlexDCA's user interface. It is only available via this programming command.

Example Command Sequence

:SYSTem:MODE JITTer
:MEASure:PEYE:DEFine:LEVel:TYPe AVERage
:MEASure:PEYE:LEVel:SOURce CHAN1A
:MEASure:PEYE:LEVel:EYE EYE2
:MEASure:PEYE:LEVel?

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:LEVel:STATus?')):
	measurement = Flex.query(':MEASure:PEYE:LEVel?')

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

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

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