4-2
Programming
Programming
Programming
This chapter explains how to program the Agilent 86120B. The programming
syntax conforms to the IEEE 488.2 Standard Digital Interface for Programma-
ble Instrumentation and to the Standard Commands for Programmable Instru-
ments (SCPI).
Where to begin…
The programming examples for individual commands in this manual are writ-
ten in HP
®1
BASIC 6.0 for an HP 9000 Series 200/300 Controller.
For more detailed information regarding the GPIB, the IEEE 488.2 standard,
or the SCPI standard, refer to the following books:
Hewlett-Packard Company.
Tutorial Description of Hewlett-Packard Inter-
face Bus,
1987.
Hewlett-Packard Company.
SCPI—Standard Commands for Programmable
Instruments,
1995.
International Institute of Electrical and Electronics Engineers.
IEEE Standard
488.1-1987, IEEE Standard Digital Interface for Programmable Instru-
mentation.
New York, NY, 1987.
International Institute of Electrical and Electronics Engineers.
IEEE Standard
488.2-1987, IEEE Standard Codes, Formats, Protocols and Common com-
mands For Use with ANSI/IEEE Std 488.1-1987.
New York, NY, 1987.
Types of commands
The Agilent 86120B responds to three types of commands:
• Common commands
• Measurement instructions
• Subsystem commands
All of these commands are documented in Chapter 5, “Programming Com-
mands”.
1. HP is a registered trademark of Hewlett-Packard Company.