Reading the Device
Type Register
The Device Type Register contains the model code of the device. The
model codes for the strain gage multiplexers are:
FF04 = HP E1355A
FF06 = HP E1356A
FF14 = HP E1357A
FF16 = HP E1358A
!Convert the switchbox base address to decimal and store the value in a variable.
COM Base_addr
Base_addr=DVAL("1FDC00",16)
!Call the subroutine which reads the Device Type Register.
CALL Peek_dt
END
!Subroutine to read the Device Type Register.
SUB Peek_dt
COM Base_addr
OUTPUT 70900;"DIAG:PEEK?";Ba2;",16"
ENTER 70900;Register
Hex$=IVAL$(Register,16)
PRINT Hex$
SUBEND
A typical return is
FF06
(HP E1356A)
134 Strain Gage Register-Based Programming
Appendix D
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com