HP 8360 B Series User Manual page 121

Swept signal generator, including options 001, 002, 004, 006, and 008
Table of Contents

Advertisement

Setting Up A Typical
Sweep, Example
Program 3
In swept operation, the swept signal generator is programmed for the
proper sweep frequency range, sweep time, power level, and marker
frequencies for a test measurement. This program sets up the swept
signal generator for a general purpose situation. The instrument is
the same as in program 1. Clear and reset the controller and type in
the following program:
10
Source=719
20
ABORT 7
LOCAL 7
30
40
CLEAR Source
50
REMOTE Source
60
OUTPUT Source;"*RST"
70
OUTPUT Source;"FREQuency:MODE SWEep"
80
OUTPUT Source;"FREQuency:STARt 4 GHZ"
90
OUTPUT Source;"FREQuency:STOP 7 GHz"
100
OUTPUT Source;"POWer:LEVel -5 DBM"
110
OUTPUT Source;"SWEep:TIME
120
OUTPUT Source;":MARKerl:STATe 0N;FREQuency 4.5GHZ"
130
OUTPUT Source;"MARKer2:STATe 0N;FREQuency 6111E6"
OUTPUT Source;"*OPC?"
140
150
ENTER Source;X
160
OUTPUT Source;"POWer:STATe ON"
170
OUTPUT Source;"INITIate:CONTinuous ON"
180
190 PRINT "Source setup complete."
200
PRINT "Verify that the source is sweeping from"
210
PRINT "4 GHz to 7 GHz at a power of -5 dBm,"
PRINT "with a sweeptime of 0.5 seconds."
220
END
230
Run the program.
Program Comments
10: Assign the source's HP-IB address to a variable.
20 to 50: Abort any HP-IB activity and initialize the HP-IB
interface.
60: Set the source toitsinitial state for programming. The *RST
state
is not the same as the PRESET state. For complete details
of the
instrument state at *RST, see "SCPI Command Summary,"
in Chapter 2.
70: Select the frequency mode to be SWEEP instead of the default
sweep mode of "CW" that was selected with *RST.
80: Set the source start frequency to 4 GHz.
90: Set the source stop frequency to 7 GHz. Note the optional
usage of the short-form mnemonic, "FREQ".
100: Set the source's power level to -5 dBm.
Getting Started Programming 1-93

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

83630b83620b83640b83650b83622b83623b ... Show all

Table of Contents