
Structure and Syntax of the Device Messages
FSE
1065.6016.12
5.14
E-16
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..
Overview of Syntax Elements
The following survey offers an overview of the syntax elements.
:
;
,
?
*
"
#
The colon separates the key words of a command.
In a command line the separating semicolon 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.
Double or single quotation marks introduce a string and terminate it.
The double dagger # introduces block data.
A "white space" (ASCII-Code 0 to 9, 11 to 32 decimal, e.g. blank) separates
header and parameter.
’
Содержание 1065.6000.20
Страница 3: ......
Страница 5: ......
Страница 17: ......
Страница 57: ...Contents Description of Commands FSE 1065 6016 12 I 6 4 E 16...
Страница 379: ...Contents Programming Examples FSE 1065 6016 12 I 7 2 E 1...
Страница 391: ......
Страница 393: ...Contents Maintenance and Instrument Interfaces FSE 1065 6016 12 I 8 2 E 15...
Страница 419: ......
Страница 421: ...Contents Error Messages FSE 1065 6016 12 I 9 2 E 1...
Страница 429: ......