SCPI.MMEMory.COPY

Object type

Method (Write Only)

Syntax

SCPI.MMEMory.COPY = File

Description

This command copies a file.

Variable

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.

Examples

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

Equivalent key

Save/Recall > Save State > File Dialog...

Equivalent SCPI command

Syntax

:MMEMory:COPY <string 1>,<string 2>

Example of use

10 OUTPUT 717;":MMEM:COPY ""Test1/State01.sta"",""d:Test1_01.sta"""