Device Type Register
Base + 02
16
Read only, returns 51C4
16
: The Device Type Register contains the
required memory and model code.
Address
15 - 12
11 - 0
Base + 02
16
Required Memory Code
Model Code
Required Memory: The HP E1313/E1413 supports A24 address space.
The size of the A24 space is specified as,
A24 address space = 2
(23 - Required Memory Code)
Given that each module’s A24 space is 256 Kbytes, the Required Memory
field is 5
16
.
Model Code: The model code for the HP E1413 is 1C4
16
.
VXI Status Register
Base + 04
16
Read only: The Status Register indicates when commands and output data
can be sent, when query response and input data is available, and the error
status of the module.
Address
15
14
13-12
11-10
9-8
7
6
5-4
3
2
1
0
Base + 04
16
A24
Active
MODID*
not
used
Channel
Count
(E1313)
not
used
DONE NOERR
not
used
Ready Passed Query/Resp
Ready
Cmd/Parm
Ready
A24 Active: A one (1) in this field indicates that the card’s A24 address
space can be accessed. This bit reflects the state of the Control Register’s
A24 Enable bit.
MODID*: A one (1) in this field indicates that the card is not selected via
the P2 MODID line. A zero (0) indicates that the device is selected by a
high state on the P2 MODID line.
Channel Count (HP E1313 only): 00
2
= 32 channels, 10
2
= 64 channels.
Values 01
2
and 11
2
indicate invalid configurations. Read the Model Code
in the Device Type Register first to differentiate between HP E1313/E1413.
All HP E1413s have 64 channels.
DONE: A zero (0) in bit 7 indicates that the module is processing a
command and its parameters. Bit 7 is set to a one (1) to indicate that the
command is finished.
Appendix D
Register-Based Programming 339
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com