EasyManua.ls Logo

Agilent Technologies E5071C - Page 1038

Agilent Technologies E5071C
2685 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming
1265
Copy_to_e507x, a subprogram for transferring files from the external
controller to the E5071C that appears in lines 1040 to 1540, is described
below.
Lines 1090 to 1110
Assigns a destination file for copying to the I/O pass.
Line 1120
This line stores a maximum number of transferred data (in bytes) per one
transfer, that is 24 KByte, into Max_bsize variable.
Lines 1140 to 1160
Clears the error queue.
Line 1180
Displays a measurement start message.
Lines 1190 to 1200
These lines create the header part indicating that data will be sent as many
as Src_size_char$ bytes, then send the header part of the command and
its parameters for writing the data to the file on the E5071C.
Line 1220
This line converts Src_size_char$ to a real number and stores it into
Src_size variable.
Lines 1230 to 1370
These lines repeat the procedures below until Src_size reaches 0.
Lines 1240 to 1280: If Src_size is greater than Max_bsize, these lines
assign the value of the Max_bsiize to Block_size variable (transferred data
in bytes). If Src_size is equal or less than Max_bsize, assign the value of
Src_size to Block_size.
Line 1300 This line defines Dat$ string variable with the size as large as
Block_size and reserves memory area.
Line 1310 This line creates a format for reading characters as many as
Block_size characters.
Line 1320 This line reads data from the file on the external controller, then
stores them into Dat$.
Line 1330 This line writes the contents of Dat$ to the file on the E5071C.
Lines 1340 to 1360 These lines free the memory area for Dat$ and
subtract Block_size from Src_size.
Line 1390
This line sends a message terminator at the end of data.

Table of Contents