RC Commands
R&S
®
OSP
290
User Manual 1178.7100.02 ─ 05
MMEMory:DATA
<FileName>,<data>
MMEMory:DATA?
<FileName>
Saves <data> in a file that is specified by the filename.
The query returns the data from this file in block format.
Setting parameters:
<data>
Specifies the data block in 488.2 block format. The header of the
data block has the format "
#nm
" with the following meaning:
After the
#
character, one digit "
n
" (1 to 9) encodes the number
of the following characters "
m
". The 1 to 9 digits of "
m
" (or "
mm
" or
"
mmm
" up to "
mmmmmmmmm
") encode the length of the data block.
For example, in the header "
#233
", the "
2
" specifies, that "
m
" is
a 2-digit number. Hence, the next 2 characters (here: "
33
")
specify that the following data block has a length of 33 charac-
ters. The data can be, for example,
"
example information block number1
", that is 33 char-
acters, blanks included.
Parameters for setting and query:
<FileName>
Specifies the filename.
Example:
Setting
:
MMEM:DATA "Cheers.txt", #15Hello
Writes the 5-byte word "
Hello
" into the file "
Cheers.txt
".
Example:
Query
:
MMEM:DATA? "Cheers.txt"
Response:
#15Hello
Hence, the length information is 1 character, which is a 5. These
5 characters are the 5-byte word "
Hello
".
MMEMory:DELete
<FileName>
Deletes the file that is specified by the parameter.
Setting parameters:
<FileName>
Specifies the filename.
Example:
MMEM:DEL "Cheers.txt"
Usage:
Event
8.8
DIAGnostic Commands
........................................................................................ 291
DIAGnostic:SERVice:MODule:HWINfo
............................................................................. 292
DIAGnostic:SERVice:MODule:TEMPerature?
................................................................... 292
DIAGnostic:SERVice:USER:ERRor?
................................................................................293
DIAGnostic:SERVice:USER:WARNing?
........................................................................... 293
DIAGnostic Commands