Computer Model in The programming examples provided in this book used an HP 9000 Series 300

Examplestechnical computer and the HP-BASIC language. However, you can use other computers and languages with OSA commands and query data over HP-IB.

As an example, you could use an HP Vectra PC compatible computer. Simply install an HP 82335A HP-IB Interface and Command Library card in the PC and use a compatible language such as Microsoft QuickC.

Local and Remote

Whenever the analyzer is addressed via HP-IB, the 4

MENU

5 and 4

USER

5 keys

Control Indicators

are disabled. The front-panel LEDs indicate the following:

 

￿

RMT indicates remote HP-IB control.

 

 

 

 

 

 

 

￿

LSN indicates information received via HP-IB.

 

￿

TLK indicates information sent via HP-IB to computer.

 

￿

SRQ indicates the OSA is requesting computer attention.

Designing Programs

OSA programs are composed of commands that correspond to front-panel

 

keys. Except for timing considerations, remote operation is very similar to

 

manual operation. To design a program, use the following procedure:

 

1. Note the order of keystrokes used to perform an OSA measurement.

 

2. Identify which commands correspond with the keystrokes used. Refer

 

 

to the functional group tables of commands in Chapter 8, \Tables and

 

 

Charts."

 

 

 

 

 

 

 

3. Incorporate the commands into output statements.

Default HP-IB

Typically, you will program the OSA using the factory default HP-IB addresses

Addresses

provided in the following table. If you want to change these addresses, refer

 

to Chapter 1, \Learning the Basics."

 

 

 

 

 

 

 

 

 

Default HP-IB Addresses

 

 

 

 

 

 

 

 

 

MMS unit

Address

 

 

 

 

HP 70950B/1B/2B OSA module

23

 

 

 

 

 

 

 

 

HP 70004A Displa y

4

 

 

 

 

 

iv