Programming Measurements
R&S
®
NRP2
377
User Manual 1173.9157.02 ─ 03
C Programming Measurements
C.1 Measuring with high-level commands
The R&S
NRP2 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
NRP2 is provided with high-level measurement commands that
automatically perform the most important settings and simplify measurements, thus mak-
ing it unnecessary to completely configure these blocks for each measurement. Only the
high-level commands are described, starting with the simplest command, which is expan-
ded 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 indi-
cated in their long form so that their meaning is easier to understand. The R&S
NRP2
makes no distinction between upper case and lower case letters; they are only used to
distinguish between the short and long form.
C.1.1 The simplest measurement
The simplest way to obtain a measured value is to use the high-level measurement com-
mand
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.
Measuring with high-level commands
Summary of Contents for NRP2
Page 1: ...R S NRP2 Power Meter User Manual User Manual 2 1173 9157 02 03 Test Measurement...
Page 20: ......
Page 24: ...Contents R S NRP2 6 User Manual 1173 9157 02 03...
Page 40: ...Putting into Operation R S NRP2 22 User Manual 1173 9157 02 03 Starting the R S NRP2...
Page 352: ...Maintenance R S NRP2 334 User Manual 1173 9157 02 03 Storage...
Page 366: ...Error Messages and Troubleshooting R S NRP2 348 User Manual 1173 9157 02 03 Bootmenu...
Page 382: ...Remote control interfaces R S NRP2 364 User Manual 1173 9157 02 03 USB interface...
Page 394: ...Standard Configurations R S NRP2 376 User Manual 1173 9157 02 03...
Page 422: ...Compatibility Information R S NRP2 404 User Manual 1173 9157 02 03...