Remote Control
R&S
®
FSPN
475
User Manual 1179.4363.02 ─ 01
MMEM:DEL 'C:\R_S\INSTR\USER\Results\Test001.txt'
//Deletes the specified file from the instrument hard disk.
//or
//MMEM:MOVE 'C:\R_S\INSTR\USER\Results\Test001.xml','Q:\TestResults.txt'//
//Moves the file 'Test001.txt' to drive Q:, renames it to 'Testresults.txt'
//and removes it from the instrument hard disk.
MMEM:RDIR 'C:\R_S\INSTR\USER\Results'
//Deletes the directory called 'Results' from drive C:, unless it still
//contains any content.
//-----Disconnecting the network drive---
MMEM:NETW:DISC 'Q:'
//Disconnect drive Q:.
11.8.6.2
Loading Data
MMEM:CDIR?
//Returns the path of the current directory.
//e.g.
C:\R_S\Instr\user\
MMEM:CDIR 'C:\R_S\INSTR\USER\Results'
//Changes the current directory.
MMEM:CAT? 'C:\R_S\INSTR\USER\Results\*.xml'
//or
MMEM:CAT? '*.xml'
//Returns a list of all xml files in the directory 'C:\R_S\INSTR\USER\Results'.
MMEM:CAT:LONG? '*.xml'
//Returns additional information about the xml files in the directory
// 'C:\R_S\INSTR\USER\Results'.
11.8.6.3
Storing Instrument Settings
In this example we will store the instrument settings for the "Spectrum" channel.
INST:SEL 'SPECTRUM'
//Selects measurement channel 'SPECTRUM'.
MEMM:STOR:TYPE CHAN
//Specifies that channel-specific data is to be stored.
MMEM:STOR:STAT 1, 'C:\R_S\Instr\user\Spectrum'
//Stores the channel settings from the 'Spectrum' channel
// to the file 'Spectrum.dfl'.
11.8.6.4
Loading Instrument Settings
In this example we will load the hardware settings from the configuration file
Spectrum.dfl
to a new "Spectrum2" channel.
MEMM:LOAD:TYPE NEW
//Specifies that settings will be loaded to a new channel besides the existing
Managing Settings and Results