
R3267 Series Spectrum Analyzer Operation Manual (Vol.1)
5.2.6 Command Syntax
5-12
(2)
Message Exchange
GPIB control between a controller and a device consists of two main elements: query and response
data generation. These are explained below.
(a) Parser
The parser receives command messages in the order of reception from the input buffer, analyzes
the syntax, and determines what the received command is.
(b) Response Data Generation
When the parser determines what the query is, the analyzer generates data in the output buffer in
response (that is, to output data a query must be sent immediately before the data).
5.2.6
Command Syntax
Command programs for the analyzer are defined using the following format:
(1)
Header
Two types of header are available: the common command header and the simple header. The com-
mon command header has an asterisk (*) at the beginning of the mnemonic.
The simple header is a functionally independent command that has no hierarchical structure.
You can form a query command by attaching a “?” in the rear of a header.
(2)
Space (Space Character)
You should separate the header from the data by one or more spaces.
(3)
Data
When the command requires multiple data, data is separated by commas. A space may be inserted
before or after each comma. For more information on data types, see Section 5.2.7 Data Formats.
(4)
Writing Multiple Commands
You can write multiple commands by separating them with semicolons in one line.
Header
<Space (space characters)>
Data