File Transfer From External Controller To 4396B - Agilent Technologies 4396B Gpib Programming Manual

Network/spectrum/impedance analyzer
Hide thumbs Also See for 4396B:
Table of Contents

Advertisement

Depending on the data length obtained in lines 500 to 520, the program adjusts the format and
reads the data part.
Line 530 writes the data to the destination le.
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 370 to 560, is repeated until
transferring all of the data is completed.
Lines 620 to 720 provide a function to check that no error has occurred in the 4396B.
Figure 11-8. Fixed length block format

File Transfer from External Controller to 4396B

This program transfers a speci ed le in the current directory of the storage device connected
to the external controller to the current directory of the selected storage device of the 4396B,
giving a le name you desire.
This program, when executed, rst prompts you to enter a source le name, as shown below.
Enter the name of a le you want to transfer.
Next, the program prompts you to enter the size of the source le as shown below (in this
example, SAMPLE.STA has been entered as the source le name). Enter the size correctly in
bytes.
Then, the program prompts you to enter the destination le name, as shown below (in this
example, the size of SAMPLE.STA is 12288 bytes). Enter the le name you want to give on
the destination storage device. Note that a le with the same name will be overwritten, if it
already exists.
11-12
Using Application Programs

Advertisement

Table of Contents
loading

Table of Contents