Programming

6Programming

In This Chapter

GPIB Addresses

Long and Short Command Syntax

This chapter provides a general programing of the operation for the Agilent 85330A and a detailed description of the programming codes. Several scenarios and examples are given.

GPIB addresses

Definition of terms

To choose a measurement configuration

To use Direct control

To use run-time control mode

Programming examples

Using GPIB commands, the 85330A can be set up prior to run-time followed by an GPIB command to pass run-time control to the 85330A. This is called run-time control mode. The 85330A can also directly control switch states and issue triggers using GPIB commands. This is called direct control.

BASIC is used for all examples. To address the 85330A, a secondary GPIB address is needed. In most cases the complete GPIB address would be 70918:

“7” refers to the select code of the GPIB address.

“09” is the GPIB address of the 85330A multiple channel controller.

“18” is the secondary address of the E1330A/B DIO card. This is a board that is inside the multiple channel controller.

The GPIB commands have a long and short form. The upper-case characters represent the short form and the complete set of characters represent the long form. Example, ROUTe:CLOSe is the complete or long from of the GPIB command while the abbreviated or short form is ROUT:CLOS.

85330A Multiple Channel Controller

6-1

Page 75
Image 75
Agilent Technologies 85330A service manual 6Programming, This Chapter Gpib Addresses Long and Short Command Syntax