:MEASure:PLEVel:PIR

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

Command Syntax

:MEASure:PLEVel:PIR

Query Syntax

:MEASure:PLEVel:PIR?

Description

For a PAM4 waveform, displays a Periodic Interference (PI rms) measurement or Bounded Uncorrelated Interference (BIR rms) measurement in the Level 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. The measurement can be performed on one of four possible levels as shown in the following picture: level 0, 1, 2, or 3.

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

Whether PI (rms) or BIR (rms) is reported depends on the Spectral Method setting in the Advanced tab of the Jitter Mode Measurements Setup dialog. The Spectral Method setting determines the method used to decompose RJ and RN. To remotely select the spectral method, use the :MEASure:JITTer:DEFine:SMEThod command. The spectral method can be one of the following three choices:

Auto
PI or BIR is reported in the results table. On each data acquisition cycle, both the spectral and tail-fit methods can be used to separate the BUI values from the RN. The decision to use the spectral or tail-fit method is made on a per-edge basis. So, the result may be a combination of spectral and tail-fit results. If tail fit is used in any case, the TF annotation is displayed in the heading of the Jitter results table. Otherwise, no annotation is displayed. Use the :MEASure:JITTer:SMEThod? query to determine the actual method used for the current data acquisition.
Spectral
PI is reported in the results table. This is the standard method used in all FlexDCA versions previous to revision A.02.50 to decompose the jitter and interference components. This method is best used when it is known that BUI is not present on the signal. This is the default method used.
Tail Fit
BIR is reported in the results table. The tail-fit method is exclusively used to separate the BUI from the RN directly from the histogram. The TF annotation is displayed in the heading of the Jitter results table. Unless troubleshooting, do not select this method as it is less accurate than using Auto or Spectral.

The measurement is made at the signal logic level that is specified with the :LEVel child command. The default is the 0 level. For NRZ signals, level 0 or 1 can be specified. For PAM4 signals, level 0, 1, 2, or 3 can be specified. The measurement algorithm is:

  1. Random Noise (RN) is measured.
  2. An RN/PI histogram of the data used to measure the RN is constructed.
  3. The variance of the RN/PI histogram is calculated.
  4. PI or BUI (rms) is the square root of the RN/PI or RN/BIR variance minus the square of the RN value.
Measurement Configuration
Select Command
Signal logic level :MEASure:PLEVel:PIR:LEVel
Level definition (average or minimum number of consecutive identical digits, CID) :MEASure:AMPLitude:DEFine:LEVel
Units (current noise / interference units) :MEASure:AMPLitude:DEFine:UNITs

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:PLEVel:PIR:

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

Child commands for measurement identification:

  • :MEASure:PLEVel:PIR:SOURce

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

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

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

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