HP E1340A User Manual page 231

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

Advertisement

Computer
E1300/E1301 IBASIC
(Absolute Addressing)
(Select Code 8)
External Computer
(over HP-IB to E1300/E1301
Mainframe
or E1405/E1406 Command Module)
V/360 Embedded Computer
(C-Size system)
LADDR : AFG logical address.
(LADDR * 64)
: multiply quantity, then convert to a hexadecimal number (e.g. 80 * 64)
16
When using DIAG:PEEK? and DIAG:POKE, the width (number of bits) is 8 or 16.
Appendix C
The A16 base address used in register-based programming depends on
whether the A16 address space is located inside the E1300(01)
Mainframe/E1405/E1406 Command Module or elsewhere (e.g. embedded
computer). Figures C-1A, C-1B, and Table C-1 enable you to determine the
base address for the following computer configurations:
E1300/E1301 Instrument BASIC (IBASIC)
External Computer over HP-IB to E1300/E1301 Mainframe or
E1405/E1406 Command Module
V/360 Embedded Controller (C-Size system)
Table C-1. Computer Configurations used with the HP E1340A
Programming Method
READIO (-9826,Base_addr + offset)
WRITEIO -9826,Base_addr + offset;data
(positive select code = byte read or write
negative select code = word read or write)
READIO (8,Base_addr + reg number)
WRITEIO 8,Base_addr + reg number;data
VXI:READ? logical_address,offset
VXI:WRITE logical_address,offset,data
DIAG:PEEK? Base_addr + offset,width
DIAG:POKE Base_addr +
offset,width,data
READIO (-16,Base_addr + offset)
WRITEIO -16,Base_addr + offset;data
(positive select code = byte read or write
negative select code = word read or write)
16
HP E1340A Register-Based Programming 231
Base Address
Base_addr = 1FC000
+ (LADDR * 64)
16
or
= 2,080,768 + (LADDR * 64)
offset = register offset (Figure C-1A)
Base_addr = LADDR * 256
reg number = offset (Figure C-1A)/2
AFG logical address setting (LADDR)
offset = register offset (Figure C-1A)
Base_addr = 1FC000
+ (LADDR * 64)
16
or
= 2,080,768 + (LADDR * 64)
offset = register offset (Figure C-1A)
Base_addr = C000
+ (LADDR *64)
16
or
= 49,152 + (LADDR * 64)
offset = register offset (Figure C-1B)
= 1400
.
16
16
16
16

Advertisement

Table of Contents
loading

Table of Contents