Return Format
None.
Examples
:MEM:LOAD NEW.RSF /*Reads the file named NEW.RSF in the current
directory.*/
4.7.6 :MEMory:LOCK
Syntax
:MEMory:LOCK <
filename
>,<
bool
>
:MEMory:LOCK? <
filename
>
Description
Locks or unlocks the specified file stored in C disk, or queries whether the specified
file in C disk is locked.
Parameter
Name Type Range Default
<bool> Bool {0|1|ON|OFF} 0
<filename> ASCII string Refer to
Remarks
-
Remarks
• <filename> must be an existing filename with suffix in C disk.
• Only C disk supports file lock function. The command is valid only when the
specified file exists.
• You can only read the locked file but are not allowed to copy and delete the
locked file.
Return Format
The query returns 0 or 1.
Examples
:MEM:LOCK NEW.RSF,ON /*Locks the file named NEW.RSF in C disk.*/
:MEM:LOCK? NEW.RSF /*Queries whether the file named NEW.RSF in C
disk is locked. The query returns 1.*/
Command System
42
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.