Specifications

2-86 Programming Guide
Programming Commands and Examples ESG Family Signal Generators
Generating an AC-Coupled External FM Signal, Example Program 5
Generating an AC-Coupled External FM Signal,
Example Program 5
In this example, an AC-coupled FM signal will be generated at a carrier frequency of
700 MHz with a power level of
25 dBm and a deviation of 20 kHz. In order to accomplish
this, connect the output of a modulating signal source to the signal generator’s EXT 2
connector, set the modulation signal source for the desired FM characteristics, and then
run the following program:
10 !******************************************************************************
20 !
30 ! PROGRAM NAME: EXT_FM AC-COUPLED Rev. 2A796
40 !
50 ! PROGRAM DESCRIPTION: In this example, an AC-coupled FM signal will be
60 ! generated at a carrier frequency of 700 MHz with a
70 ! power level of -25 dBm and a deviation of 20 kHz.
80 ! In order to accomplish this, connect the output of a
90 ! modulating signal source to the signal generator’s
100 ! EXTernal 2 INPUT connector.
110 !
120 ! Set the modulation signal source for the desired FM
130 ! rate and correct 1 Vpk amplitude (HI/LO indication).
140 !
150 ! CLEAR and RESET the controller and type in the following commands and RUN
160 ! the program:
170 !
180 !******************************************************************************
190 !
200 Sig_gen=719
210 LOCAL Sig_gen
220 CLEAR Sig_gen
230 CLEAR SCREEN
240 OUTPUT Sig_gen;"*RST"
250 OUTPUT Sig_gen;"FM:SOUR EXT2"
260 OUTPUT Sig_gen;"FM:EXT2:COUP AC"
270 OUTPUT Sig_gen;"FM:DEV 20 kHz"
280 OUTPUT Sig_gen;"FREQ 700 MHz"
290 OUTPUT Sig_gen;"POW:AMPL -25 dBm"
300 OUTPUT Sig_gen;"FM:STAT ON"
310 OUTPUT Sig_gen;"OUTP:STAT ON"
320 PRINT
330 PRINT "Press RUN to start again."
340 LOCAL Sig_gen
350 END