![Ronde & Schwarz 1304.0004.03 User Manual Download Page 954](http://html1.mh-extra.com/html/ronde-and-schwarz/1304-0004-03/1304-0004-03_user-manual_1484985954.webp)
Remote Commands
R&S
®
FPL1000
954
User Manual 1178.3370.02 ─ 09
//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.9.7.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.9.7.3
Storing Instrument Settings
In this example we will store the instrument settings for the "Spectrum" channel setup.
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.9.7.4
Loading Instrument Settings
In this example we will load the hardware settings from the configuration file
Spectrum.dfl
to a new "Spectrum2" channel setup.
MEMM:LOAD:TYPE NEW
//Specifies that settings will be loaded to a new channel besides the existing
//'Spectrum' channel.
MMEM:SEL:CHAN:HWS ON
//Selects only hardware settings to be loaded.
MMEM:LOAD:STAT 1, 'C:\R_S\Instr\user\Spectrum'
//Loads the channel-specific settings from the file 'C:\R_S\Instr\user\Spectrum.dfl'
Managing Settings and Results