Remote Operation
Manual 20791, Rev. C, June 2001
3-47
TTL-Triggered Fast-CW Measurement Programming Example
10
!*********************************************************
20
! PROGRAM TO DEMONSTRATE AN APPLICATION OF TTL-TRIGGERED
30
! FAST CW MEASUREMENTS
40
!
50
! COPYRIGHT 2001 GIGA-TRONICS INC.
60
!
70
! This program assumes:
80
! 1) Analyzer at GPIB address 4
90
! 2) Gigatronics 7200 Sweeper on the system bus at GPIB address 20
100
! 3) Sensors plugged into A and B channel inputs
110
!
120
!***************************************************************
130
!
140
OPTION BASE 1
150
DIM Buffer a(181),Buffer b(181)
160
!
170
! FIRST CONFIGURE THE ANALYZER
180
CLEAR 704 ! Send device clear to preset the analyzer
190
OUTPUT 704;READOUT! Numeric screen format
200
OUTPUT 704;POWER 1,A;POWER 2,C;CHAN 3;OFF;CHAN 4;OFF
210
! Channel 1 reads incident power, chan 2 reads output power
220
!
230
! SET UP GIGATRONICS 7200 SIGNAL GENERATOR IN DIGITAL STEP SWEEP MODE
240
OUTPUT 720;GA2GZ! Start frequency of 2 GHz
250
OUTPUT 720;GB20GZ! Stop frequency of 20 GHz
260
OUTPUT 720;GC100MZ! Step frequency of 100 MHz
270
OUTPUT 720;GD10MS! Step dwell time of 10 ms
280
OUTPUT 720;PL0DB! Output power level of 0 dBm
290
OUTPUT 720;RF1! Turn the RF on
300
WAIT 3! Wait for the sig gen to set up parameters
310
!
320
!...............................................................
330
! MEASUREMENT OF INCIDENT AND OUTPUT POWER DURING DIGITAL STEP SWEEP
340
!
USING TTL TRIGGER TO MAKE 8003 POWER READINGS
350
!
360
OUTPUT 704;PWR 1;T3;ITEMS 181
370
WAIT 1! IMPORTANT to allow analyzer to process trigger mode change
380
! TTL trigger mode with 501 item buffer on channels 1 and 2
390
! Analyzer is now armed and ready. Any TTL triggers received
400
!
will trigger a reading on each channel and stuff in buffer
410
!
420
OUTPUT 720;D2! Now, trigger synthesizer to take a single sweep
430
WAIT 10! Wait for step sweep to finish
440
!
450
OUTPUT 704;OUTPUT 1! Tell analyzer to output data
460
ENTER 704;Buffer a(*),Buffer b(*)
470
! Analyzer outputs channel A buffer first, then chan B buffer
480
PRINT Buffer a(*);
490
PRINT Buffer b(*);
500
!
510
OUTPUT 704;POWER 1;T0! Good housekeeping to return analyzer
520
! to display update mode
530
WAIT 1
540
END
Summary of Contents for 8003
Page 3: ......
Page 14: ...8003 Precision Scalar Analyzer x Manual 20791 Rev C June 2001 ...
Page 16: ...8003 Precision Scalar Analyzer xii Manual 20791 Rev C June 2001 ...
Page 18: ...8003 Precision Scalar Analyzer xiv Manual 20791 Rev C June 2001 ...
Page 20: ...8003 Precision Scalar Analyzer xvi Manual 20791 Rev C June 2001 ...
Page 36: ...8003 Precision Scalar Analyzer 1 16 Manual 20791 Rev C June 2001 ...
Page 142: ...8003 Precision Scalar Analyzer 2 106 Manual 20791 Rev C June 2001 ...
Page 232: ...8003 Precision Scalar Analyzer 4 18 Manual 20791 Rev C June 2001 ...
Page 252: ...8003 Precision Scalar Analyzer B 16 Manual 20791 Rev C June 2001 ...
Page 258: ...8003 Precision Scalar Analyzers Index 6 Manual 20791 Rev C June 2001 ...