Table
4-4.
HP-IB
Operational Verification
Program Listing (Continued)
61 30 GOT0 7970
6140
!
6150
!
CHECKPOINT 12
6160
I$=" Status Byte"
6170
S=12
6180 GOSUB 7810
6190 R=l
6200 DISP
E5;"the 5334A/BU
6210 DISP "will be reset, and the status byte
will
be read by the"
6220 DISP "controller."
6230
GOSUB 8480
6240 REMOTE
A
6250 OUTPUT
A
;"CKH
6260 GOSUB 8600
6270
GOSUB 8750
6280
GOT0 7970
6290
!
6300
!
CHECKPOINT 13
6310
I$=" Send Error Code"
6320
S=13
6330 GOSUB 781
0
6340 R=l
6350 DISP
E$;"anW
6360 DISP "unrecognizable command code willbe sent to the 5334A/B to gener
ate an error."
6370
GOSUB 8480
6380 REMOTE
A
6390 OUTPUT
A
;
"INVALID COMMAND"
6400 CLEAR
6410 DISP "Verify that the
5334A/B display shows 'ERROR 4.0'."
6420 DISP
6430 DISP
E5;"the error"
6440 DISP "for this illegal command
will
besent to the controller."
6450
GOSUB 8480
6460 LOCAL 7
6470 WAIT 3000
6480 E=O
6490 CLEAR
6500 DISP "The expected value for this error code is 4
."
6510 REMOTE
A
6520 OUTPUT
A
;"TE"
6530 ENTER
A
;
E
6540 OISP
6550 DISP "The returned value for this error code
is
";E;"."
6560 IF E=4 THEN R=R*l
6570 IF ES::>4 THEN R=R*0
6580 DISP
6590 DISP
F5
6600 PAUSE
6610 CLEAR
A
6620 GOSUB 8750
6630
!
HP
5334B
-
Service
Manual
4-57