Remote Control Basics
R&S
®
SMBV100A
488
Operating Manual 1176.8016.02 ─ 17
6.3.3.3
Boolean Parameters
Boolean parameters represent two states. The "ON" state (logically true) is represen-
ted by "ON" or a numeric value 1. The "OFF" state (logically untrue) is represented by
"OFF" or the numeric value 0. The numeric values are provided as the response for a
query.
Example:
Setting command:
HCOPy:DEV:COL ON
Query:
HCOPy:DEV:COL?
Response:
1
6.3.3.4
Text Parameters
Text parameters observe the syntactic rules for mnemonics, 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 response to a query, the short form of the text is provi-
ded.
Example:
Setting command:
HCOPy:PAGE:ORIentation LANDscape
Query:
HCOP:PAGE:ORI?
Response:
LAND
6.3.3.5
Character Strings
Strings must always be entered in quotation marks (' or ").
Example:
HCOP:ITEM:LABel "Test1"
HCOP:ITEM:LABel 'Test1'
6.3.3.6
Block Data
Block data is a format which is suitable for the transmission of large amounts of data.
For example, a command using a block data parameter has the following structure:
FORMat:READings:DATA #45168xxxxxxxx
The 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 follow-
ing digits indicate the length to be 5168 bytes. The data bytes follow. During the trans-
mission of these data bytes all end or other control signs are ignored until all bytes are
transmitted.
#0
specifies a data block of indefinite length. The use of the indefinite format requires a
NL^END
message to terminate the data block. This format is useful when the length of
SCPI Command Structure