
OUTPUT
@E5100;"OSPT
16384"
Generate
an
SRQ
at
the
start
of
program.
OUTPUT
@E5100;"OSE
16384;
*SRE
32"
Module
6-15.
Generating
SRQ
Change
OSPT
to
OSNT
to
generate
an
SRQ
at
the
completion
of
program.
Note
CLES
or
*CLS
cannot
clear
OSPT
or
OSNT.
Execute
OSPT
0
or
OSNT
0
to
clear
the
setup
.
Use
the
PROG:W
AIT?
command
to
pause
an
external
controller
until
a
program
completes
.
1
is
returned
at
the
completion
of
running
Instrument
B
ASIC
if
you
execute
the
PROG:W
AIT?Query
.
If
you
read
the
return
value
by
the
ENTER
statement,
the
program
will
pause
until
the
value
is
returned.
OUTPUT
@E5100;"PROG:WAIT?"
W
ait
for
a
program
to
complete
.
ENTER
@E5100;Wt
1
is
returned
if
the
program
is
completed.
Module
6-16.
PROG:W
AIT
Command
Use
Instrument
B
ASIC
to
set
the
variable
to
indicate
the
program
status
and
refer
to
this
variable
by
the
PROG:NUMB?
or
PROG:STR?Query
from
an
external
controller
.
This
is
useful
when
you
want
to
know
the
actual
process
status
of
an
Instrument
B
ASIC
program.
Ex.
Check
if
a
calibration
is
completed.
Y
ou
can
have
controllers
to
cooperate
and
communicate
with
each
other
in
detail
if
you
use
the
CASE
statement
in
an
external
controller
to
branch
to
appropriate
process
depending
on
the
contents
of
this
variable
.
A
sample
program
that
uses
this
method
is
in
\Sample
Program
-3:
Controlling
Instrument
B
ASIC
from
an
External
Controller".
Transferring
a
Program
Y
ou
can
transfer
a
program
between
an
external
controller
and
Instrument
B
ASIC.
Transferring
from
an
External
Controller
to
Instrument
B
ASIC
The
following
example
transfers
a
program
on
the
disk
in
an
external
controller
to
the
Instrument
B
ASIC
editor
through
GPIB
.
6-6
Programming
Miscellaneous
Содержание 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: ......