:MEASure:PLEVel:SNDRatio
Command Syntax
:MEASure:PLEVel:SNDRatio
Query Syntax
:MEASure:PLEVel:SNDRatio?
Description
Measures the Signal-to-Noise-and-Distortion Ratio (SNDR) for the output signal of a transmitter. SNDR compares a calculated ideal signal model to the measured signal. The IEEE standard specifies a required pattern, so confirm that you are using the correct pattern before you perform this measurement. Use the :MEASure:AMPLitude:DEFine:SNDRatio:DEFinition command to select the SNDR measurement to be based on the linear pulse fit definition using either p-max or P-Signal. The p-Max and P-Signal terms are defined in the following equations. In the FlexDCA, these settings are located in the Jitter Mode Measurement Setup dialog's Amplitude Measurements tab.
The following four additional SNDR supporting measurements are always available in the Levels panel: p-max or P-Signal, Sigma-E (rms), and Sigma-N (rms). These supporting measurements are helpful in gaining an understanding of the different components affecting the SNDR measurement.
| Measurement | Term | Command | Definition |
|---|---|---|---|
| p-max | Pmax | :MEASure:PLEVel:PMAX
|
Measured amplitude of the extracted linear pulse response for IEEE 802.3-2022. |
| P-Signal | Psignal | :MEASure:PLEVel:PSIGnal
|
Measured amplitude of the extracted linear pulse response for IEEE 802.3dj. |
| Sigma-E (rms) | σe rms | :MEASure:PLEVel:SERRor
|
The standard deviation of the distortion. |
| Sigma-N (rms) | σn rms | :MEASure:PLEVel:SNOise
|
The standard deviation of the signal noise. |
The measurements shown in the Levels panel.
| Select | Command |
|---|---|
| Linear pulse fit definition: p-max or P-Signal | :MEASure:AMPLitude:DEFine:SNDRatio:DEFinition
|
| Pulse Delay | :MEASure:AMPLitude:DEFine:SNDRatio:PDELay
|
| Pulse Length | :MEASure:AMPLitude:DEFine:SNDRatio:PLENgth
|
Starting with FlexDCA revision A.08.40, regardless of which definition you select (p-max or P-Signal), the supporting measurements p-max or P-Signal are always displayed in Jitter Mode's Level panel.
Requires FlexDCA revision A.08.40 and above for support of the p-max query.
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:SNDRatio
flex.write(':MEASure:PLEVel:SNDRatio:SOURce CHAN1A')
if flex.query(':MEASure:PLEVel:SNDRatio:STATus?') == 'CORR';
measurement = flex.query(':MEASure:PLEVel:SNDRatio?')
else:
details = flex.query(':MEASure:PLEVel:SNDRatio:STATus:DETails?')
reason = flex.query(':MEASure:PLEVel:SNDRatio:STATus:REASon?')
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:SNDRatio:STATus?')):
measurement = Flex.query(':MEASure:PLEVel:SNDRatio?')
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:SNDRatio:COUNt?). The technique uses the :COUNt? common measurement query. For example,
if (Flex.query(':MEASure:PLEVel:SNDRatio:COUNt?') >= Flex.query(':ACQuire:ECOUNt?')):
measurement = Flex.query(':MEASure:PLEVel:SNDRatio?')
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?.
Example Command Sequence
The following commands configure and run the SNDR measurements resulting in the measurements shown on FlexDCA's Level panel.
:MEASure:AMPLitude:DEFine:SNDRatio:DEFinition PMAX :MEASure:AMPLitude:DEFine:SNDRatio:PDELay 4 :MEASure:AMPLitude:DEFine:SNDRatio:PLENgth 200 :MEASure:PLEVel:SNOise :MEASure:PLEVel:SERRor :MEASure:PLEVel:PSIGnal :MEASure:PLEVel:PMAX :MEASure:PLEVel:SNDRatio