Technical data
File 7
Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.5 GHz 171
Move Data to a File (Remote Command Only)
This command loads a block of data in the format <definite_length_block> into the
instrument memory location <‘file_name’>. The query form of the command returns
the contents of the file identified by <‘file_name’>, in the format of a definite length
block of data. The query can be used for copying files out of the analyzer over the remote
bus.
A definite length block of data starts with an ASCII header that begins with # and indicates
how many additional data points are following in the block. If the header is #512320:
The first digit in the header (5) tells you how many additional digits/bytes there are in the
header.
The 12320 means 12,320 data bytes follow the header.
Divide this number of bytes by your selected data format bytes/point, either 8 (for real 64),
or 4 (for real 32). In this example, if you are using real 64 then there are 1540 points in the
block.
Remote Command:
:MMEMory:DATA <‘file_name’>,<definite_length_block>
:MMEMory:DATA? <‘file_name’>
Example:
MMEM:DATA ‘C:\DEST.TXT’,’#14abcd’ Loads the data “abcd” into C:\
DEST.TXT.
MMEM:DATA? ‘C:\SCREN001.GIF’ Initiates a transfer of data from file C:\
SCREN001.GIF.