HP (Hewlett-Packard) 16501A Sander User Manual


 
UPLoad
Query :MMEMory:UPLoad? <name>[,<msus>]
The UPLoad query uploads a file. The <name> parameter specifies the file to
be uploaded from the disk. The contents of the file are sent out of the
instrument in block data form.
This command should only be used for HP 16550A configuration files.
<name> A string of up to 10 alphanumeric characters for LIF in the following form:
NNNNNNNNNN
or
A string of up to 64 alphanumeric characters for DOS in one of the following
forms:
NNNNNNNN.NNN when the file resides in the current directory or
\NAME_DIR\FILENAME when it does not reside in the current directory
<msus> Mass Storage Unit specifier. INTernal0 for the hard disk drive and
INTernal1 for the flexible disk drive.
Returned Format
[:MMEMory:UPLoad] <block_data><NL>
Example
10 DIM Block$[32000] !allocate enough memory for block data
20 DIM Specifier$[2]
30 OUTPUT XXX;":EOI ON"
40 OUTPUT XXX;":SYSTEM:HEADER OFF"
50 OUTPUT XXX;":MMEMORY:UPLOAD? ’FILE1’" !send upload query
60 ENTER XXX USING "#,2A";Specifier$ !read in #8
70 ENTER XXX USING "#,8D";Length !read in block length
80 ENTER XXX USING "-K";Block$ !read in file
90 END
MMEMory Subsystem
UPLoad
12–24