Tektronix AFG3000 Portable Generator User Manual


 
Syntax and Commands
AFG3000 Series Arbitrary/Function Generators Reference Manual 3-29
MMEMory:LOCK[:STATe]
This command sets or queries whether to lock a file or directory in the mass storage
system. If you lock a file or directory, you cannot overwrite or delete it.
Group
Mass Memory
Syntax
MMEMory:LOCK[:STATe]<file_name>,{ON|OFF|<NR1>}
MMEMory:LOCK[:STATe]<file_name>?
Arguments
ON or <NR1>0 locks a file or directory in the mass storage system.
OFF or <NR1>=0 allows you to overwrite or delete a file or directory in the mass
storage system.
Returns
<NR1>
Examples
MEMory:LOCK[:STATe] SETUP1.TFS,ON
locks the file “SETUP1.TFS”.
MMEMory:MDIRectory (No Query Form)
This command creates a directory in the mass storage system. If the specified direc-
tory is locked in the mass storage system, this command causes an error.
Group
Mass Memory
Syntax
MMEMory:MDIRectory <directory_name>
Arguments
<directory_name>::=<string> specifies a directory name to be created.
Examples
MMEMory:MDIRectory SAMPLE1
creates a directory named “SAMPLE1” in the mass storage system.