EasyManua.ls Logo

R&S NRP2 - Page 414

R&S NRP2
437 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming Measurements
R&S
®
NRP2
396User Manual 1173.9157.02 ─ 03
SENS:STAT:SCAL:X:RANG commands. The RANGe is divided into measurement inter-
vals by specifying SENS:STAT:SCAL:X:POIN. You are therefore retrieve the measure-
ment values in response to FETCh? SENS:STAT:SCAL:X:POIN.
*RST
UNIT:POWER:RATIO O 'output unit 1
TRIG:SOUR INT 'trigger to a signal edge
TRIG:SLOP POS 'trigger to rising signal edge
SENS:FUNC "XPOW:CCDF" 'set CCDF statistics function
SENS:STAT:OFFS 300 US 'measurement starts 300 µs after trigger time
SENS:STAT:TIME 500 US 'measurement duration 500 µs
SENS:STAT:SCAL:X:POIN 1024 'number of measurement points on the power axis
SENS:STAT:SCAL:X:RLEV -40 'lowest considered power in dBm
SENS:STAT:SCAL:X:RANG 50 'measurement range on the power axis in dB
SENS:STAT:SAMP 1E9 'number of desired samples to be included
'in the statistics
INIT 'start measurement
FETCh? 'query array with the statistics data
SENS:STAT:AVER? 'average power values that were included
'in the statistics
C.5.2 Selective measurement of individual statistics values
As in manual operation, marker measurements can also be performed by remote control.
For this purpose, a remote-control command is used to set a value on the density/distri-
bution axis or the power axis. Using another command, you can then read off the sought
matching value.
Example:
The measurement is performed over a GSM frame (4.615 ms). First the CCDF of a GSM
signal at −15 dBm is to be calculated. Subsequently the power value at which the CCDF
is still 50% is of interest.
*RST
TRIG:SOUR INT 'trigger to a signal edge
TRIG:SLOP POS 'trigger to rising signal edge
SENS:FUNC "XPOW:CCDF" 'set CCDF statistics function
SENS:STAT:OFFS 0 'measurement starts at trigger time
SENS:STAT:TIME 4.615 MS 'measurement duration 4.615 ms
SENS:STAT:SCAL:X:POIN 1024 'number of measurement points on the power axis
SENS:STAT:SCAL:X:RLEV -30 'lowest considered power in dBm
SENS:STAT:SCAL:X:RANG 30 'measurement range on the power axis in dB
SENS:STAT:SAMP 1E9 'number of samples to be included
'in the statistics
READ?
CALC:STAT:MARK:HOR:POS:X -15 'position marker on the power axis at −15 dBm
CALC:STAT:MARK:HOR:DATA? 'query the DF value at −15 dBm
CALC:STAT:MARK:VERT:POS:X 0.5 'vertical marker at 50%
CALC:STAT:MARK:VERT:DATA? 'query the "50% power" in dBm
Statistics measurements

Table of Contents