
Programming
Syntax
Talking to the
In general, computers acting as controllers communicate with the
Instrument
instrument by sending and receiving messages over a remote interface,
such as HP-IB or
Instructions for programming the HP
will normally appear as ASCII character strings embedded
inside the output statements of a “host” language available on your
controller. The host language’s input statements are used to read in
responses from the HP
For example, HP 9000 Series
BASIC uses the OUTPUT
statement for sending commands and queries to the HP
After
a query is sent, the response is usually read in using the ENTER
statement. All progr
examples in this manual are presented in
BASIC. The following BASIC statement sends a command which causes
the HP
machine 1 to be a state analyzer:
OUTPUT XXX;"
STATE"
<terminator>
Each part of the above statement is explained in the following pages.
instruction Syntax
To program the instrument remotely, you must have an understanding of
the command format and structure expected by the instrument. IEEE
syntax rules govern how individual elements such as headers,
separators, parameters and terminators may be grouped together to form
complete instructions. Syntax definitions are also given to show how
query responses will be formatted. Fiie l-l shows the main syntactical
parts of a typical program statement.
O U T P U T
Figure
l-l.
Program Message Syntax
Introduction to Programming an instrument
HP
16518
l-2
Programming Reference
Содержание 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: ......