8003 Precision Scalar Analyzer
3-66 Manual 20791, Rev. C, June 2001
Update Command Programming Example
10 !******************************************************************
20 ! DEMONSTRATION OF UPDate COMMAND:
110 !*****************************************************************
120 !
130 CLEAR 704 ! device clear presets analyzer
140 WAIT 4
150 !
151 ! First, configure analyzer to display channel 1 only
160 OUTPUT 704;SWP 1, A;on;SWP 2,A;off;CHAN 3;off;CHAN 4;off
170 OUTPUT 704;SWP 1;scale .2;ref lev 10! manually scale display
200 WAIT 1
840 !..............................................................
850 ! Demonstration of UPDATE command
880 ! First send new setup to both analyzer and sweeper
890 OUTPUT 704;SWPF;UPD ON! Tells analyzer to update both sweeper
891 ! settings and analyzer displays
892 ! Set sweeper and analyzer to 2 to 4 GHz frequency sweep at +10 dBm
900 OUTPUT 704;SWPF;start 2000;stop 4000;level 10;level on
910 WAIT 2! wait for sweeper to update sweep
940 !
941 BEEP
942 INPUT Press RETURN to set analyzer at different frequency ... ,Key$
950 ! Now send analyzer to different start and stop frequency
960 OUTPUT 704;SWPF;UPD OFF! Do not update sweeper, update analyzer
961 ! frequency display only
970 OUTPUT 704;SWPF;start 6000;stop 8000
980 !
990 ! NOTE that the display changes slightly to reflect the new Cal Factors
1000 ! applied at the second set of frequencies
1360 END