Remote Control Basics
R&S
®
SMJ100A
468
Operating Manual 1403.7458.32 ─ 14
Example:
HCOP:ITEM:LABel "Test1"
or
HCOP:ITEM:LABel 'Test1'
Block data
Block data is a format which is suitable for the transmission of large amounts of data. A
command using a block data parameter has the following structure:
Example:
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.
6.3.4 Overview of Syntax Elements
The following table provides an overview of the syntax elements:
:
The colon separates the mnemonics of a command. In a command line the separating semico-
lon marks the uppermost command level.
;
The semicolon separates two commands of a command line. It does not alter the path.
,
The comma separates several parameters of a command.
?
The question mark forms a query.
*
The asterisk marks a common command.
' '
"
Quotation marks introduce a string and terminate it (both single and double quotation marks are
possible).
#
The hash symbol introduces binary, octal, hexadecimal and block data.
●
Binary: #B10110
●
Octal: #O7612
●
Hexa: #HF3A7
●
Block: #21312
A "white space" (ASCII-Code 0 to 9, 11 to 32 decimal, e.g. blank) separates the header from the
parameters.
6.3.5 Structure of a command line
A command line may consist of one or several commands. It is terminated by one of
the following:
SCPI Command Structure
Summary of Contents for SMJ100A
Page 34: ...Preface R S SMJ100A 18 Operating Manual 1403 7458 32 14 Notes on Screenshots...
Page 86: ...Preparing for Use R S SMJ100A 70 Operating Manual 1403 7458 32 14 LXI Configuration...
Page 826: ...Remote Control Commands R S SMJ100A 810 Operating Manual 1403 7458 32 14 UNIT Subsystem...
Page 828: ...Maintenance R S SMJ100A 812 Operating Manual 1403 7458 32 14 Storing and Packing...
Page 844: ...Hardware Interfaces R S SMJ100A 828 Operating Manual 1403 7458 32 14 BERT Connector...