Note The following information on determining register addresses is based on the computer configuration shown in Figure C-1, and on address mapping as performed by the HP E1406 Command Module’s resource manager. For configurations with embedded controllers or configurations with a resource manager other than the HP E1406 Command Module, refer to those manuals containing information on A24 address mapping.

Determining the A24 Base Address

When you are reading or writing to a digitizer register, a hexadecimal or decimal register address is specified. An A24 register address is:

A24 register address = A24 base address + register offset

There are three ways to determine the digitizer’s A24 base address:

1.Note the base address assigned by the resource manager at power-on. The HP E1406 resource manager configuration sequence can be monitored using an RS-232 terminal or printer. The "C-Size VXIbus Systems Installation and Getting Started Guide" contains information on connecting a terminal.

2.Execute the following HP E1406 Command Module command:

VXI:CONFigure:DeviceLIST? <logical_address>

The C language example programs disk contains the program Query.C. By changing the line:

#define ADDR 70905L (E1429 digitizer address)

to:

#define ADDR 70900L (E1406 address)

and entering the command:

VXI:CONF:DLIS? 40(or the current E1429 logical address)

a program string similar to the following is returned when the program executes:

vxi:conf:dlis? 40 = +40,+0,+4095,+448,+1,+0,MSG,A24, #H00220000, #H00001000,Ready,"","","",MBinstr INSTALLED AT SECONDARY ADDR 5"

344 Register Programming

Appendix C

Page 344
Image 344
HP E1429A manual Determining the A24 Base Address