Agilent Technologies E1326B Manual do Utilizador Página 222

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 291
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 221
Reading the ID
Register
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
16
.
HP BASIC/WS Version
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
Appendix C HP E1326B/E1411B Multimeter Register-Based Programming 223
Vista de página 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 290 291

Comentários a estes Manuais

Sem comentários