Assigning the AFG to a
Commander
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.
Addressing the AFG
The following information explains how the AFG is addressed using
different computer (controller) configurations.
IBASIC
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.
External Controller
and PC
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.
Chapter 1
Getting Started with the HP E1340A 18
Содержание E1340A
Страница 12: ...Notes 12 HP E1340A Arbitrary Function Generator Module User s Manual ...
Страница 14: ...14 HP E1340A Arbitrary Function Generator Module User s Manual ...
Страница 42: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 42 ...
Страница 54: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 54 ...
Страница 57: ...Figure 3 1 Generating Arbitrary Waveforms 57 Generating Arbitrary Waveforms with the HP E1340A Chapter 3 ...
Страница 58: ...Chapter 3 Generating Arbitrary Waveforms with the HP E1340A 58 ...
Страница 84: ...Chapter 4 HP E1340A Sweeping and Frequency Shift Keying 84 ...
Страница 130: ...Chapter 6 HP E1340A High Speed Operation 130 ...
Страница 202: ...202 HP E1340A SCPI Conformance Information Chapter 7 ...
Страница 204: ...Figure 8 1 HP E1340A Status Groups and Associated Registers Chapter 8 HP E1340A AFG Status 204 ...
Страница 218: ...218 HP E1340A Specifications Appendix A ...
Страница 284: ...284 HP E1340A Register Based Programming Appendix C ...
Страница 295: ...Index HP E1340A Arbitrary Function Generator User s Manual 295 ...