Response Header Options
The format of the returned ASCII string depends on the current settings of
the SYSTEM HEADER and LONGFORM commands. The general format is
<instruction_header><space><data><terminator>
The header identifies the data that follows (the parameters) and is controlled
by issuing a :SYSTEM:HEADER ON/OFF command. If the state of the
header command is OFF, only the data is returned by the query.
The format of the header is controlled by the :SYSTEM:LONGFORM ON/OFF
command. If long form is OFF , the header will be in its short form and the
header will vary in length, depending on the particular query. The separator
between the header and the data always consists of one space.
A command or query may be sent in either long form or short form, or in any
combination of long form and short form. The HEADER and LONGFORM
commands only control the format of the returned data, and, they have no
affect on the way commands are sent.
Refer to chapter 11, "SYSTem Subsystem" for information on turning the
HEADER and LONGFORM commands on and off.
Example The following examples show some possible responses for a
:MACHINE1:SFORMAT:THRESHOLD2? query:
with HEADER OFF:
<data><terminator>
with HEADER ON and LONGFORM OFF:
:MACH1:SFOR:THR2<white_space><data><terminator>
with HEADER ON and LONGFORM ON:
:MACHINE1:SFORMAT:THRESHOLD2<white_space><data><terminator>
Introduction to Programming the Agilent Technologies 1670G-Series Logic Analyzer
Response Header Options
1–16