
Annex
NRP2
379
User Manual 1173.9140.02 ─ 07
A.4 Programming Measurements
A.4.1 Measuring with high-level commands
The R&S
NRP2 is based on the instrument model defined in the SCPI 1999.0 stand-
ard. 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 com-
mands that automatically perform the most important settings and simplify measure-
ments, thus making it unnecessary to completely configure these blocks for each mea-
surement. 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 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.
A.4.1.1
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 out-
puts 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.
Programming Measurements
北京海洋兴业科技股份有限公司(证券代码:839145)
电话:010-62176775
网址:www.hyxyyq.com