HP E1429A Manuel d'utilisateur Page 25

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 420
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 24
Querying the
Digitizer
Configuration
After resetting the digitizer or cycling power, the digitizer parameters are
set to their power-on values. These values are listed in Appendix B, Table
B-2. You can determine the digitizer’s reset settings or its current
configuration using the command:
*LRN?
The data returned by *LRN? is a semicolon (;) separated list of each
parameter setting.
HP BASIC
10 !Assign an I/O path between the computer and the A/D.
20 ASSIGN @A_d TO 70905
30 !Call the subprogram
40 Lrn_conf(@A_d)
50 END
60 !
70 SUB Lrn_conf(@A_d)
80 Lrn_conf: !subprogram which queries the digitizer configuration
90 DIM Lrn$[2000]
100 INTEGER I
110 OUTPUT @A_d;"*LRN?"
120 ENTER @A_d;Lrn$
130 Lrn$=Lrn$&";"
140 REPEAT
150 I=POS(Lrn$,";")
160 PRINT Lrn$[1;I-1]
170 Lrn$=Lrn$[I+1]
180 UNTIL Lrn$=""
190 SUBEND
Chapter 1 Gettin
g
Started 25
Vue de la page 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 419 420

Commentaires sur ces manuels

Pas de commentaire