Programming
Note
Multiple Commands
6-4
Programming
To select an operating mode or to set a parameter to a specific value,
the appropriate ASCII mnemonic must be sent to the HP 81 12A.
Example:
To set the Operating Mode to TRIG, the ASCII mnemonic M2 has
to be sent to the HP 8 112A.
HP Ba.sic Statement for this is:
OUTPUT 712 ; "M2"
When programming parameters, such as Period, Delay or Width,
the ASCII mnemonic must be followed by the value and the
appropriate unit. The ASCII mnemonic, the value and unit may be
separated by a comma or space character. For better readability it is
recommended to use a space character.
Example:
To set the Period to 2.2 ms, the ASCII mnemonic PER followed by
the new value 2.2 and the unit MS must be sent to the HP 81 12A.
HP Basic Statement for this is:
OUTPUT 712 ; "PER 2 . 2 MS"
or
OUTPUT 7 12 ; "PER2 . 2MS"
Program commands can be a combination of upper case or lower
case ASCII characters, whereas the responses are always returned in
uppercase.
You can send multiple programming commands on the same line.
The commands may be separated by a comma or a space character.
It is recommended to separate the commands with a comma, because
this makes it easier to read such a programming message.
Examples:
OUTPUT 7 12 ; "M1 , CTO , PER 1 . 25 MS"
Commands separated with
commas
OUTPUT 712 ; "M1 CTO PER 1 . 25 MS"
Commands separated with
space characters
OUTPUT 712 ; "M1CTOPER 1 . 25 MS"
Commands not separated
Commands which change modes are processed before commands
which set parameters, irrespective of the command order within the
programming message. If your application requires a parameter
change to occur before a mode change, use seperate programming
messages for the two commands.
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: ......