Program Message Syntax - HP 54620A Programmer's Manual

Logic analyzer
Hide thumbs Also See for 54620A:
Table of Contents

Advertisement

Introduction to Programming

Program message syntax

Program message syntax
To program the instrument remotely, you must understand the command
format and structure expected by the instrument. The IEEE 488.2 syntax
rules govern how individual elements such as headers, separators, program
data, and terminators may be grouped together to form complete
instructions. Syntax definitions are also given to show how query responses
are formatted. Figure 1 shows the main syntactical parts of a typical program
statement.
Figure 1
Program Message Syntax
Output Command
The output command is entirely dependent on the programming language.
Throughout this manual, HP BASIC is used in most of the individual
command exampless. If you are using other languages, you must find the
equivalents of HP BASIC commands like OUTPUT, ENTER, and CLEAR to
convert the examples. For example, the example progam in chapter 2 is
written in C, and uses the library function IOOUTPUTS to send a command.
The instructions listed in this manual are always enclosed in quotation marks
in the example programs.
Device Address
The location where the device address must be specified also depends on the
programming language you are using. In some languages, this may be
specified outside the output command. In HP BASIC, this is always specified
after the keyword OUTPUT. The examples in this manual assume the logic
analyzer is at device address 707. When writing programs, the address varies
according to how the bus is configured.
12

Advertisement

Table of Contents
loading

This manual is also suitable for:

54620c

Table of Contents