
l
’
Note
All results for queries sent in a program message must be read before
another program message is sent. For example, when you send the query
you must follow that query with an input
statement. In BASIC, this is usually done with the ENTER statement.
The format specification for handling the response messages is dependent
on both the controller and the programming language.
Response Header
The format of the returned ASCII string depends on the current settings
Options
of the SYSTEM HEADER and
commands. The general
format is:
c instruction header
space c data
c 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
The format of the header is controlled by the :SYSTEM:LONGFORM
ON/OFF command. If
is OFF, the header will be in its
shortform 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.
The following examples show some possible responses for a
query:
l
with HEADER OFF:
<data terminator
l
with HEADER ON and
OFF:
<data> c terminator>
l
with HEADER ON and
ON:
<terminator
HP
Programming Reference
Introduction to Programming an Instrument
1-13
Содержание 1650B
Страница 2: ......
Страница 16: ......
Страница 40: ......
Страница 48: ......
Страница 58: ......
Страница 74: ......
Страница 76: ...System Commands 6 2 Figure 6 l System Commands Syntax Diagram HP 1650B HP 1651B Programming Reference ...
Страница 112: ......
Страница 128: ......
Страница 134: ......
Страница 160: ......
Страница 184: ... L h E I Figure 13 1 SLlSt Subsystem Syntax Diagram SLIST Subsystem 13 2 HP 165081HP Is5 B Programming Reference ...
Страница 185: ...Figure 13 l SLlSt Subsystem Syntax Diagram continued HP 1650B HP 16518 Programming Reference SLIST Subsystem 13 3 ...
Страница 210: ......
Страница 236: ......
Страница 282: ......
Страница 318: ......
Страница 336: ......
Страница 346: ......