![Rohde & Schwarz CMW500 Series User Manual Download Page 133](http://html1.mh-extra.com/html/rohde-and-schwarz/cmw500-series/cmw500-series_user-manual_1477718133.webp)
Remote Control
R&S
®
CMW500
133
User Manual 1173.9463.02 ─ 02
Example:
Setting command:
SOURce:GPRF:GENerator:STATe ON
Query:
SOURce:GPRF:GENerator:STATe
? returns
ON
Text Parameters
Text parameters observe the syntax rules for keywords, 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:
SOURce:GPRF:GENerator:BBMode DTONe
Query:
SOURce:GPRF:GENerator:BBMode?
returns
DTON
Strings
Strings must be entered within single or double quotation marks (' or ").
Example
:
MMEM:MDIR 'C:\test scripts'
or
MMEM:MDIR "C:\test scripts"
Block Data Format
Block data is a transmission format which is suitable for the transmission of large amounts
of data. A command using a block data parameter with definite length has the following
structure:
Example:
HEADer:HEADer #45168xxxxxxxx
The hash symbol # introduces the data block. The next number indicates how many of
the following digits describe the length of the data block. In the example above 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.
A #0 combination introduces 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.
Overview of Syntax Elements
Element
Usage
:
The colon separates the keywords of a command. In a command line the separating semi-
colon 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.
Messages