
R&S NRP
Annex: Remote Control - Commands
1144.1400.12
Annex - I.1
E-2
I
Programming Measurements with the R&S NRP
Measuring with high-level commands
The R&S NRP is based on the instrument model defined in the SCPI 1999.0 standard. This model
provides a number of logic blocks that can be configured via remote-control commands. The R&S NRP
is provided with high-level measurement commands that automatically perform the most important
settings and simplify measurements, thus making it unnecessary to completely configure these blocks
for each measurement. Only the high-level commands are described, starting with the simplest
command, which is expanded in the following sections.
Note the following for the syntax of commands: There is a short and a long form for the commands. The
short form is normally used. However, commands are sometimes indicated in their long form so that
their meaning is easier to understand. The R&S NRP makes no distinction between upper case and
lower case letters; they are only used to distinguish between the short and long form.
The simplest measurement
The simplest way to obtain a measured value is to use the high-level measurement command
MEAS?,
which configures sensor 1 in the ContAv mode, starts a measurement and always outputs a result that
is stored in the output queue. The following settings are performed:
•
INIT:CONT OFF
•
TRIG:SOUR IMM
•
TRIG:COUN 1
•
TRIG:DEL:AUTO ON
•
SENS:AVER:STAT ON
•
SENS:AVER:COUN:AUTO ON
•
SENS:AVER:COUN:AUTO:TYPE RES
•
SENS:AVER:COUN:AUTO:RES 3
•
CALC:MATH "(SENS1)"
•
CALC:REL:STAT OFF
The command can also be used with a list of parameters, which are separated by a comma and allow
the measurement accuracy and the addressed sensor to be selected:
MEAS? DEF, <resolution>, <source_list>
The first parameter should always assume the
DEF
value; it is ignored and is available only for reasons
of compatibility.
The second parameter may assume the values
1
,
2
,
3
and
4
. It specifies the number of places up to
which the measurement result should be noise-free. With linear units, the setting corresponds to the
number of significant places that are noise-free; with logarithmic units,
1
,
2
,
3
and
4
correspond to a
resolution of 1, 0.1, 0.01 and 0.001 (number of decimal places). With a
<resolution>
of
3
, two
decimal places are thus noise-free with logarithmic display. The default setting is
3
.
The third parameter selects a sensor. It has the syntax
(@n)
, where n can assume the values
1
to
4
.
The default setting is
(@1)
.