MMEMory:CDIRectory <folder>
MMEMory:CDIRectory?
MMEMory:MDIRectory <folder>
MMEMory:RDIRectory <folder>
MMEMory:CDIRectory selects the default folder for MMEMory subsystem commands. This folder must exist and is
used when folder or file names do not include a drive and folder name. Query returns the current default folder.
MMEMory:MDIRectory makes a new directory (folder) on the mass storage medium.
MMEMory:RDIRectory removes a directory (folder) on the mass storage medium.
Parameter Typical return
<folder>
Any directory name, including the mass storage unit specifier.
Default: INT:\.
"INT:\BACKUP"
Makes a new directory named "test" on the internal mass memory system: MMEM:MDIR "test"
Removes a new directory named "test" on the internal mass memory system: MMEM:RDIR "test"
Selects the \BACKUP folder on the internal flash file system as the default folder: MMEM:CDIR "INT:\BACKUP"
Returns the default folder for MMEMory subsystem commands: MMEM:CDIR?
– This parameter is set to its default value after a Factory Reset (*RST) or Instrument Present (SYSTem:PRESet).
– You can only remove an empty folder. Else, instrument generates a "Directory not empty" error.
MMEMory:COPY <file1>,<file2>
Copies <file1> to <file2>. Each file name must include the file extension.
Parameter Typical return
Any valid file name for both <file1> and <file2> (none)
Copy state file from the root directory to the folder "Backup" on the internal flash file system:
MMEM:COPY "INT:\MyDAQ.sta","INT:\Backup"
–
This source file and folder, <file1>, must exist and cannot be marked as hidden or system.
–
The destination folder, <file2>, must exist and cannot be marked as hidden or system.
– If the destination file exists, it will be overwritten, unless marked as hidden or system.
–
To copy a file to a file of the same name in a different folder, specify just the <drive> and/or <path> for <des-
tination>.
192
Keysight DAQ970A/DAQ973A Programming Guide
2 SCPI Programming