8003 Precision Scalar Analyzer
3-48 Manual 20791, Rev. C, June 2001
Fast Step CW Measurement Mode Programming Example
10 !***************************************************************
20 ! PROGRAM TO DEMONSTRATE FAST CW MEASUREMENTS USING
30 ! GIGA-TRONICS 8003 PRECISION SCALAR ANALYZER RUNNING IN
40 ! fast-cw MODE
50 ! COPYRIGHT 2001 GIGA-TRONICS INC.
60 !
70 ! The program assumes:
80 ! 1) Analyzer at GPIB address 4
90 ! 2) Sweeper connected to 8003 private bus
100 ! 3) Sweeper capable of 8-12 GHz freq range and +10 dBm output
110 ! 4) Sensor connected to 8003 channel A input and sweeper output
120 !***************************************************************
130 !
140 CLEAR 704 ! Send device clear to preset the analyzer
150 !
160 OUTPUT 704;CHAN 1;ON;CHAN 2;OFF;CHAN 3;OFF;CHAN 4;OFF
170 OUTPUT 704;READOUT! Numeric screen format
180 !
190 ! Set up sweeper for stepped-CW operation at +10 dBm
200 OUTPUT 704;FIXED;FREQ 8000;LEVEL ON;LEVEL 10
210 WAIT 2
220 !
230 ! This next command puts the analyzer in power meter mode, displaying
240 ! power from sensor A on channel 1.
250 OUTPUT 704;PWR 1,A;AVG OFF
260 WAIT 2! Not necessary, but allows number on display
270 !
280 OUTPUT 704;PWR 1;T2! First set triggered fast cw mode = T2
290 WAIT 1! IMPORTANT** wait for analyzer to change modes and update
300 ! temperature correction
310 !
320 ! MAIN ROUTINE
330 ! Steps sweeper from 8 to 12 GHz in 100 MHz steps and measures power
340 !
350 FOR I=8000 TO 12000 STEP 100
360 OUTPUT 704;FIXED;FREQ ;I! Change sweeper frequency
370 WAIT .4! User adjust for sweeper settling time
380 TRIGGER 704! Trigger 8003 to make fast cw measurement
390 ENTER 704;Reading! Read power
400 PRINT I;Reading
410 NEXT I
420 !
430 OUTPUT 704;PWR 1;T0! Good housekeeping to return to standard
440 ! cw measurement mode so that display updates
450 END