Agilent Technologies E5071C Manual page 1037

Hide thumbs Also See for E5071C:
Table of Contents

Advertisement

E5071C
Lines 640 to 650
These lines display a message showing that the transfer has started, and
execute commands for reading data from a file on the E5071C.
Lines 670 to 680
These lines read the header symbol (#) in a block data, read number of
digits (characters) indicating the size of data in bytes, then store it into
Digit$ variable.
Line 690
This line creates a format for reading characters in Digit$.
Line 700
This line reads the data size in byte and stores it into Src_size_char$
variable.
Line 720
This line converts Src_size_char$ to a real number and stores it into
Src_size variable.
Lines 730 to 870
These lines repeat the procedures below until Src_size reaches 0.
Lines 740 to 780: If Src_size is greater than Max_bsize, these lines assign
the value of the Max_bsize 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 800 This line defines Dat$ string variable with the size as large as
Block_size and reserves memory area.
Line 810 This line creates a format for reading characters as many as
Block_size characters.
Line 820 This line reads data from the file on the E5071C, then stores
them into Dat$.
Line 830 This line writes the contents of Dat$ to the file on the external
controller.
Lines 840 to 860 These lines free the memory area for Dat$ and subtract
Block_size from Src_size.
Lines 890 to 900
These lines display a message showing the completion of transfer, then
read a message terminator at the end of the data.
Lines 940 to 980
These lines define an error handler that retrieves and displays the number
and message of an error that has occurred.
1264

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents