MassMemory#

SCPI Commands

MMEMory:CDIRectory
MMEMory:COPY
MMEMory:DELete
MMEMory:DRIVes
MMEMory:MDIRectory
MMEMory:MOVE
MMEMory:MSIS
MMEMory:RDIRectory
MMEMory:RDIRectory:RECursive

Cloning the Group

// Create a clone of the original group, that exists independently
var massMemory2 = driver.MassMemory.Clone();

Direct SCPI Members

string CurrentDirectory#
// SCPI: MMEMory:CDIRectory
string value = driver.MassMemory.CurrentDirectory;
driver.MassMemory.CurrentDirectory = "abc";

Changes the default directory for mass memory storage. All following MMEM commands use the new directory, if you do not specify another directory explicitly in the command string.

directory: Complete file path or relative file path of the target directory. To change to a higher directory, use two dots: :MMEMory:CDIRectory “..”


void Copy ( string sourceFile, string destinationFile )#
// SCPI: MMEMory:COPY
driver.MassMemory.Copy("abc", "abc");

Copies an existing file to a new file. Instead of just a file, this command can also be used to copy a complete directory together with all its files.

sourceFile Complete file path or relative file path and filename of the source file.

destinationFile Complete file path or relative file path and filename of the target file. If DestinationFile is not specified, the SourceFile is copied to the current directory, queried with the method RsSmw.MassMemory.CurrentDirectory() command. Note: Existing files with the same name in the destination directory are overwritten without an error message.


void Delete ( string filename )#
// SCPI: MMEMory:DELete
driver.MassMemory.Delete("abc");

Removes a file from the specified directory.

filename Filename or complete file path


string Drives#
// SCPI: MMEMory:DRIVes
string value = driver.MassMemory.Drives;

No help available.


void MakeDirectory ( string directory )#
// SCPI: MMEMory:MDIRectory
driver.MassMemory.MakeDirectory("abc");

Creates a subdirectory for mass memory storage in the specified directory. If no directory is specified, a subdirectory is created in the default directory. This command can also be used to create a directory tree.

directory Specifies the complete file path of the new directory.


void Move ( string sourceFile, string destinationFile )#
// SCPI: MMEMory:MOVE
driver.MassMemory.Move("abc", "abc");

Moves an existing file to a new location or, if no path is specified, renames an existing file.

sourceFile Filename of the file that you want to move.

destinationFile Filename of the new file.


string Msis#
// SCPI: MMEMory:MSIS
string value = driver.MassMemory.Msis;
driver.MassMemory.Msis = "abc";

Defines the drive or network resource for instruments with windows operating system, using msis (MSIS = Mass Storage Identification String) . Note: Instruments with the Linux operating system ignore this command, since Linux does not use drive letter assignment.


void DeleteDirectory ( string directory )#
// SCPI: MMEMory:RDIRectory
driver.MassMemory.DeleteDirectory("abc");

Removes an empty directory from the mass memory storage system. If no directory is specified, the subdirectory with the specified name is deleted in the default directory.

directory Specifies the complete file path or relative file path of the directory that you want to delete.


void DeleteDirectoryRecursive ( string directory )#
// SCPI: MMEMory:RDIRectory:RECursive
driver.MassMemory.DeleteDirectoryRecursive("abc");

Removes the specified directory, including files and subdirectories from the mass memory storage system. If no directory is specified, the command removes the subdirectories of the default directory. The command the entire directory without further prompt or notification.

directory String parameter to specify the directory to be deleted.


Subgroups