
2-84 Programming Guide
Programming Commands and Examples ESG Family Signal Generators
Generating a CW Signal, Example Program 4
Generating a CW Signal, Example Program 4
In this example, a CW signal is generated at a frequency of 500 kHz with a power level of
−2.1 dBm. CLEAR and RESET the controller and then run the following program:
10 !******************************************************************************
20 !
30 ! PROGRAM NAME: SIGNAL_CW Rev. 2A796
40 !
50 ! PROGRAM DESCRIPTION: In this example, a CW signal is generated at a
60 ! frequency of 500 kHz with a power level of -2.1 dBm.
70 !
80 ! CLEAR and RESET the controller and type in the following commands and RUN
90 ! the program:
100 !
110 !******************************************************************************
120 !
130 Sig_gen=719
140 LOCAL Sig_gen
150 CLEAR Sig_gen
160 CLEAR SCREEN
170 OUTPUT Sig_gen;"*RST"
180 OUTPUT Sig_gen;"FREQ 500 kHz"
190 PRINT
200 OUTPUT Sig_gen;"POW:AMPL -2.1 dBm"
210 PRINT
220 OUTPUT Sig_gen;"OUTP:STAT ON"
230 PRINT
240 LOCAL Sig_gen
250 PRINT "Press RUN to start again."
260 END
Comentários a estes Manuais