R&S FSL SCPI Command Structure and Syntax
1300.2519.12 5.9 E-11
– UP/DOWN
UP, DOWN increases or reduces the numerical value by one step. The step width can be specified
via an allocated step command (see annex C, List of Commands) for each parameter which can be
set via UP, DOWN.
– INF/NINF
INFinity, Negative INFinity (NINF) Negative INFinity (NINF) represent the numerical values –9.9E37
or 9.9E37, respectively. INF and NINF are only sent as device reponses.
– 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 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. The numerical values are provided as response for query.
Example:
Setting command: DISPlay:WINDow:STATe ON
Query: DISPlay:WINDow:STATe?, Response: 1
Text
Text parameters observe the syntactic rules for key words, i.e. they can be entered using a short or long
form. Like any parameter, they have to be separated from the header by a white space. In the case of a
query, the short form of the text is provided.
Example:
Setting command: INPut:COUPling GROund
Query: INPut:COUPling?, Response: GRO
Strings
Strings must always be entered in quotation marks (' or ").
Example:
SYSTem:LANGuage "SCPI" or SYSTem:LANGuage 'SCPI'
Block data
Block data are a transmission format which is suitable for the transmission of large amounts of data. A
command using a block data parameter has the following structure:
Example:
HEADer:HEADer #45168xxxxxxxx
ASCII character # introduces the data block. The next number indicates how many of the following digits
describe the length of the data block. In the example the 4 following digits indicate the length to be 5168
bytes. The data bytes follow. During the transmission of these data bytes all end or other control signs
are ignored until all bytes are transmitted.