Agilent 4155C/4156C SCPI Command Reference, Edition 1 5-65
SCPI Commands
:MMEMory:COPY
:MMEMory:COPY
This command copies an existing file to a new file.
If the source file doesn't exist or the destination file already exists, an error is
generated.
This command does not have query form.
Syntax • Syntax 1:
:MMEMory:COPY src_file, dest_file
• Syntax 2:
:MMEMory:COPY src_file, src_msus, dest_file, dest_msus
Parameter
The default mass storage is the device specified by :MMEM:DEST command. You
must specify file extension with the file name. To specify the device, set src_msus
and/or dest_msus to 'DISK', or use Syntax 1.
If you copy an internal memory data, set src_msus and/or dest_msus to 'MEMORY'.
The extension is optional, so file name can be MEM1, MEM2, MEM3, or MEM4 or with
applicable file type extension (MES, STR, DAT, or MAT).
Example To copy a file to another file on the default device:
OUTPUT @Hp4155;":MMEM:COPY 'CMOS.MES','CMOS2.MES'"
To copy an internal memory data to a file in the default device:
OUTPUT @Hp4155;":MMEM:COPY 'MEM3.MES','MEMORY','CMOS.MES','DISK'"
To copy an internal memory data to another internal memory:
OUTPUT @Hp4155;":MMEM:COPY 'MEM3.MES','MEMORY','MEM4','MEMORY'"
Parameter Type Explanation
src_file string source file name including extension
dest_file string destination file name including extension
src_msus string source mass storage ('DISK' or 'MEMORY' is
available)
dest_msus string destination mass storage ('DISK' or 'MEMORY' is
available)