Chapter 2 Command System RIGOL
DP800 Programming Guide 2-19
:MEMory[:STATe]:LOCK
Syntax :MEMory[:STATe]:LOCK {RSF|ROF|RTF|RDF},{1|2|3|4|5|6|7|8|9|10},{ON|OFF}
:MEMory[:STATe]:LOCK? {RSF|ROF|RTF|RDF},{1|2|3|4|5|6|7|8|9|10}
Description Lock or unlock the file in the specified storage location.
Query whether the file in the specified storage location is locked.
Parameter
Name Type Range Default
{RSF|ROF|RTF|RDF} Discrete RSF|ROF|RTF|RDF None
{1|2|3|4|5|6|7|8|9|10} Discrete 1|2|3|4|5|6|7|8|9|10 None
{ON|OFF} Discrete ON|OFF OFF
Explanation The locked file cannot be saved and deleted, but can be read.
Return Format The query returns YES or NO.
Example :MEM:LOCK RSF,5,ON /*Lock the file in state file storage location 5*/
:MEM:LOCK? RSF,5 /*Query the locking state of the file in state file storage
location 5 and the query returns YES*/
:MEMory[:STATe]:STORe
Syntax :MEMory[:STATe]:STORe {RSF|RTF|RDF},{1|2|3|4|5|6|7|8|9|10}
Description Save the specified type of file to the specified storage location.
Parameter
Name Type Range Default
{RSF|RTF|RDF} Discrete RSF|RTF|RDF None
{1|2|3|4|5|6|7|8|9|10} Discrete 1|2|3|4|5|6|7|8|9|10 None
Explanation This command is used to store state file, timer file and delay file. The storage
directory of the record file is specified by the
:RECorder:MEMory command and
the record file is stored automatically when the recorder is turned off.
If the specified storage location already contains file, this command will
overwrite the original file directly. If the file stored in the specified storage
location is locked (refer to the
:MEMory[:STATe]:LOCK command), this
command will not overwrite the original file and the storage operation is
invalid.
Example :MEM:STOR RSF,5 /*Store the current instrument state to location 5*/
Related
Commands
*SAV
:RECorder:MEMory