User`s guide

Table Of Contents
54 Chapter 3
Setting Up the Analyzer
Sample Program
The program is described in detail below:
Line 70 Assigns a GPIB address to the I/O pass.
Line 90 Stores the number of channel 1's sweep segments into the Segm
variable.
Lines 100 to 150 These lines store the start and stop values for channel 1's segments 1
through 3 into the Star1(*) and Stop1(*) variables, respectively.
Lines 160 to 170 These lines store channel 2's center and span values into the Star2 and
Stop2 variables, respectively.
Lines 180 to 210 These lines store the number of points for channel 1's segments 1
through 3 into the Nop1(*) variable, and the number of measurement
points for channel 2 into the Nop2 variable.
Lines 220 to 250 These lines store the IF bandwidth for channel 1's segments 1 through
3 into the If_bw1(*) variable, and the IF bandwidth for channel 2 into
the If_bw2 variable.
Lines 260 to 290 These lines store the power for channel 1's segments 1 through 3 into
the Pow1(*) variable, and the power for channel 2 into the Pow2
variable.
Lines 300 to 310 These lines store the number of channel'1 traces into the Num_of_tr1
variable, and the number of channel 2's traces into the Num_of_tr2
variable.
Lines 320 to 330 These lines store channel 1's graph layout into the Allocate1$ variable,
and channel 2's graph layout into the Allocate2$ variable.
Lines 340 to 390 These lines store the measurement parameters for channel 1's traces 1
through 4 into the Para1$(*) variable, and the measurement parameters
for channel 2's traces 1 through 2 into the Para2$(*) variable.
Lines 400 to 450 These lines store the data formats for channel 1's traces 1 through 4
into the Fmt1$(*) variable, and the data formats for channel 2's traces
1 through 2 into the Fmt2$(*) variable.
Lines 460 to 480 These lines store the reference division line numbers for channel 1's
traces 2 through 3 into the Ref_pos1(*) variable, and the reference
division line numbers for channel 2's trace 1 into the Ref_pos2(*)
variable.
Lines 490 to 510 These lines store the reference division line values for channel 1's
traces 2 through 3 into the Ref_lev1(*) variable, and the reference
division line values for channel 2's trace 1 into the Ref_lev2(*)
variable.
Lines 520 to 570 These lines store the data formats for channel 1's traces 1 through 4
into the Fmt1$(*) variable, and the data formats for channel 2's traces
1 through 2 into the Fmt2$(*) variable.
Line 580 Stores the name of the file into the File$ variable.
Line 600 Puts the instrument into preset state.
Line 620 Places the window for channel 1 in the upper part of the LCD screen,
and the window for channel 2 in the lower part.
Lines 630 to 640 These lines turn on Continuous Activation mode for channels 1 and 2.