Addressing The Afg - HP E1340A User Manual

Arbitrary function generator
Hide thumbs Also See for E1340A:
Table of Contents

Advertisement

Assigning the AFG to a
Commander

Addressing the AFG

IBASIC
External Controller
and PC
Chapter 1
In VXIbus systems, each device must be in the servant area of a
commander. Note the following when assigning the E1340A AFG:
In a B-size system, the system instrument is the commander. Any
AFG logical address (1 - 255) places the AFG in the commander
servant area. The AFG logical address should remain at 80, or if
necessary, set to some other multiple of 8 (see "Addressing the
AFG" ).
The E1340A AFG is a register-based device. If the AFG's driver is
downloaded in the HP E1405/E1406 Command Module, then the
AFG must be in the servant area of the Command Module to
program with SCPI commands.
The following information explains how the AFG is addressed using
different computer (controller) configurations.
To program the AFG in a B-size or C-size system using IBASIC, the AFG
must have a unique address. The address is a combination of the IBASIC
interface select code, the Mainframe's/Command Module's primary HP-IB
address, and the AFG's secondary HP-IB address. An address in this form
in an HP IBASIC statement appears as:
OUTPUT 80910;"SOUR:ROSC:SOUR INT"
Interface Select Code (8): The IBASIC interface select code is 8. This
select code is used to access all devices installed in B-size and C-size
systems under IBASIC control.
Primary HP-IB Address (09): This is the address of the HP-IB port on the
Mainframe or Command Module. Valid addresses are 0 to 30. The
mainframe/command module has a factory set address of 9.
Secondary HP-IB Address (10): This address is derived from the logical
address of the device (AFG) by dividing the logical address by 8. For the
E1340A AFG factory set logical address of 80, the secondary address is 10.
When programming the AFG from an external computer such as a HP
Series 300 or PC, the addressing convention used is the same as IBASIC
except for the interface select code. An example is shown below:
OUTPUT 70910;"SOUR:ROSC:SOUR INT"
Interface Select Code (7): Determined by the address of the HP-IB
interface card in the computer. In most Hewlett-Packard computers, this
card has a factory set address of 7, including the HP 82335 HP-IB Interface
Card (this card was used with an HP Vectra personal computer to create the
C and QuickBASIC example programs).
The Primary HP-IB Address and Secondary HP-IB Address are the
same as described previously for IBASIC programming.
Getting Started with the HP E1340A
18

Advertisement

Table of Contents
loading

Table of Contents