Agilent Technologies E5071C Manual page 1035

Hide thumbs Also See for E5071C:
Table of Contents

Advertisement

E5071C
1370 END WHILE
1380 !
1390 OUTPUT @Agte507x;"",END
1400 ASSIGN @Src_file TO *
1410 !
1420 OUTPUT @Agte507x;";:SYST:ERR?"
1430 ENTER @Agte507x;Err_no,Err_msg$
1440 IF Err_no=0 THEN
1450 PRINT "Done"
1460 ELSE
1470 PRINT "Error occurred!!"
1480 PRINT " No:";Err_no,"Description: "&Err_msg$
1490 END IF
1500 GOTO Skip_error
1510 File_error:OFF ERROR
1520 PRINT "File name NOT found!"
1530 Skip_error:!
1540 SUBEND
Description
Line 40
Assigns a GPIB address to the I/O pass.
Lines 60 to 130
These line allow the user to return to the entry start line and re-enter the
data if an error (such as an invalid entry) occurs while entering the number
that indicates the transfer direction. Then, these line display the list of
transfer directions and prompt the user to input a selected number.
Lines 80 to 130
These lines display the list of transfer directions, and prompt the user to
choose one of the items by typing in the appropriate number.
Lines 140 to 150
Converts the entered value into an integer and stores it into the Direction
variable. Returns to the entry start line if an invalid value is contained in
Direction.
Lines 180 to 210
These lines obtain the name of the source file for copying from the user
input, store it into the Src_file$ variable, and display the value of Src_file$.
1262

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents