Remote Control Commands
R&S
®
SMJ100A
550
Operating Manual 1403.7458.32 ─ 14
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>
#<number><length_entry><data>
#
: Hash sign; always comes first in the binary block
<number>
: the first digit indicates how many digits the subse-
quent 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 9 digits (Gigabytes) the
instrument allows the syntax
#(<Length>)
, where
<Length>
is the file size in decimal format.
Parameters for setting and query:
<Filename>
string
String parameter to specify the name of the file.
Example:
MMEMory:DATA 'D:\user\test.txt',#15hallo
Writes the block data to the file
test.txt
.
The digit
1
indicates a length entry of 1 digit; the digit
5
indicate
a length of the binary data (
hallo
) in bytes.
MMEMory:DATA? 'D:\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
:MMEMory:DCATalog?
<path>
Returns the subdirectories of a particular directory.
Query parameters:
<path>
String parameter to specify the directory. If the directory is omit-
ted, the command queries the content of the current directory,
queried with
command.
Return values:
<Catalog>
<file_entry>
Names of the subdirectories separated by colons. The first two
strings are related to the parent directory.
Example:
See
"Working with Files and Directories"
Usage:
Query only
MMEMory Subsystem
Summary of Contents for SMJ100A
Page 34: ...Preface R S SMJ100A 18 Operating Manual 1403 7458 32 14 Notes on Screenshots...
Page 86: ...Preparing for Use R S SMJ100A 70 Operating Manual 1403 7458 32 14 LXI Configuration...
Page 826: ...Remote Control Commands R S SMJ100A 810 Operating Manual 1403 7458 32 14 UNIT Subsystem...
Page 828: ...Maintenance R S SMJ100A 812 Operating Manual 1403 7458 32 14 Storing and Packing...
Page 844: ...Hardware Interfaces R S SMJ100A 828 Operating Manual 1403 7458 32 14 BERT Connector...