
OUTPUT
@E5100;"PROG:EXEC
'EDIT'"
Start
up
the
B
ASIC
editor
.
OUTPUT
@E5100;"PROG:EXEC
'MSI
"":INTERNAL,4""'"
Select
the
internal
disk
drive
.
INPUT
"Enter
File
Name:",File$
OUTPUT
@E5100;"PROG:EXEC
'GET
""";File$;"""'"
R
ead
a
le
into
the
editor
.
Module
6-11.
PROG:EXEC
Command
Controlling
the
Process
Status
Y
ou
can
check
or
set
the
process
status
of
a
B
ASIC
program
from
an
external
controller
.
Controlling
the
Process
Status
of
Instrument
B
ASIC
Y
ou
can
use
the
PROG:ST
A
T
command
to
control
the
process
status
of
Instrument
B
ASIC
from
an
external
controller
.
OUTPUT
@E5100;"PROG:STAT
RUN"
Execute
a
program.
Module
6-12.
PROG:ST
A
T
Command
See
the
GPIB
Command
R
eference
for
detail.
Checking
the
Process
Status
of
an
Instrument
B
ASIC
Program
The
following
are
examples
of
how
to
remote
check
the
process
status
of
Instrument
B
ASIC.
Use
the
PROG:ST
A
T?Query
.
Depending
on
the
return
value
,
you
can
see
if
the
process
is
in
the
RUN,
P
A
USE
or
STOP
status
.
OUTPUT
@E5100;"PROG:STAT?"
Use
Query
to
get
the
process
status
.
ENTER
@E5100;Status$
The
return
value
is
character
string.
DISP
Status$
Module
6-13.
PROG:ST
A
T?
Query
Check
the
bit
14
of
OSR
(Operation
Status
Register).
B
14
of
the
OSR
is
set
depending
on
the
process
status
of
Instrument
B
ASIC.
A
1
is
set
if
the
process
is
running,
or
a
0
is
set
if
it
is
stopped
(including
the
P
A
USE
status).
OUTPUT
@E5100;"OSR?"
ENTER
@E5100;Osr
BIT(Osr,14)
Module
6-14.
Checking
Operation
Status
Register
When
you
want
to
generate
an
SRQ
according
to
the
process
status
of
Instrument
B
ASIC,
you
can
select
whether
you
want
to
generate
it
at
the
start
of
program
or
at
the
completion
of
program
by
specifying
OSPT
or
OSNT
.
Programming
Miscellaneous
6-5
Содержание 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: ......