Method (Write Only)
SCPI.MMEMory.COPY = File
This command copies a file.
Specify the file name with the extension. When you use directory names (folder names) and file name, separate them with "\ " (back slash), or "/" (slash).
Parameter |
File |
Description |
Indicates 2 file names (copy source and copy destination). File(0): Copy source file name File(1): Copy destination file name The index of the array starts from 0. |
Data type |
Variant type (Variant) |
Range |
254 characters or less |
Note |
If the specified copy source file does not exist, an error occurs when executed and the object is ignored. Notice that, if a file with the same name as the specified copy destination file name exists, its contents are overwritten. |
SCPI.MMEMory.COPY = Array("test/state01.sta","d:test01.sta")
Dim File(1) As Variant
File(0) = "test/state01.sta"
File(1) = "d:test01.sta"
SCPI.MMEMory.COPY = File
Save/Recall > Save State > File Dialog...
:MMEMory:COPY <string 1>,<string 2>
10 OUTPUT 717;":MMEM:COPY ""Test1/State01.sta"",""d:Test1_01.sta"""