
Sample
Program
-5:
Setting
Up
and
P
erforming
the
List
Sweep
This
program
sets
up
the
list
sweep
table
and
performs
a
list
sweep
.
When
you
run
this
program,
the
program
will
ask
you
the
number
of
segments
,
the
segment
range
and
the
number
of
displayed
points
so
that
you
can
easily
set
up
the
list
sweep
table
.
This
program
is
contained
in
the
attached
sample
disk
with
the
le
name
LIST
SWP
(for
Instrument
B
ASIC).
The
program
for
an
external
controller
has
the
name
LISTSWP
E.
110
ASSIGN
@E5100
TO
800
!
IBASIC
INITIALIZATION
120
CLEAR
@E5100
!
130
OUTPUT
@E5100;"DISAHIHB"
!
140
!
150
DIM
Table(1:31,1:3)
!
VARIABLE
DECLARATION
160
!
170
INPUT
"Number
of
segments?",Numb
!
ENTER
AND
DISPLAY
NUMBER
OF
SEGMENTS
180
!
190
USING
"10A,11A,11A,20A";"Segment","Start(MHz)","Stop(MHz)"
,"Number
of
points"
!
200
!
210
FOR
I=1
TO
Numb
!
GOTO
TABLE
SETUP
ROUTINE
220
GOSUB
Loadpoin
!
230
NEXT
I
!
240
!
250
LOOP
!
ASK
IF
EDIT
NEEDED
260
INPUT
"Do
you
want
to
edit?
(Y/N)",An$
270
EXIT
IF
An$="N"
OR
An$="n"
!
280
INPUT
"Segment
Number?",I
!
290
GOSUB
Loadpoin
!
300
END
LOOP
!
310
!
320
OUTPUT
@E5100;"PRES"
!
MEASUREMENT
SETUP
330
OUTPUT
@E5100;"CHAN1;ANAMODE
GAINP;MEAS
AR;FMT
LOGM"
!
340
!
350
OUTPUT
@E5100;"EDITLIST"
!
TABLE
SETUP
360
OUTPUT
@E5100;"CLEL"
!
370
FOR
I=1
TO
Numb
!
380
OUTPUT
@E5100;"SADD"
!
390
OUTPUT
@E5100;"STAR
";Table(I,1)*1.E+6
!
400
OUTPUT
@E5100;"STOP
";Table(I,2)*1.E+6
!
410
OUTPUT
@E5100;"POIN
";Table(I,3)
!
420
OUTPUT
@E5100;"SDON"
!
430
NEXT
I
!
440
OUTPUT
@E5100;"EDITDONE"
!
450
OUTPUT
@E5100;"SWPT
LIST"
!
460
OUTPUT
@E5100;"LISDOBASE"
!
470
!
480
OUTPUT
@E5100;"SING?"
!
MAKE
A
MEASUREMENT
490
ENTER
@E5100;Tmp
7-2
Application
Sample
Programs
Содержание E5100A
Страница 1: ...Agilent E5100A B Network Analyzer Programming Manual ...
Страница 2: ......
Страница 5: ...c Copyright 1995 1996 1997 1998 2000 2001 Agilent Technologies Japan Ltd ...
Страница 8: ......
Страница 36: ......
Страница 46: ......
Страница 48: ...Figure 3 1 Simpli ed Data Processing Flow 1 3 2 Data Processing and T ransfer ...
Страница 58: ......
Страница 76: ......
Страница 105: ...610 RETURN 620 630 Ending ENDING PROGRAM 640 ASSIGN Dt TO 650 660 END Application Sample Programs 7 7 ...
Страница 112: ......
Страница 232: ......
Страница 246: ......
Страница 250: ......
Страница 277: ...110 PRINT Pole left Pole1 dB Fp1 Hz 120 PRINT Pole right Pole2 dB Fp2 Hz 130 END Waveform Analysis Commands D 27 ...
Страница 299: ...110 END Waveform Analysis Commands D 49 ...
Страница 302: ......
Страница 322: ......
Страница 350: ......
Страница 352: ......
Страница 362: ......
Страница 368: ......
Страница 372: ......