The setting command writes the block data <BinaryBlock> to the file identified by <Filename>.
Set the GPIB-bus terminator to EOI to ensure correct data transfer.
The query command transfers the specified file from the instrument to the GPIB-bus and then on to the controller. It is important to ensure that the intermediate memory on the controller is large enough to take the file. The setting for the GPIB-bus terminator is irrelevant.
Tip: Use this command to read/transfer stored instrument settings or waveforms directly from/to the instrument.
Parameters: | ||
<BinaryBlock> | #: Hash sign; always comes first in the binary block <number>: the first digit indicates how many digits the subsequent length entry has <length_entry>: indicates the number of subsequent bytes <data>: binary block data for the specified length. For files with a size with more than nine digits (gigabytes), the instrument allows the syntax #(<Length>), where <Length> is the file size in decimal format. | |
![]() | ||
Parameters for setting and query: | ||
<Filename> | String parameter to specify the name of the file. | |
![]() | ||
Example: | MMEMory:DATA '/var/user/test.txt',#15hallo Writes the block data to the file test.txt. The digit 1 indicates a length entry of one digit; the digit 5 indicate a length of the binary data (hallo) in bytes. MMEMory:DATA? '/var/user/test.txt'Sends the data of the file test.txt from the instrument to the controller in the form of a binary block. Response: #15hallo | |
Usage: | SCPI confirmed |
Imprint | Statement of Privacy | Terms & Conditions | © 2017 ROHDE & SCHWARZ |