Programmingsyntax; Instruction Syntax - HP 1652B Programming Reference Manual

Logic
Hide thumbs Also See for HP 1652B:
Table of Contents

Advertisement

Programming
Syntax
Talking to the
Instrument

Instruction Syntax

Introduction to Programming an Instrument
l-2
In general, computers acting as controllers communicate with the
instrument by sending and receiving messages over a remote interface,
such as HP-IB or RS-232C. Instructions for programming the HP
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 1652B/53B.
For example, HP 9000 Series 2W300 BASIC uses the OUTPUT
statement for sending commands and queries to the HP 1652B/53B. After
a query is sent, the response is usually read in using the ENTER
statement. All progr amming examples in this manual are presented in
BASIC. The following BASIC statement sends a command which causes
the HP 1652B/53B's machine 1 to be a state analyzer:
OUTPUT
Each part of the above statement is explained in the following pages.
To program the instrument remotely, you must have an understanding of
the command format and structure expected by the instrument. The IEEE
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.
INSTRUCTION
PARAMETERS
Figure l-l. Program Message Syntax
STATE"
<terminator>
O U T P U T
Progmmmlng Reference
INSTRUCTION
D I S P L A Y . 2 '
HP 16528/1653B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 1653b

Table of Contents