Technical data

Users and Service Guide 5-13
Controlling the Test Set and Making Measurements
Commands
180 !
190 ! Developed at Microwave Instruments Division
Santa Rosa, CA
200 ! Revision A.01.00 05 May 1998 rm
210 Nwa_addr=716
220 Ts_addr=712
230 !
240 CLEAR SCREEN
250 PRINT USING "3/,K,/";"***** DEMONSTRATION PROGRAM
FOR Agilent 87050A-H15 MANUAL CONTROL *****"
260 PRINT "Either direct GPIB control of the Agilent
87050A-H15 may be selected (h),"
270 PRINT "or indirect control via the Parallel Port (p)
of the Agilent 8753D,E"
280 REPEAT
290 Answ$="p"
300 OUTPUT 2;Answ$&CHR$(255)&"H";
310 BEEP 300,.1
320 INPUT "Select desired test-set control. GPIB or
Parallel Port? (Enter H or P)",Answ$
330 Answ$=UPC$(Answ$[1,1])
340 UNTIL Answ$="P" OR Answ$="H"
350 Controller$=Answ$
360 !
370 ABORT 7
380 CLEAR SCREEN
390 IF Controller$="P" THEN
400 Addr=Nwa_addr ! Assign address to the analyzer
410 PRINT "Test set is being controlled via Parallel
Port; Agilent 8753D,E address =";Addr
420 ELSE
430 Addr=Ts_addr
440 PRINT "Test set is being controlled directly via
GPIB. GPIB address =";Addr
450 END IF
460 Isc=Addr DIV 100 ! Interface Select Code