
Programming Guide 2-91
ESG Family Signal Generators Programming Commands and Examples
Generating a Step-Swept Signal, Example Program 7
380 PRINT "The signal generator is no longer in REMOTE."
390 PRINT
400 WAIT 3
410 PRINT "Press RUN to start again"
420 END
Program Comments
10 to 150: Title and program description
160: Assigns the signal generator’s GPIB address to a variable.
170: Places the signal generator into LOCAL mode.
180: Resets the signal generator’s parser and clears any pending output from the source.
190: Clears the controller’s display.
200: Sets the signal generator to a defined state for programming.
210: Clears the signal generator’s Status Byte Register.
220: Sets the signal generator’s frequency mode to LIST.
230: Sets the signal generator’s LIST type to STEP.
240: Sets the signal generator’s start frequency to 500 MHz.
250: Sets the signal generator’s stop frequency to 800 MHz.
260: Sets the signal generator’s frequency steps at 10 evenly-spaced points, starting at 500 MHz
and ending at 800 MHz.
270: Sets the signal generator’s output signal to dwell at each of the ten points of 500 ms.
280: Continuously initializes the signal generator sweep.
290: Sets the signal generator to CONTINUOUS sweep mode.
300: Sets the signal generator’s RF output to −5 dBm.
310: Turns on the signal generator’s RF output.
320 to 340: Prints a message to the controller’s display.
350: Waits 3 seconds.
360: Returns the signal generator to LOCAL mode.
370 to 390: Prints a message to the controller’s display.
400: Waits 3 seconds.
410: Prints a message to the controller’s display.
420: Ends the program.
Comentários a estes Manuais