Remote Commands
R&S
®
FSVA3000/ R&S
®
FSV3000
1088
User Manual 1178.8520.02 ─ 01
14.9.6.1
Storing Data
MMEM:MSIS 'C:'
//Selects drive C: as the default storage device.
//-----Connecting a network drive--------
MMEM:NETW:USED?
//Returns a list of all drives in use in the network.
MMEM:NETW:UNUS?
//Returns a list of free drive names in the network.
MMEM:NETW:MAP 'Q:','Server\ACLRTest'
//Maps drive Q: to the directory 'Server\ACLRTest'
//-----Saving data on the instrument-----
MMEM:MDIR 'C:\R_S\INSTR\USER\Results'
//Creates a directory called 'Results' on drive C:
MMEM:NAME 'C:\R_S\INSTR\USER\Results\Test001.txt'
//Defines a file called 'Test001.txt'
MMEM:COMM 'ACLR test results'
//Creates a comment for the settings to be displayed in gui.
MMEM:DATA 'Test001.txt',#212FileContents
//Creates the file 'Test001.txt'and writes 12 characters to it
//-----Copying the data to another location---
MMEM:COPY 'C:\R_S\INSTR\USER\Results\Test001.txt','Q:'
//Copies the specified file to network drive Q:.
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:.
14.9.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'
Managing Settings and Results