EasyManua.ls Logo

R&S SMB100A - Mmemory:dcatalog; Mmemory:dcatalog:length

R&S SMB100A
528 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote Control Commands
R&S
®
SMB100A
308Operating Manual 1407.0806.32 ─ 21
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 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
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 indi-
cate 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
: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 :MMEMory:CDIRectory 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" on page 304.
Usage: Query only
:MMEMory:DCATalog:LENGth? [<Path>]
Returns the number of subdirectories in the current or specified directory.
Query parameters:
<Path> String parameter to specify the directory. If the directory is omit-
ted, the command queries the contents of the current directory,
to be queried with :MMEMory:CDIRectory command.
MMEMory Subsystem

Table of Contents

Other manuals for R&S SMB100A