User`s guide

Table Of Contents
142 Chapter 9
Saving and Recalling (File Management)
Managing Files
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
E5061A/E5062A.
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
E5061A/E5062A.
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.
Lines 1420 to 1430 These lines retrieve the error number and error message from the error
queue, and then store them into the variables Err_no and Err_msg$,
respectively.
Lines 1440 to 1490 If Err_no is equal to 0 (no error occurred), these lines display the
message indicating completion of transfer, and if Err_no is not equal to
0 (an error occurred), display Err_no along with Err_msg$.
Lines 1510 to 1520 These lines handle the case with no source file for copying is found.