Program Header Options - HP 1652B Programming Reference Manual

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

Advertisement

Program Header
Options
Note d
Parameter Syntax
Rules
HP 1662Bll653B
Programming Reference
Program headers can be sent using any combination of uppercase or
lowercase ASCII characters. Instrument responses, however, are always
returned in uppercase.
Both program command and query headers may be sent in either
combination of longform and shortform. Either of the following examples
turns on the headers and longform.
OUTPUT XXX;":SYSTEM:HEAOER
OUTPUT XXX;" :SYST:HEAO 0N;LONG
Programs written in longform are easily read and are
self-documenting. The shortform syntax conserves the amount of
controller memory needed for program storage and reduces the amount
of I/O activity.
The rules for shortform syntax are shown in chapter 4 "Programming and
Documentation Conventions."
There are three main types of data which are used in parameters. They
are numeric, string, and keyword. A fourth type, block data, is used only
for five instructions: the DATA and SETup instructions in the SYSTem
subsystem (see chapter 6); the CATalog, UPLoad, and DOWNload
instructions in the MMEMory subsystem (see chapter 7). These syntax
rules also show how data may be formatted when sent back from the
HP 1652B/53B as a response.
The parameter list always follows the instruction header and is separated
from it by white space. When more than one parameter is used, they are
separated by commas. You are allowed to include one or more spaces
around the commas, but it is not mandatory.
ON"
ON"
Introduction to Programming an Instrument
almost
1-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 1653b

Table of Contents