SCPI Command Structure
R&S
®
Scope Rider RTH
510
User Manual 1326.1578.02 ─ 12
Example:
Setting command:
HCOPy:DEV:COL ON
Query:
HCOPy:DEV:COL?
Response:
1
A.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
A.3.5
Character Strings
Strings must always be entered in quotation marks (' or ").
Example:
HCOP:ITEM:LABel "Test1"
HCOP:ITEM:LABel 'Test1'
A.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
the transmission is not known or if speed or other considerations prevent segmentation
of the data into blocks of definite length.
SCPI Parameters