Text preview for : HP 1660A_252C AS Programmmers Guide.pdf part of Agilent HP 1660A 252C AS Programmmers Guide Agilent HP 1660A_252C AS Programmmers Guide.pdf



Back to : HP 1660A_252C AS Programm | Home

Programmer's Guide


Publication number 01660-97033
Second edition, January 2000




For Safety information, Warranties, and Regulatory
information, see the pages behind the index


Copyright Agilent Technologies 1992-2000
All Rights Reserved




Agilent Technologies
1660A/AS-Series Logic
Analyzers
ii
In This Book
1 Introduction to Programming


2 Programming Over GPIB


3 Programming Over RS-232C
This programmer's guide contains general
information, mainframe level commands,
Programming and
logic analyzer commands, oscilloscope 4 Documentation Conventions
module commands, and programming
examples for programming the
Message Communication
1660-series logic analyzers. This guide 5 and System Functions
focuses on how to program the
instrument over the GPIB and the
RS-232C interfaces. 6 Status Reporting

Instruments covered by the
1660-Series Programmer's Guide 7 Error Message
The 1660-series logic analyzers are
available with or without oscilloscope
measurement capabilities. The 8 Common Commands
1660A-series logic analyzers contain only
a logic analyzer. The 1660AS-series logic
analyzers contain both a logic analyzer 9 Mainframe Commands
and a digitizing oscilloscope.

What is in the 1660-Series 10 SYSTem Subsystem
Programmer's Guide?
The 1660-Series Programmer's Guide
is organized in five parts. 11 MMEMory Subsystem

Part 1 Part 1 consists of chapters 1
through 7 and contains general 12 INTermodule Subsystem
information about programming basics,
GPIB and RS-232C interface
requirements, documentation 13 MACHine Subsystem
conventions, status reporting , and error
messages.
14 WLISt Subsystem




iii
If you are already familiar with IEEE 488.2 programming and GPIB or
RS-232C, you may want to just scan these chapters. If you are new to
programmiung the system, you should read part 1.
Chapter 1 is divided into two sections. The first section, "Talking to the
Instrument," concentrates on program syntax, and the second section,
"Receiving Information from the Instrument," discusses how to send queries
and how to retrieve query results from the instrument.
Read either chapter 2, "Programming Over GPIB," or chapter 3,
"Programming Over RS-232C" for information concerning the physical
connection between the 1660-series logic analyzer and your controller.
Chapter 4, "Programming and Documentation Conventions," gives an
overview of all instructions and also explains the notation conventions used
in the syntax definitions and examples.
Chapter 5, "Message Communication and System Functions," provides an
overview of the operation of instruments that operate in compliance with the
IEEE 488.2 standard.
Chapter 6 explains status reporting and how it can be used to monitor the
flow of your programs and measurement process.
Chapter 7 contains error message descriptions.
Part 2 Part 2, chapters 8 through 12, explain each command in the
command set for the mainframe. These chapters are organized in
subsystems with each subsystem representing a front-panel menu.
The commands explained in this part give you access to common commands,
mainframe commands, system level commands, disk commands, and
intermodule measurement commands. This part is designed to provide a
concise description of each command.
Part 3 Part 3, chapters 13 through 25 explain each command in the
subsystem command set for the logic analyzer. Chapter 26 contains
information on the SYSTem:DATA and SYSTem:SETup commands for
the logic analyzer.
The commands explained in this part give you access to all the commands
used to operate the logic analyzer portion of the 1660-series system. This
part is designed to provide a concise description of each command.
Part 4 Part 4, chapters 27 through 35 explain each command in the
subsystem command set for the oscilloscope.




iv
15 SFORmat Subsystem


The commands explained in this part give 16 STRigger (STRace) Subsystem
you access to all the commands used to
operate the oscilloscope portion of the
1660-series system. This part is designed 17 SLISt Subsystem
to provide a concise description of each
command.
Part 5 Part 5, chapter 36 contains
18 SWAVeform Subsystem
program examples of actual tasks that
show you how to get started in
programming the 1660-series logic
19 SCHart Subsystem
analyzers. The complexity of your
programs and the tasks they accomplish
are limited only by your imagination.
20 COMPare Subsystem
These examples are written in HP BASIC
6.2; however, the program concepts can
be used in any other popular
21 TFORmat Subsystem
programming language that allows
communications over GPIB or RS-232
buses.
22 TRIGger {TRACe} Subsystem


23 TWAVeform Subsystem


24 TLISt Subsystem


25 SYMbol Subsystem


26 DATA and SETup Commands

Oscilloscope Root Level
27 Commands


28 ACQuire Subsystem




v
vi
29 CHANnel Subsystem


30 DISPlay Subsystem


31 MARKer Subsystem


32 MEASure Subsystem


33 TIMebase Subsystem


34 TRIGger Subsystem


35 WAVeform Subsystem


36 Programming Examples


Index




vii
viii
Contents




Part 1 General Information

1 Introduction to Programming

Talking to the Instrument 1