
Annex
NRP2
397
User Manual 1173.9140.02 ─ 07
Keyword for selecting a calculation
function with high-level commands
Corresponding low-level commands (n,m=1,2,3,4)
:RAT:REL
(Ratio with reference
value)
CALC:MATH "(SENSn/SENSm)"
;
REL:STAT ON
:SWR
(Standing wave ratio)
CALC:MATH "SWR(SENSn)"
;
REL:STAT OFF
:RLOS
(Return loss)
CALC:MATH "RLOS(SENSn)"
;
REL:STAT OFF
:REFL
(Reflection coefficient)
CALC:MATH "REFL(SENSn)"
;
REL:STAT OFF
Example
*RST
CALC:MATH "(SENS1/SENS2)"
'processes sensors 1 and 2
CALC:REL:STAT ON
'relative measurement
CALC:REL 23 dB
'sets reference value
INIT:ALL
'starts measurements on all sensors
FETCh?
A.4.5 Statistics measurements
There are no high-level commands available for statistics measurements. The mea-
surements must therefore be performed with the aid of the low-level commands.
Two basic types of measurements are conceivable:
●
Measurement of a density/distribution curve versus power. An array of statistic val-
ues is returned.
●
Measurement with the aid of markers. Scalar values at the marker positions are
calculated. Either the power or the density/distribution value can be specified.
A.4.5.1
Measurement of a density/distribution curve
The sensor measures the power in a time interval that is determined by
the
SENS:STAT:OFFS
and
SENS:STAT:TIME
commands. Triggering functions in a
perfectly normal way, as with other measurements. In principle, the number of (power)
samples considered could be set by means of filtering. The higher the filter value, the
more samples are included in the statistics and the greater the measurement accuracy.
However, the filter commands should not be used here, since the minimum number of
samples can be set much more conveniently using the
SENS:STAT:SAMP
command.
By means of the measured powers, the statistics function determined with
SENS:FUNC
is now calculated. The power range is limited using the
SENS:STAT:SCAL:X:RLEV
and
SENS:STAT:SCAL:X:RANG
commands. The
RANGe
is divided into measurement
intervals by specifying
SENS:STAT:SCAL:X:POIN
. You are therefore retrieve the
measurement 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
Programming Measurements
北京海洋兴业科技股份有限公司(证券代码:839145)
电话:010-62176775
网址:www.hyxyyq.com