HP 1652B Owner's manual

Errata
Title & Document Type:
Manual Part Number:
Revision Date:
HP References in this Manual
This manual may contain references to HP or Hewlett-Packard. Please note that Hewlett-
Packard's former test and measurement, semiconductor products and chemical analysis
businesses are now part of Agilent Technologies. We have made no changes to this
manual copy. The HP XXXX referred to in this document is now the Agilent XXXX.
For example, model number HP8648A is now model number Agilent 8648A.
About this Manual
We’ve added this manual to the Agilent website in an effort to help you support your
product. This manual provides the best information we could find. It may be incomplete
or contain dated information, and the scan quality may not be ideal. If we find a better
copy in the future, we will add it to the Agilent website.
Support for Your Product
Agilent no longer sells or supports this product. You will find any other available
product information on the Agilent Test & Measurement website:
www.tm.agilent.com
Search for the model number of this product, and the resulting product page will guide
you to any available information. Our service centers may be able to perform calibration
if no repair parts are needed, but no other support from Agilent is available.
Advanced Test Equipment Rentals
www.atecorp.com 800-404-ATEC (2832)
®
E
s
t
a
b
l
i
s
h
e
d
1
9
8
1

ProgrammingReference
HP 1652B/HP 1653B Logic Analyzers
E!ia
HEWLETT
PACKARD
@Copyright Hewlett-Packard Company 1989
Manual Number 0165240903 Printed in the U.S.A. December 1989

Printing History
New editions are complete revisions of the manual. Update packages,
which are issued between editions, contain additional and replacement
pages to be merged into the manual by the customer. The dates on the
title page change only when a new edition or a new update is published.
No information is incorporated into a reprinting unless it appears as a
prior update; the edition does not change when an update is incorporated.
A
software code may be printed before the date; this indicates the version
level of the software product at the time of the manual or update was
issued. Many product updates and
fmes
do not require manual changes
and, conversely, manual corrections may be done without accompanying
product changes. Therefore, do not expect a one to one correspondence
between product updates and manual updates.
Edition 1December 1989 0165240903

List of Effective Pages
The List of Effective Pages gives the data of the current edition and of any
pages changed in updates to that edition. Within the manual, any page
changed since the last edition will have the date the changes were made
printed on the bottom of the page. If an update is incorporated when a
new edition of the manual is printed, the change dates are removed from
the bottom of the pages and the new edition date is listed in Printing
History and on the title page.
Pages Effective Date
All
December 1989

Contents
Chapter 1
Introduction to Programming an Instrument
Introduction .............................................. ..l- 1
AboutThisManuaI
........................................
..l-
1
ProgrammingSyntax
......................................
..l-
2
Talking
to the Instrument .................................. l-2
Instruction Syntax
........................................
.l-2
Output Command ......................................... l-3
DeviceAddress...........................................l-
3
Instructions
............................................
..l-
3
Instruction Header ........................................ l-3
WhiteSpace..............................................l-
4
Instruction Parameters. ...................................
*l-4
HeaderTypes
..........................................
..l-
4
Combining Commands from the Same Subsystem ..............l-5
Duplicate Keywords ....................................... l-5
QueryUsage
...........................................
..l-
6
Program Header Options .................................. l-7
Parameter Syntax
Rules
.................................... l-7
Instruction Terminator ...................................
. l-9
Selecting Multiple Subsystems
.............................
.1-9
Programming an Instrument ................................. l-10
Initialization ............................................. l-10
ExampleProgram........................................l-ll
ProgramOverview
.....................................
..l-11
Receiving Information from the Instrument .................. l-11
Response Header Options ................................
l-12
Response Data Formats ..................................
l-13
String Variables .........................................
1-14
NumericBase
.........................................
..l-15
Numeric Variables .......................................
l-15
Definite-Length Block Response Data ..................... . l-16
Multiple Queries ......................................... l-17
InstrumentStatus
...................................... ..l-17
HP
16528/1653B
Programming
Reference Contents
-
1

Chapter 2
Programming Over HP-IB
Introduction .............................................. ..2- 1
Interface Capabilities .......................................
.2-l
Command and Data Concepts ................................
.2-l
Addressing
............................................... ..2- 1
Communicating Over the HP-IB Bus (HP 9000 Series
200/300
Controller) ............................................... ..2- 2
Local, Remote, and Local Lockout ............................ .2-2
BusCommands
........................................... ..2- 3
DeviceClear
........................................... ..2- 3
Group Execute Trigger (GET) ............................. .2-3
Interface Clear (IFC) ..................................... .2-3
Chapter 3
Programming Over RS-232C
Introduction .............................................. ..3- 1
Interface Operation .........................................
.3-l
Cables
................................................... ..3- 2
Minimum Three-Wire Interface with Software Protocol ..........
.3-2
Extended Interface with Hardware Handshake ................. .3-3
CableExample..............................................3-
4
Configuring the Instrument Interface .......................... .3-5
Interface Capabilities .......................................
.3-S
Protocol ............................................... ..3- 5
DataBits
.............................................. ..3- 6
Communicating Over the RS-232C Bus (HP 9000 Series
200/300
Controller) ............................................... ..3- 6
LockoutCommand
........................................ ..3- 7
Chapter 4
Programming and Documentation Conventions
Introduction ..............................
Truncation Rule ...........................
Infinity Representation .....................
Sequential and Overlapped Commands .......
Response Generation ......................
Syntax Diagrams ..........................
Notation Conventions and Definitions
........
The Command Tree .......................
.
.
.
.
.
.
.............
4-l
.............4-l
.............4-2
.............4-2
.............4-2
.............4-2
.............4-3
.............4-4
Contents
-
2 HP 16528/1653B
Programming Reference

Command Types ..........................................
4-4
Tree Traversal
Rules
.....................................
.4-4
Examples ................................................ 45
Command Set Organization .................................
.4-10
Subsystems..............................................4-10
ProgramExamples
....................................... ..4-11
Chapter 5
Common Commands
Introduction.. ............................................ ..5- 1
+cL.s
................................................
.5-3
*ESE
............................................... ..5- 4
*ESR ................................................. 5-6
*IDN
............................................... ..5- 8
*opt
................................................. 5-9
*RST ............................................. ..5-10
*SRE ................................................ 5-11
*STB
................................................ 5-13
*wAI ...............................................
.5-15
Chapter 6
System Commands
Introduction ................................................ 6-l
ARMBnc
............................................. 6-4
DATA ................................................ 6-5
Logic Analyzer Block Data ................................... 6-8
Section Header
Descriptiod
...............................
.6-8
SectionData
........................................... ..6- 8
Data Preamble Description ................................ .6-8
Acquisition Data Description .............................
-6-11
Oscilloscope Block Data .................................... .6-18
OsciUoscope
Data Section .................................. .6-18
Section Header Description .............................. .6-18
SectionData
.......................................... ..6-18
OsciIIoscope
Display Data Section ........................... .6-19
DSP ................................................ .6-20
ERRor...............................................6-2
1
HEADer
........................................... ..6-2 2
KEY.................................................6-2
3
LER.................................................6-2
5
LOCKout
.......................................... ..6-2 6
HP
16626/16538
Contents
-
3

LONGform...........................................6-2
7
MENU .............................................
.6-B
MESE ..............................................
.6-29
MESR .............................................. .6-31
PPOWer
........................................... ..6-3 3
PRINt
............................................. ..6-
34
RMODe
............................................
.6-35
SETup...............................................6-
36
STARt
............................................... 6-38
STOP................................................6-3
9
Chapter 7
MMEMory Subsystem
Introduction .............................................. ..7- 1
AUToload
.......................................... ..7- 4
CATalog
............................................ ..7- 5
COPY ............................................... .7-6
DOWNload
......................................... ..7- 7
INITialize
........................................... ..7- 8
LOAD.. ............................................ ..7- 9
LOAD.. ........................................... ..7-10
PACK ............................................. ..7-11
PURGe..
.......................................... ..7-12
REName..
......................................... ..7-13
STORe
.............................................. 7-14
UPLoad
............................................. 7-15
Chapter 8
DLlSt Subsystem
Introduction.. ............................................ ..8- 1
DLISt.................................................8-
2
COLumn..............................................8-
3
LINE.. ............................................. ..8- 5
Contents
-
4
HP
16528/1653B
Programming Reference

Chapter 9
WLlSt Subsystem
Introduction . .
.
.
wL1st
. .
.
.
OSTate
.
.
.
XSTate
.
.
.
OTIMe
.
.
.
XTIMe
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.......
.9-l
.
.
.
.
.......
.9-2
.
.
.
.
........
9-3
.
.
.
.
.......
.9-4
.
.
.
.
........
9-5
.
.
*
.
........
9-6
Chapter 10
MACHine Subsystem
Introduction ..............................................
.10-l
MACHine
.........................................
..lO-
3
ARM ..............................................
..lO-
4
ASSign...............................................lO-
5
AUToscale
.........................................
..lO-
6
NAME ............................................
..lO-
7
TYPE .............................................
..lO-
8
Chapter 11
SFORmat Subsystem
Introduction ............................................. ..ll- 1
SFORmat
.......................................... ..ll- 3
CLOCk
............................................ ..ll- 4
CPERiod
.......................................... ..ll- 5
LABel
.............................................. ..ll- 6
MASTer
...........................................
..ll-
8
REMove
........................................... ..ll- 9
SLAVe
........................................... ..ll-10
THReshold
....................................... ..ll-11
Chapter 12
STRace Subsystem
Introduction ............................................. ..12- 1
STRace
............................................ ..12- 4
BRANch
........................................... ..12- 5
FIND.. ............................................ ..12- 8
PREStore
......................................... ..12-10
RANGe
.......................................... ..12-12
HP
16528/l 6538
Programming Reference
Contents
-
5

RESTart
.......................................... ..12-14
SEQuence
........................................
..l2-16
STORe
............................................
.l2-17
TAG ............................................. ..12-19
TERM ............................................
.12-21
Chapter 13
SLlSt Subsystem
Introduction ............................................. ..13- 1
SLISt
...............................................
.13-5
COLumn
..........................................
..l3-
6
DATA ............................................ ..13- 8
LINE ............................................. ..13- 9
MMODe
......................................... ..13-10
OPATtern
........................................ ..13-11
OSEarch
......................................... ..13-13
OSTate
........................................... ..13-14
OTAG ............ .................................
13-15
RUNTil
.......................................... ..13-16
TAVerage
........................................ ..13-18
TMAXimum
...................................... ..13-19
TMINimum
....................................... ..13- 20
VRUNs
..........................................
..l3-2
1
XOTag
........................................... ..13-2 2
XPATtem
........................................ ..13-2 3
XSEarch
.......................................... ..13-2 5
XSTate
........................................... ..13-
26
XTAG ............................................ .13-27
Chapter 14
SWAVeform Subsystem
Introduction.. ...........................................
..l~
1
SWAVeform
......................................... .14-3
Accumulate
.......................................
..14-
4
DELay...............................................14-
5
INSert
............................................. ..14- 6
RANGe..............................................14-
7
REMove
...........................................
..14-
8
Contents
-
6 HP 16528/l 6538
Programming Reference

Chapter 15
SCHart Subsystem
Introduction .............................................
..15-
1
SCHart
............................................
..15-
3
Accumulate
.....................
.
.................
..l5-
4
HAxis
..............................................
.15-s
VAxis
............................................. ..15- 7
Chapter 16
COMPare Subsystem
Introduction ............................................. ..16- 1
COMPare
.......................................... ..16- 3
CMASk..
.......................................... ..16- 4
COPY ............................................. ..16- 5
DATA...............................................16-
6
FIND
................................................
16-8
RANGe..............................................16-
9
RUN-IX
............................................. 16-10
Chapter 17
TFORmat Subsystem
Introduction ..............................................
.17-l
TFORmat
.......................................... ..17- 2
LABel
............................................. ..17- 3
REMove
........................................... ..17- 5
THReshold...........................................17-
6
Chapter 18
lTRace Subsystem
Introduction . . . . . . . . . . .
TIRace
. . . . . . . . .
AMODe
. . . . . . . . .
DURation
. . . . . . .
EDGE . . . . . . . . . .
GLITch
. . . . . . . . .
PAlTern
. . . . . . . .
........
........
........
........
........
........
........
.
.
.
.
.
.
.
.
*
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
18-1
,
.
.
. .
.
.
.
18-3
.
.
.
. .
.
.
.
18-4
.
.
.
. .
.
.
.
18-5
.
.
.
. .
.
.
.
18-6
.
.
.
. .
.
.
.
18-8
.
.
.
. .
.
.
.
18-9
HP 16628/1653B
Programming Reference
Contents
-
7

Chapter 19
TWAVeform Subsystem
Introduction .............................................
..19-
1
TWAVeform
....................................... ..19-
5
Accumulate ......................................... 19-6
DELay
.............................................. 19-7
INSert
............................................. ..19- 8
MMODe
.......................................... ..19- 9
OCONdition
........................................ 19-10
OPATtern
..........................................
19-11
OSEarch
......................................... ..19-13
OTIMe
........................................... ..19-14
RANGe
.......................................... ..19-15
REMove
.......................................... ..19-16
RUNTil
.......................................... ..19-17
SPERiod..
........................................ ..19-19
TAVerage
........................................ ..19-2 0
TMAXimum
...................................... ..19-2 1
TMINimum
....................................... ..19-2 2
VRUNs
.......................................... ..19-2 3
XCONdition
...................................... ..19-2 4
XOTime
.......................................... ..19-
25
XPATtern
........................................ ..19- 26
XSEarch
.......................................... ..19-
28
XTIMe
........................................... ..19-2 9
Chapter 20
SYMBol
Subsystem
Introduction ..............................................
.20-l
SYMBol
........................................... ..20- 3
BASE ............................................... 20-4
PAlTern
..........................................
..20-
5
RANGe
...........................................
..2O-
6
REMove
...........................................
..20-
7
WIDTh
............................................ ..20- 8
Contents
-
8 HP 16526/1653B
Programming Reference

Chapter 21
SCOPe Subsystem
Introduction ............................................... 21-1
SCOPe...............................................21-
2
AUToscale
......................................... ..21- 3
SMODe
.............................................. 21-4
Chapter 22
CHANnel Subsystem
Introduction .............................................
..~-
1
CHANnel
.......................................... ..22- 3
COUPling............................................22-
4
OFFSet
............................................ ..22-
5
PROBe
............................................ ..22- 6
RANGe..............................................22-
7
Chapter 23
TRlGger Subsystem
Introduction ............................................. ..23- 1
The Edge
TriggerMode
......................................... ..23- 1
The Immediate Trigger Mode ............................
.23-l
TRIGger
........................................... ..23- 3
LEVEL..............................................23-
4
MODE ............................................. .23-5
SLOPe.....................................,.........23-
6
SOURce
........................................... ..23- 7
Chapter 24
ACQuire Subsystem
Introduction .............................................
..2~
1
Acquisition Type Normal ................................... .24-2
Acquisition Type Average
...................................
24-2
ACQuire..
......................................... ..24- 3
COUNt
............................................ ..24- 4
TYPE ............................................. ..24- 5
HP 16528/16538 Contents
-
9

Chapter 25
TIMebase
Subsystem
introduction ............................................... 25-l
TIMebase
.......................................... ..25- 2
DELAY ............................................
.25-3
MODE .............................................
.25-4
RANGe..............................................25-
6
Chapter 26
WAVeform Subsystem
Introduction ............................................... 26-l
Waveform
Record .................................................
..~-
3
Data Acquisition Types
....................................
.26-3
NormalMode
......................................... ..26- 3
AverageMode...........................................26-
3
Format for Data Transfer ...................................
.26-4
BYTEFormat...........................................26-
4
WORD Format .........................................
.26-5
ASCIIFormat
.........................................
..%-
5
Data Conversion ..........................................
.2&6
Conversion from Data
Value
to Voltage ....................
.26-6
Conversion from Data
Value
to Time ......................
.26-6
Conversion from Data Value to Trigger Point ...............
.26-6
WAVeform
..........................................
.26-7
COUNt
............................................
..~-
8
DATA...............................................26-
9
FORMat
..........................................
..26-10
POINts
...........................................
..~-11
PREAmble..
...................................... ..26-12
RECord
.......................................... ..26-13
SOURce
.......................................... ..26-14
TYPE ............................................
..~-15
VALid..
..........................................
..~-16
XINCrement
......................................
..26-17
XORigin
.......................................... ..26-18
XREFerence
......................................
..26-19
YINCrement.........................................26-2
0
YORigin
.......................................... ..26-2 1
YREFerence
...................................... ..26-2 2
Contents
-
10 HP 16528/1653B
Programming Reference

Chapter 27
MEASure Subsystem
Introduction ............................................... 27-l
Frequency .............................................. 27-2
Period .................................................. 27-2
Peak-to-Peak............................................27-
2
Positive
Pulse
Width. .................................... .27-2
Negative
Puke
Width .................................... .27-2
Risetime
................................................
27-2
FaIItime
.............................................. ..27- 2
Preshoot and Overshoot
................................. .27-2
Preshoot................................................27-
2
Overshoot
............................................ ..27- 2
MEASure
.......................................... ..27- 4
ALL ................................................ .27-5
FALLTime..
....................................... ..27- 6
FREQuency
........................................ ..27- 7
NWIDth
............................................
.27-B
OVERShoot
......................................... .27-9
PERiod
........................................... ..27-10
PRESHoot
........................................ ..27-11
PWIDth
............................................ .27-12
RISETIme
........................................
..27-13
SOURce
............................................ 27-14
VAMPlitude.........................................27-15
VBASe
..............................................27-16
VMAX ............................................ .27-17
VMIN .............................................. 27-18
VPP ...............................................
.27-19
VTOP ............................................ ..27-.
Appendix A
Message Communication and System Functions
Introduction ............................................. ..A- 1
Protocols..................................................A- 2
Functional Elements ..................................... A-2
Protocol Overview ....................................... A-3
Protocol Operation ....................................... A-3
Protocol Exceptions ...................................... A-4
Syntax
Diagrams
...........................................
A-S
HP
10528/16538
Programming Reference Contents
-
11

Syntax Overview
............................................ A-5
Device Listening Syntax
...................................
A-g
DeviceTalkingSyntax
................................. ..A-2 1
Common Commands ....................................... A-27
Appendix B
Status Reporting
Introduction ............................................... B-l
Event Status Register ..................................... B-3
Service Request Enable Register ........................... B-3
Bit Definitions ........................................... B-3
KeyFeatures
............................................ B-4
SerialPoll
................................................. B-6
Using Serial Poll (HP-IB) ................................. B-6
ParallelPoll
............................................... B-8
PolliugHP-IBDevices..
................................. B-10
Configuring Parallel Poll Responses ....................... B-10
Conducting a Parallel Poll ................................ B-11
Disabling Parallel Poll Responses ......................... B-11
HP-IBCommands ...................................... B-12
Appendix C
Error Messages
Device Dependent Errors ................................... C-l
CommandErrors
........................................... C-2
Execution Errors ........................................... C-3
InternalErrors
............................................. C-4
QueryErrors
.............................................. C-5
Index
Contents
-
12 HP 16528/1653B
Programming Reference

Introductionto
Programming an Instrument
1
Introduction
This chapter introduces you to the basics of remote programming. The
programming instructions explained in this book conform to the
IEEE
488.2
Standard Digital Interface for Programmable
Instrumentation. These programming instructions provide a means of
remotely controlling the HP
1652B/53B.
There are three general
categories of use. You can:
l
Set up the instrument and start measurements
l
Retrieve setup information and measurement results
l
Send measurement data to the instrument
The instructions listed in this manual give you
access
to the measurements
and front panel features of the HP
1652B153B.
The complexity of your
programs and the tasks they accomplish are limited only by your
imagination. This progr
amming
reference is designed to provide a
concise description of each instruction.
About This
Manual
This manual is organized in 27 chapters. Chapter 1 is divided into two
sections. The first section (pages 2 through 9) concentrates on program
syntax, and the second section (pages 10 through 17) discusses
programming an instrument. Read either chapter 2, “Programming Over
HP-IB,” or chapter 3,
“Programminn
Over RS-232C” for information
concerning the physical connection between the HP
1652B/53B
and your
controller. Chapter 4, “Programming and Documentation Conventions,”
gives an overview of all instructions and also explains the notation
conventions used in our syntax definitions and examples. The remaining
chapters 5 through 27 are used to explain each group of instructions.
HP 16528/1653B Introduction to Programming an Instrument
Programming Reference
l-l

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 RS-232C. Instructions for programming the HP
1652B/53B 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 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 programming 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 XXX:":MACHINEl:TYPE 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. The IEEE
483.2 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.
INSTRUCTION
I
OUTPUT
XXX;“:SYSTEM:MENU
DISPLAY.2’
INSTRUCTION PARAMETERS
Figure l-l. Program Message Syntax
Introduction to Programming an Instrument HP 16528/1653B
l-2
Progmmmlng Reference

OutputCommand
The output command is entirely dependant on the language
you
choose to
use. Throughout this manual HP
!%OO
Series 2W300 BASIC 4.0 is used in
the programming examples. People using another language will need to
find the equivalents of BASIC commands like OUTPUT, ENTER and
CLEAR in order to convert the examples. The instructions for the
HP 1652B/53B are always shown between the double-quotes.
Device Address
The location where the device address must be specified is also dependent
on the host language which you are using. In some languages, this could
be specified outside the output command. In BASIC, this is always
specified after the keyword OUTPUT. The examples in this manual use a
generic address of XXX. When writing programs, the number you use
will depend on the cable you use in addition to the actual address. If you
are using an HP-IB, see chapter 2. RS-232C users should refer to
chapter 3, “Programming Over RS-232C.”
Instructions
Instructions (both commands and queries) normally appear as a string
embedded in a statement of your host language, such as BASIC, Pascal or
C. The only time a parameter is not meant to be expressed as a string is
when the instruction’s syntax definition specifies <block data >. There
are only five instructions which use block data.
Instructions are composed of two main parts: The header, which specifies
the command or query to be sent; and the parameters, which provide
additional data needed to clarify the meaning of the instruction.
instruction Header
The instruction header is one or more keywords separated by colons (:).
The command tree in figure 4-l illustrates how all the keywords can be
joined together to form a complete header (see chapter 4, “Programming
and Documentation Conventions”).
The example in figure l-l shows a command. Queries are indicated by
adding a question mark (?) to the end of the header. Many instructions
can be used as either commands or queries, depending on whether or not
you have included the question mark. The command and query forms of
an instruction usually have different parameters. Many queries do not use
any parameters.
When you look up a query in this programming reference, you’ll fmd a
paragraph labeled “Returned Format” under the one labeled “Query
Syntax.” The syntax definition by “Returned format” will always show the
instruction header in square brackets, like
(:SYSTem:MENU].
What this
Introduction to Programming an Instrument
1-3

White Space
Instruction Parameters
Header Types
really means is that the text between the brackets is optional, but it’s also a
quick way to see what the header looks like.
White space is used to separate the instruction header from the
instruction parameters. If the instruction does not use any parameters,
you do not need to include any white space. White space is defined as one
or more spaces. ASCII defines a space to be character 32 (in decimal).
Tabs can be used only if your controller first converts them to space
characters before sending the string to the instrument.
Instruction parameters are used to clarify the meaning of the command or
query. They provide necessary data, such as whether a function should be
on or off, which waveform is to be displayed, or which pattern is to be
looked for. Each instruction’s syntax
deli&ion
shows the parameters, as
well as the values they accept. This chapter’s “Parameter Syntax Rules”
section has all of the general rules about acceptable values.
When there is more than one parameter they are separated by
commas (,). You are allowed to add spaces around the commas.
There are three types of headers: Simple Command; Compound
Command; and Common Command.
Simple Command Header.
Simple command headers contain a single
keyword. START and STOP are examples of simple command headers
typically used in this instrument. The syntax is:
cfunction
>
c terminator
>
When parameters (indicated by
c
data
z=
) must be included with the
simple command header (for example, :RMODE SINGLE) the syntax is:
cfunction>
cwhits
space
>
<data>
cterminator
>
Compound Command Header.
Compound command headers are a
combination of two or more program keywords. The first keyword selects
the subsystem, and the last keyword selects the function within that
subsystem. Sometimes you may need to list more than one subsystem
before being allowed to specify the function. The keywords within the
compound header are separated by colons. For example:
To execute a single function within a subsystem, use the following:
Introduction to Progmmming an Instrument HP 16628/1653B
l-4
Programming Reference
Other manuals for 1652B
2
This manual suits for next models
1
Table of contents
Other HP Measuring Instrument manuals