Remote control commands
R&S
®
SMA100B
460User Manual 1178.3834.02 ─ 09
// Query the current default directory for mass storage,
// change the directory to the default user directory "/var/user"
// and read out the files in it
MMEMory:CDIRectory?
// "/var/user/temp"
MMEMory:CDIRectory
MMEMory:CDIRectory?
// "/var/user/"
MMEMory:CATalog?
// 1282630,8102817792,".,DIR,4096","..,DIR,4096","Log,DIR,4096",
// "settings.savrcltxt,BIN,16949","temp,DIR,4096","test,DIR,4096",
// "list.lsw,BIN,1245201"
// the directory "/var/user" contains the predefined directory "Log",
// the subdirectories "test" and "temp"
// as well as the files "settings.savrcltxt" and "list.lsw"
// query only the subdirectories of the current or specified directory
MMEMory:DCATalog? "/var/user"
// ".","..","Log","temp","test"
// query only number of subdirectories in the current or specified directory
MMEMory:DCATalog:LENGth? "/var/user"
// 5
// query number of files in the current or specified directory
MMEMory:CATalog:LENGth? "/var/user"
// 7
// Create a new directory for mass memory storage in the specified directory
MMEMory:MDIRectory "/var/user/new"
// Copy the file "settings.savrcltxt" into the new directory
MMEMory:COPY "/var/user/settings.savrcltxt","/var/user/new/settings.savrcltxt"
// Rename the file "settings.savrcltxt" into the new directory
// and read out the files in this specific directory
MMEMory:CDIRectory "/var/user/new"
MMEMory:MOVE "settings.savrcltxt","settings_new.savrcltxt"
MMEMory:CATalog? "/var/user/new"
// 25141,8102789120,".,DIR,4096","..,DIR,4096","settings_new.savrcltxt,BIN,16949"
// Delete the "test" directory
MMEMory:RDIRectory "/var/user/test"
Example: Working with files in the volatile memory
This example shows how to work with files in the /var/volatile directory.
// Change the default directory for mass storage,
// read out the files, load and play a file with the ARB
MMEMory subsystem