Reading The Id Register - HP E1326B User Manual

5 1/2 digit multimeter
Table of Contents

Advertisement

Reading the ID
Register
HP BASIC/WS Version
Appendix C
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
As mentioned previously, the ID Register indicates the classification,
addressing mode, and manufacturer of the device. This program reads the
ID Register and returns FFFF
10
! Map the A16 address space in the HP V /382 and store the multimeter
20
! base address in a variable.
30
CONTROL 16,25;2
40
COM Base_addr
50
Base_addr=DVAL("C600",16)
60
! Call the subprogram which reads the ID register.
70
CALL Id_read
80
END
90
! This subprogram reads the ID register and displays the result in hexadecimal.
100
SUB Id_read
110
COM Base_addr
120
Register=READIO(-16,Base_addr+0)
130
Hex$=IVAL$(Register,16)
140
PRINT Hex$
150
SUBEND
HP E1326B/E1411B Multimeter Register-Based Programming
.
16
223

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1411b

Table of Contents