Program Message Syntax - HP 54601 Programmer's Manual

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. The figure below shows the main syntactical parts of a typical
program statement.
Figure 1–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 examples of individual
commands. If you are using other languages, you will need to find the
equivalents of HP BASIC commands like OUTPUT, ENTER, and CLEAR in
order to convert the examples. The instructions listed in this manual are
always shown between quotation marks in the example programs.
Device Address
The location where the device address must be specified is also dependent
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
oscilloscope is at device address 707. When writing programs, the address
varies according to how the bus is configured.
1–4

Advertisement

Table of Contents
loading

This manual is also suitable for:

54600 series5460254603546105461554616

Table of Contents