Reading parameters
Note
The HP 81 12A provides special commands with which information
can be read by the computer. These commands are called Talker
Function Commands. After Sending a Talker Function Command
the HP 81 12A will return a response message. A response message
remains in the HP 81 12A output queue until it is read or another
command is issued.
For example, to read the current value of the Period, the following
commands are necessary:
OUTPUT 712 ; 11 IPER11
ENTER ; A$
PRINT "81 12A PER=
II ;
A$
After the Interrogate Parameter commands
(
IPER, IDE1, IDB1,
etc.
)
the HP 81 12A does not return only the numeric values, instead
it returns an ASCII-response that contains the command to set the
interrogated parameter to its present value.
If
the current period is set to 1 ms, the variable A$ will contain the
string "PER 1 .00 MS" after conducting the example above.
It is possible to read the current setting of a parameter using the
interrogation mnemonics listed here:
Standard
•
IPER
Example
6-1
O'
Programming
•
IDE1
•
IDB1
•
IDTY
•
IWID
•
ILEE
•
ITRE
•
IHI1
•
1101
•
IBUR
The HP 81 12A reply has the same format
as
that used when setting
the parameter, for example:
PER 10MS
The reply length is always 12 characters.
It is also possible to read all the instrument settings in one go using
the CST mnemonic. Refer to "Reading the Current Settings"
DIM B$ [ 12]
OUTPUT 712 ; 11 IDEL 11
ENTER 712 ; B$
PRINT " 8 1 12A DEL=
II
; B$
Dimension string allocates 12 char
acters of memory for reply.
Request current delay setting.
Read reply into allocated memory.
Print the reply.
Summary of Contents for 8112A
Page 6: ......
Page 24: ......
Page 36: ......
Page 44: ......
Page 70: ......
Page 92: ......
Page 144: ...8 32 Testing Performance ...
Page 176: ......
Page 190: ......
Page 194: ...10 2 4 Servicing the Power Supply ...
Page 196: ......
Page 197: ......
Page 216: ......
Page 240: ...10 4 16 Servicing the Shaper and Output Amplifier ...
Page 242: ...A R l BD RY MR I N 1 2 7 I I IJt 51 CR1 B e i 1 _ _ _ _ 20 ...
Page 244: ......
Page 251: ......
Page 262: ...A B A2 ED RY CONTROL ...
Page 270: ......
Page 290: ...R B c R3 BD RY M I CROPROCESSOR 1 2 3 FIGURE 1 0 7 8 ...
Page 294: ... 8 X2l 2 X2 Figure A 1 Mechanical Parts 1 A 2 Replaceable Parts ...
Page 295: ...MP MP3 MP MP2 MP4 MPS MP 1 2 MPS MP MP I B ElElElEl Replaceable Parts A 3 ...
Page 334: ......
Page 378: ...Figure B 14 Mechanical Parts 1 B 44 Backdating ...
Page 380: ......
Page 382: ......
Page 402: ......