HP E1340A Register-Based Programming
Appendix Contents
Register Addressing
The Base Address
Appendix C
The HP E1340A Arbitrary Function Generator (AFG) is a register-based
device which does not support the VXIbus word serial protocol. When a
SCPI command is sent to the AFG, the AFG driver in the HP E1300/01
Mainframe (Series B) or in the HP E1405/E1406 Command Module (Series
C) parses the command and writes the information to the AFG registers.
Register-based programming is a series of reads and writes directly to the
AFG registers. This increases throughput speed since command parsing is
eliminated and the registers can be accessed from the VXI backplane (with
IBASIC or an embedded controller).
This appendix contains the information you need for register-based
programming. The contents include:
Example Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 256
Register addresses for register-based devices are located in the upper 25%
of VXI A16 address space. Every VXI device (up to 256 devices) is
allocated a 32 word (64 byte) block of addresses. The AFG uses six of the
64 addresses allocated.
Figure C-1A shows the register address location within A16. Figure C-1B
shows the location of A16 address space in the HP E1300/01 Mainframe
and HP E1405/E1406 Command Module.
When you are reading or writing to an AFG register, a hexadecimal or
decimal register address is specified. This address consists of a A16 base
address plus a register offset or register number.
HP E1340A Register-Based Programming 229
Appendix C