Structure and Syntax of Device Messages R&S®SML / R&S®SMV03
1090.3123.12 E-6 5.10
Parameters
The following examples are general, they are not necessarly available with R&S SML / R&S SMV03.
Most commands require a parameter to be specified. Parameters must be separated from the header
by a "white space". Permissible parameters are numerical values, Boolean parameters, text, character
strings and block data. The parameter type required for a given command and the permissible range of
values are specified in the command description.
Numerical values Numerical values can be entered in any form, ie with sign, decimal point and
exponent. Values exceeding the resolution of the instrument are rounded up or
down. The mantissa may comprise up to 255 characters, the exponent must be
in the value range -32 000 to 32 000. The exponent is preceded by an "E" or
"e". Specifying the exponent alone is not permissible. In the case of physical
quantities, the unit can be entered. Permissible unit prefixes are G (giga), MA
(mega, MOHM and MHz being also permissible), K (kilo), M (milli), U (micro)
and N (nano). If no unit is entered, the basic unit is used.
Example: SOURce:FREQuency 1.5 kHz = SOURce:FREQuency 1.5E3
Special numerical The texts MINimum, MAXimum, DEFault, UP and DOWN are interpreted as
values special numerical values.
In the case of a query, the numerical value is returned.
Example: Setting command: SOURce:VOLTage MAXimum
Query: SOURce:VOLTage? Response: 15
MIN/MAX MINimum and MAXimum denote the minimum and the maximum value.
DEF DEFault denotes a preset value stored in an EPROM. This value conforms to
the default setting as called by the *RST command.
UP/DOWN UP/DOWN increases or decreases the numerical value by one step. The step
width can be defined via an allocated step command for each parameter which
can be set via UP/DOWN (see List of Commands, chapter 6).
INF/NINF INFinity, Negative INFinity (NINF) represent the numerical values –9.9E37 or
9.9E37, respectively. INF and NINF are only sent as device responses.
NAN Not A Number (NAN) represents the value 9.91E37. NAN is only sent as a
device response. This value is not defined. Possible causes are the division of
zero by zero, the subtraction of infinite from infinite and the representation of
missing values.
Boolean Parameters Boolean parameters represent two states. The ON state (logically true) is
represented by ON or a numerical value unequal to 0. The OFF state (logically
untrue) is represented by OFF or the numerical value 0. In the case of a query,
0 or 1 is returned.
Example: Setting command: SOURce:FM:STATe ON
Query: SOURce:FM:STATe? Response: 1
Text Text parameters follow the syntactic rules for key words, ie they can be entered
using a short or a long form. Like any other parameter, they must be separated
from the header by a "white space". In the case of a query, the short form of the
text is returned.
Example: Setting command: :OUTPut:FILTer:TYPE EXTernal
Query: :OUTPut:FILTer:TYPE? Response: EXT