![Agilent Technologies 8719ES Programmer'S Manual Download Page 487](http://html.mh-extra.com/html/agilent-technologies/8719es/8719es_programmers-manual_2867960487.webp)
7-124
Chapter 7
Programming Examples
Mixer Measurement Example
21 ! Request LO and IF frequency settings
22 INPUT “Enter LO frequency in MHz”,Lofreq
23 INPUT “Enter IF center frequency in MHz”,Cent
24 INPUT “Enter IF frequency span in MHz”,Span
25 !
26 ! Program source settings
27 OUTPUT @Src;”Freq:CW”;Lofreq;”MHZ”
28 OUTPUT @Src;”POW:STAT ON”
29 OUTPUT @Src;”POWER:LEVEL 13 DBM; STATE ON”
30 !
31 ! Program analyzer settings
32 OUTPUT @Nwa;”CENT”;Cent;”MHZ;”
33 OUTPUT @Nwa;”SPAN”;Span;”MHZ;”
34 OUTPUT @Nwa;”PWRR PMAN;” ! Manual power range
35 !
36 ! The next two lines are optimized for the 8753ES/ET.
37 ! The LOPOWER command will simply return the message
38 ! “FUNCTION NOT AVAILABLE” on an 8720E Series analyzer.
39 ! On an 8722ES, change line 41 to read “POWE -10 DB;”
40 !
41 OUTPUT @Nwa;”POWE 0 DB;” ! Set power to 0 dBm
42 OUTPUT @Nwa;”LOPOWER 13 DB;” ! Report LO power to analyzer
43 OUTPUT @Nwa;”LOFREQ”;Lofreq;”MHZ;” ! Report LO freq to analyzer
44 OUTPUT @Nwa;”DCONV;” ! Down conversion
45 OUTPUT @Nwa;”RFLTLO;” ! RF < LO
46 OUTPUT @Nwa;”FREQOFFS ON;” ! Turn on frequency offset mode
47 OUTPUT @Nwa;”BR;” ! Measure B/R
48 OUTPUT @Nwa;”CALIRESP;” ! Begin response cal
49 OUTPUT @Nwa;”STANC;” ! Measure THRU
50 OUTPUT @Nwa;”RESPDONE;” ! Response cal done
51 REPEAT
52 !
53 ! Request type of measurement
54 PRINT “Enter a number for the type of measurement as follows:”
55 PRINT
56 PRINT “1) Group Delay”
57 PRINT “2) Amplitude Tracking”
58 PRINT “3) Phase Tracking”
59 INPUT ““,Meas
60 !
61 ! Perform the selected type of measurement
62 SELECT Meas
63 CASE 1
64 GOSUB Connect_mut
65 OUTPUT @Nwa;”DELA;” ! GROUP DELAY display format
66 INPUT “Enter electrical delay of calibration mixer in ns”,Eled
67 OUTPUT @Nwa;”ELED”;Eled;”NS;”
68 OUTPUT @Nwa;”AUTO;” ! Autoscale the display
69 Again=0
70 CASE 2
71 OUTPUT @Nwa;”LOGM;” ! LOG MAG display format
72 OUTPUT @Nwa;”DATI;” ! DATA -> MEMORY
73 GOSUB Connect_mut
74 OUTPUT @Nwa;”DISPDDM;” ! Display DATA/MEM
75 OUTPUT @Nwa;”AUTO;” ! Autoscale the display
76 Again=0
77 CASE 3
78 OUTPUT @Nwa;”PHAS;” ! PHASE display format
Summary of Contents for 8719ES
Page 15: ...1 1 1 Alphabetical Command Reference ...
Page 293: ...2 1 2 Introduction to Instrument Control ...
Page 310: ...3 1 3 GPIB Programming ...
Page 334: ...4 1 4 Reading Analyzer Data ...
Page 343: ...5 1 5 Data Processing Chain ...
Page 350: ...6 1 6 Error Reporting ...
Page 364: ...7 1 7 Programming Examples ...
Page 502: ...A 1 A Preset Conditions ...
Page 517: ...B 1 B Command Listings ...