R&S SMC100A SCPI Command Structure and Syntax
1411.4060.32 5.15 E-1
Parameters
Most commands require a parameter to be specified. The parameters must be separated from the
header by a "white space". Permissible parameters are numerical values, Boolean parameters, text,
c
haracter strings and block data. The type of parameter required for the respective command and the
permissible range of values are specified in the command description.
Numerical values
Numerical values can be entered in any form, i.e. 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 values must
be in the value range –9.9E37 to 9.9E37. The exponent is introduced by an
"E" or "e". Entry of the exponent alone is not allowed.
Units
In the case of physical quantities, the unit can be entered. Permissible unit
prefixes are G (giga), MA (mega), MOHM and MHZ are also permissible), K
(kilo), M (milli), U (micro) and N (nano). If the unit is missing, the basic unit is
used.
Example:
SOURce:FREQuency 1.5 kHz = SOURce:FREQuency 1.5E3
Some settings allow relative values to be stated in percent. According to
SCPI, this unit is represented by the
PCT string.
Example:
SOURce:SWEep:FREQuency:STEP:LOGarithmic 5PCT
Special numeric
values
The texts MINimum, MAXimum, DEFault, UP and DOWN are interpreted as
special numerical values.
In the case of a query, the associated numerical value is provided.
Example:
Setting command: SOURce:LFOutput:VOLTage MAXimum
Query: SOURce:LFOutput:VOLTage? Answer: 4
MIN/MAX
MINimum and MAXimum denote the minimum and maximum value
DEF
DEFault denotes a preset value. This value conforms to the default setting,
as it is called by the *RST command.
UP/DOWN
UP, DOWN increases or reduces the numerical value by one step. The step
width can be specified via an allocated step command for each parameter
which can be set via UP, DOWN.
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
device response. This value is not defined. Possible causes are division by
zero, subtraction or addition of infinite and the representation of missing
values.