190
PRINT "Every two s econds delay is incremented by 1 ms and width is decremented"
200
PRINT "by 2 ms . . . "
210
220
230
! Delay and Width loop
240
250
FOR I=O TO 10
260
New_del=9+I * 1
270
New_wid=22- I*2
280
290
300
GOSUB Display
! Print the values for the Setup and Hold t ime
3 10
OUTPUT Addr ; "DEL " ; New_del ; "MS"
320
OUTPUT Addr ; "WID " ; New_wid ; "MS"
330
340
WAIT 2
350
NEXT I
360
370
LOCAL Addr
380
Turn HP8 1 12A back to Local mode
390
PRINT "End of the program DEL_WID . 11
400
STOP
410
420
! - - - - - - - - - - - - - - -- - - - - - - -------------- - - - - - - - - - - - - - - - - - - - - - - - -
430
440 D isplay : ! Display the current values of Delay and Width
450
PRINT "Delay = 11 ;
460
PRINT USING "ZZ . DD , #" ; New_del
470
PRINT " ms
Width = " ;
480
PRINT USING " ZZ . DD , 11 11 ms '""' ; New_wid
490
RETURN
500
END
Programming Examples
7
-9
Содержание 8112A
Страница 6: ......
Страница 24: ......
Страница 36: ......
Страница 44: ......
Страница 70: ......
Страница 92: ......
Страница 144: ...8 32 Testing Performance ...
Страница 176: ......
Страница 188: ...B END 1O 1 8 Instrument Overview and Troubleshooting Guide N E 3 5 N _ O E 3 1 r No E 5 r N E s 2 ...
Страница 190: ......
Страница 194: ...10 2 4 Servicing the Power Supply ...
Страница 196: ......
Страница 197: ......
Страница 216: ......
Страница 240: ...10 4 16 Servicing the Shaper and Output Amplifier ...
Страница 242: ...A R l BD RY MR I N 1 2 7 I I IJt 51 CR1 B e i 1 _ _ _ _ 20 ...
Страница 244: ......
Страница 251: ......
Страница 262: ...A B A2 ED RY CONTROL ...
Страница 270: ......
Страница 290: ...R B c R3 BD RY M I CROPROCESSOR 1 2 3 FIGURE 1 0 7 8 ...
Страница 294: ... 8 X2l 2 X2 Figure A 1 Mechanical Parts 1 A 2 Replaceable Parts ...
Страница 295: ...MP MP3 MP MP2 MP4 MPS MP 1 2 MPS MP MP I B ElElElEl Replaceable Parts A 3 ...
Страница 334: ......
Страница 378: ...Figure B 14 Mechanical Parts 1 B 44 Backdating ...
Страница 379: ...A3 tlP3 HP40 4x P41 4x J4 i J2 I O a J I 1 I I a 4 I I I V3 tlP1 I Figure B 15 Mechanical Parts 2 Backdating B 45 ...
Страница 380: ......
Страница 382: ......
Страница 402: ......