
Lines
660
to
670
read
data,
whose
amount
is
specied
by
the
transfer
data
length,
from
the
source
le
.
Lines
690
to
700
write
data
to
the
destination
le
in
the
xed
length
block
format
(see
Figure
J-2).
The
maximum
length
of
data
transferred
at
a
time
is
16
Kbytes
.
Therefore
,
if
the
size
of
the
source
le
is
greater
than
16
Kbytes
,
the
transfer
routine
,
lines
520
to
720,
is
repeated
until
transferring
all
of
the
data
is
completed.
Lines
780
to
880
provide
a
function
to
check
that
no
error
has
occurred
in
the
E5100A/B .
Note
T
o
transfer
a
le
from
the
external
storage
device
to
the
E5100A/B ,
you
must
check
the
le
size
(number
of
bytes)
in
advance
.
Displaying
List
of
Files
in
Current
Directory
This
program
displays
the
list
of
the
les
in
the
current
directory
of
the
E5100A/B .
This
program
is
contained
in
the
attached
sample
disk
with
the
le
name
FILE3
E
(for
the
external
controller).
The
program
for
Instrument
B
ASIC
is
not
provided.
110
!
120
!
File
list
130
!
140
ASSIGN
@Agte5100
TO
717
150
OUTPUT
@Agte5100;"*rst"
160
!
170
Dir_instr(@Agte5100)
180
!
190
END
200
!
210
!
Dir_instr
220
!
230
SUB
Dir_instr(@Agte5100)
240
DIM
Stor_dev$[5],File_name$[13]
250
!
260
Stor_dev$="MEMO"
270
!
280
OUTPUT
@Agte5100;"STOD";Stor_dev$
290
"["&Stor_dev$&"]:
"
300
"Size[byte]
File
Name"
310
"------------------------"
320
OUTPUT
@Agte5100;"FNUM?"
330
ENTER
@Agte5100;File_count
340
IF
File_count>=1
THEN
350
FOR
I=1
TO
File_count
360
OUTPUT
@Agte5100;"FNAME?
";I
370
ENTER
@Agte5100;File_name$
380
OUTPUT
@Agte5100;"FSIZE?
"""&File_name$&""""
J-8
File
T
ransfer
Function
Summary of Contents for E5100A
Page 1: ...Agilent E5100A B Network Analyzer Programming Manual ...
Page 2: ......
Page 5: ...c Copyright 1995 1996 1997 1998 2000 2001 Agilent Technologies Japan Ltd ...
Page 8: ......
Page 36: ......
Page 46: ......
Page 48: ...Figure 3 1 Simpli ed Data Processing Flow 1 3 2 Data Processing and T ransfer ...
Page 58: ......
Page 76: ......
Page 112: ......
Page 232: ......
Page 246: ......
Page 250: ......
Page 299: ...110 END Waveform Analysis Commands D 49 ...
Page 302: ......
Page 322: ......
Page 350: ......
Page 352: ......
Page 362: ......
Page 368: ......
Page 372: ......