
350
OUTPUT
@E5100;"CENS
";F_cent,F_span
!
360
RETURN
!
370
!
380
Cal:
!
CALIBRATION
390
INPUT
"CONNECT
THRU,THEN
PRESS
[Return]",Dum$
400
OUTPUT
@E5100;"CALI
RESP"
!
410
OUTPUT
@E5100;"STANC?"
!
420
ENTER
@E5100;Tmp
!
430
!
440
Sweep_end:DISP
"SWEEP
COMPLETED"
!
450
OUTPUT
@E5100;"RESPDONE?"
!
460
ENTER
@E5100;Tmp
!
470
!
480
DISP
"THRU
CAL.
COMPLETED."
!
490
RETURN
!
500
!
510
Get_cal_data:
!
GETTING
CALIBRATION
DATA
520
INPUT
"PRESS
[RETURN]
TO
GET
CAL
DATA
FROM
HP
E5100A/B.",Dum$
!
530
OUTPUT
@E5100;"FORM3"
!
540
OUTPUT
@E5100;"OUTPCALC01?"
!
550
ENTER
@E5100
USING
"#,8A";Header$
!
560
ENTER
@Dt;Dat(*)
!
570
ENTER
@E5100
USING
"#,A";End$
!
580
RETURN
!
590
!
600
Save_cal_data:
!
SAVING
CALIBRATION
DATA
610
INPUT
"Enter
File
Name
(with
extension)",File$
620
CREATE
BDAT
File$,Nop,16
!
630
ASSIGN
@File
TO
File$
!
640
OUTPUT
@File;Dat(*)
!
650
ASSIGN
@File
TO
*
!
660
RETURN
!
670
!
680
Ending:
!
ENDING
PROGRAM
690
ASSIGN
@Dt
TO
*
!
700
!
710
END
!
Sample
Program
-7:
Setting
Up
Calibration
Data
from
an
External
Controller
This
program
transfers
the
calibration
data
saved
in
an
external
controller
by
CALSTOR
E
to
the
E5100A/B
and
sets
it
up
again.
T
o
set
the
calibration
function
on
again,
you
must
measure
the
standard
to
calculate
the
calibration
coecient.
Y
ou
cannot,
however
,
set
the
calibration
function
on
if
you
transferred
calibration
data
only
.
This
means
that
a
measurement
was
not
performed.
This
sample
program,
therefore
,
performs
a
dummy
calibration
measurement
and
transfers
calibration
data
to
set
the
calibration
function
on.
(The
subroutine
Dummy
cal)
If
you
change
the
setup
(for
example
,
the
frequency
range)
of
the
E5100A/B
after
transferring
calibration
coecient,
the
transferred
calibration
coecient
becomes
invalid.
Y
ou
must,
therefore
,
set
up
the
E5100A/B
before
transferring
calibration
data.
Application
Sample
Programs
7-5
Summary of Contents for E5100A
Page 1: ...Agilent E5100A B Network Analyzer Programming Manual ...
Page 2: ......
Page 5: ...c Copyright 1995 1996 1997 1998 2000 2001 Agilent Technologies Japan Ltd ...
Page 8: ......
Page 36: ......
Page 46: ......
Page 48: ...Figure 3 1 Simpli ed Data Processing Flow 1 3 2 Data Processing and T ransfer ...
Page 58: ......
Page 76: ......
Page 112: ......
Page 232: ......
Page 246: ......
Page 250: ......
Page 299: ...110 END Waveform Analysis Commands D 49 ...
Page 302: ......
Page 322: ......
Page 350: ......
Page 352: ......
Page 362: ......
Page 368: ......
Page 372: ......