
OUTPUT
@E5100;"PROG:DEL:ALL"
Clear
the
editor
before
a
transfer
.
ASSING
@File
TO
Filename$
ON
ERROR
GOTO
Done
DIM
LINE$[100]
OUTPUT
@E5100;"PROG:DEF
#0"
Send
the
header
.
LOOP
Line$=""
ENTER
@File;Line$
R
ead
and
transfer
a
program
line
by
line
.
OUTPUT
@E5100;Line$
END
LOOP
DONE:!
If
the
control
gets
to
the
end
of
le
,
it
jumps
to
this
label
by
an
error
interrupt.
OFF
ERROR
OUTPUT
@E5100;""END
Send
a
terminator
and
end
the
transfer
.
Module
6-17.
Transferring
a
Program
to
the
Instrument
B
ASIC
Editor
Instrument
B
ASIC
checks
the
transferred
program
and
comments
out
lines
that
have
grammatical
errors
.
Transferring
from
Instrument
B
ASIC
to
an
External
Controller
Y
ou
can
also
transfer
a
program
from
the
Instrument
B
ASIC
editor
to
an
external
controller
.
The
following
example
stores
each
Instrument
B
ASIC
line
to
a
character
string
array
PROG$.
DIM
PROG$(1:3000)[100]
Up
to
3000
line
program
can
be
stored.
!
ON
ERROR
GOTO
Finished
ENABLE
INTR
Scode;2
OUTPUT
@E5100;"PROG:DEF?"
ENTER
@E5100
USING
"#,8A";Heade$
ENTER
@E5100;PROG$(*)
!
Finished:
OFF
ERROR
In
case
a
program
does
not
have
exactly
3000
lines
,
use
an
error
interrupt
to
prevent
the
program
from
abnormally
exiting.
Module
6-18.
Transferring
a
Program
From
the
Instrument
B
ASIC
Editor
Programming
Miscellaneous
6-7
Содержание 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: ......