
Programming
T
echniques
This
section
provides
information
that
you
may
nd
useful
when
you
write
a
program
to
control
the
E5100A/B
using
B
ASIC.
This
section
provides
the
following
information.
Using
a
Disk
Using
a
Softkey
Label
Measuring
the
Processing
Time
Checking
GPIB
Errors
Tips
for
Increasing
Speed
Using
a
Disk
The
E5100A/B
has
2
storage
devices:
a
disk
drive
and
a
RAM
disk
drive
.
There
are
2
ways
to
access
these
storage
devices
from
a
controller
.
A
ccessing
Via
the
Measurement
Module
Use
this
method
to
save
or
read
information,
such
as
the
setup
of
the
E5100A/B ,
by
using
the
GPIB
command.
The
following
program
saves
measurement
setup
data
to
the
internal
disk
with
a
specied
le
name
.
10
ASSIGN
@E5100
TO
717
20
INPUT
"Enter
File
Name
(without
extension)",File_name$
30
OUTPUT
@E5100;"STODDISK"
Use
STODMEMO
for
the
RAM
disk.
40
OUTPUT
@E5100;"SAVDSTA
""";File_name$;""""
50
END
Module
6-19.
Saving
Measurement
Setup
Data
The
following
program
loads
the
saved
setup
data
to
the
E5100A/B .
10
ASSIGN
@E5100
TO
717
20
INPUT
"Enter
File
Name
(with
extension)",File_name$
30
File_name$=UPC$(File_name$)
Y
ou
must
specify
a
le
name
in
capital
letters
.
40
OUTPUT
@E5100;"STODDISK"
50
OUTPUT
@E5100;"RECD
""";File_name$;""""
60
END
Module
6-20.
Loading
Measurement
Setup
Data
A
ccessing
Directly
from
Instrument
B
ASIC
This
method
accesses
a
le
directly
without
going
through
the
E5100A/B .
Y
ou
use
this
method
when
you
are
handling
le
data
itself.
See
Chapter
7
\Data
Storage
and
Retrieval"
of
HP
Instrument
B
ASIC
Programming
T
echnique
for
more
information.
The
following
program
stores
trace
data
on
the
internal
disk
into
an
array
Dat
in
the
program.
Programming
Miscellaneous
6-13
Содержание 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: ......