
Transferring
a
Numeric
V
ariable
Execute
a
command
with
a
variable
name
and
data
as
a
parameter
to
transfer
numeric
data
to
a
variable
in
Instrument
B
ASIC.
OUTPUT
@E5100;"PROG:NUMB
'Center',100000000"
INPUT
"ENTER
CENTER
FREQUENCY",Center
OUTPUT
@E5100;"PROG:NUMB
'Center',";Center
Module
6-7.
Transferring
a
Numeric
V
ariable
Transferring
a
String
Character
V
ariable
Execute
a
command
with
a
variable
name
and
data
as
a
parameter
to
transfer
string
character
data
to
a
variable
in
Instrument
B
ASIC.
OUTPUT
@E5100;"PROG:STR
'File$','TEST1'"
File$="TEST1"
OUTPUT
@E5100;"PROG:STR
'File$','";File$;"'"
Module
6-8.
Transferring
a
String
Character
V
ariable
Referring
to
and
Transferring
an
Array
Similarly
,
you
can
refer
to
the
contents
of
an
array
.
DIM
Dat_array(1:201,1:2)
Dene
an
array
of
the
same
size
as
the
array
you
are
referring
to
.
OUTPUT
@E5100;"PROG:NUMB?
'Dat_array'"
ENTER
@E5100;Dat_array(*)
Module
6-9.
Transferring
Array
Y
ou
cannot
refer
to
an
array
by
each
element
(Ex.
PROG:NUMB?
'Dat
array(1,1)').
Execute
a
command
with
an
array
name
and
data
as
a
parameter
to
transfer
array
data.
OUTPUT
@E5100;"PROG:NUMB
""Dat_array"",";Dat_array(*)
Module
6-10.
Referring
to
Array
In
fact,
the
program
is
more
complex
because
you
have
to
synchronize
two
programs
.
See
\Sample
Program
-3:
Controlling
Instrument
B
ASIC
from
an
External
Controller".
Remote
Processing
a
B
ASIC
Command
(PROG:EXEC)
Y
ou
can
remote
process
a
B
ASIC
command
supported
by
the
E5100A/B 's
B
ASIC
command
lines
.
F
ollowing
is
an
example
of
how
to
use
the
PROG:EXEC
command.
6-4
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: ......