Note
&
A command or query may be sent in either longform or shortform, or in
any combination of iongform and shortform. The HEADER and
LONGFORM
commands only control the format of the returned data
and have no effect on the way commands are sent.
Refer to the chapter “System Commands” for information on turning the
HEADER and
LONGFORM
commands on and off.
Response Data
Both numbers and strings are returned as a series of ASCII characters, as
Formats
described in the following sections. Keywords in the data are returned in
the same format as the header, as specified by the
LONGform
command.
Like the headers, the keywords will always be in upper-case.
The following are possible responses to the
“MACHINEl:
TFORMAT:
LAB? ‘ADDR’
”
query.
MACHINE1:TFORMAT:LABEL
“ADDR
“,19,POSITIVEc
terminator> (Header on;
Longform
on)
MACHl:TFOR:lAB
“ADDR
“,19,POScterminator
z-
(Header on;
Longform
off)
“ADDR
“,19,POSITIVE4erminator
>
(Header off;
Longform
on)
“ADDR
“,19,POS<terminator>
(Header off;
Longform
off)
Note
d
pfer
to the individual commands in this manual for information on the
ormat (alpha or numeric) of the data returned from each query.
introduction to Programming an Instrument
1-14
HP
1650B/HP
16518
Programming Reference