Register example, Module serial number registers – HP E1418A User Manual

Page 149

Advertising
background image

Module Serial

Number Registers

The Module Serial Number Registers provides a 10-byte module serial
number stored in non-volatile memory.

Address

Base + 18E

16

Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

READ

2nd Least Significant Byte

Least Significant Byte

Address

Base + 190

16

Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

READ

4th Least Significant Byte

3 rd Least Significant Byte

Address

Base + 192

16

Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

READ

6th Least Significant Byte

5th Least Significant Byte

Address

Base + 194

16

Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

READ

8th Least Significant Byte

7th Least Significant Byte

Address

Base + 196

16

Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

READ

Most Significant Byte

9th Least Significant Byte

Register Example

This example demonstrates using direct register access to set a calibrated
voltage output. The example is in HP BASIC and uses a command module
controlled via HP-IB.

679

Reg_offset(0) = 0

! ID / Logical Address Register.

680

Reg_offset(1) = 2

! Device Type Register.

681

Reg_offset(2) = 4

! Status/Control Register.

682

Reg_offset(3) = 6

! VXI Offset Register.

683

Reg_offset(4) = 8

! Calibration Control Register.

684

Reg_offset(5) = 10

! Card Configuration Register.

685

Reg_offset(6) = 12

! Software Trigger Register.

686

Reg_offset(7) = 14

! Trigger Control Register.

687

Reg_offset(8) = 16

! Interrupt Control Register.

688

Reg_offset(9) = 18

! Interrupt Status Register.

689

Reg_offset(10) = 20

! Isolation Status Register.

690

Reg_offset(11) = 22

! Program Jumper Register.

691

Reg_offset(12) = 24

! Channel Trigger Register.

692

Reg_offset(13) = 26

! Channel Mode Register.

693

Reg_offset(14) = 28

! Relay Control Register.

694

Reg_offset(15) = 30

! Card Control A24 Window Register.

695

Reg_offset(16) = 32

! A_24 Window Register (Channel 1 DAC and CAL).

696

Reg_offset(17) = 34

! A_24 Window Register (Channel 2 DAC and CAL).

697

Reg_offset(18) = 36

! A_24 Window Register (Channel 3 DAC and CAL).

698

Reg_offset(19) = 38

! A_24 Window Register (Channel 4 DAC and CAL).

148 HP E1418A Register-Based Programming

Appendix B

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Advertising