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)
Computer
Programming Method
Base Address
E1300/E1301 IBASIC
(Absolute Addressing)
(Select Code 8)
READIO (-9826,Bas offset)
WRITEIO -9826,Bas offset;data
(positive select code = byte read or write
negative select code = word read or write)
READIO (8,Bas reg number)
WRITEIO 8,Bas reg number;data
Base_addr = 1FC000
16
+ (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
External Computer
(over HP-IB to E1300/E1301
Mainframe
or E1405/E1406 Command Module)
VXI:READ? logical_address,offset
VXI:WRITE logical_address,offset,data
DIAG:PEEK? Bas offset,width
DIAG:POKE Bas
offset,width,data
AFG logical address setting (LADDR)
offset = register offset (Figure C-1A)
Base_addr = 1FC000
16
+ (LADDR * 64)
16
or
= 2,080,768 + (LADDR * 64)
offset = register offset (Figure C-1A)
V/360 Embedded Computer
(C-Size system)
READIO (-16,Bas offset)
WRITEIO -16,Bas offset;data
(positive select code = byte read or write
negative select code = word read or write)
Base_addr = C000
16
+ (LADDR *64)
16
or
= 49,152 + (LADDR * 64)
offset = register offset (Figure C-1B)
LADDR : AFG logical address.
(LADDR * 64)
16
: multiply quantity, then convert to a hexadecimal number (e.g. 80 * 64)
16
= 1400
16
.
When using DIAG:PEEK? and DIAG:POKE, the width (number of bits) is 8 or 16.
Table C-1. Computer Configurations used with the HP E1340A
Appendix C
HP E1340A Register-Based Programming 231
Содержание 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 ...