
Command Reference
R&S
®
ZNL/ZNLE
541
User Manual 1178.5966.02 ─ 07
MMEM:CAT:LONG? '*.xml'
//Returns additional information about the xml files in the directory 'C:\R_S\INSTR\USER\Results'.
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'.
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'
//to a new channel. The new channel is named 'Spectrum2' to avoid a naming conflict
//with the existing 'Spectrum' channel.
INST:REN 'Spectrum2','Spectrum3'
//Renames the loaded channel to 'Spectrum3'.
Printing to a File
HCOP:DEST 'MMEM'
//Prints the data to a file.
HCOP:DEV:LANG BMP
//Selects bmp as the file format.
MMEM:NAME 'C:\R_S\INSTR\USER\Screenshot.bmp'
//Selects the file name for the printout.
HCOP:ITEM:ALL
//Prints all screen elements
HCOP:ITEM:WIND:TEXT 'ACLRResults'
//Adds a comment to the printout.
HCOP
//Stores the printout in a file called 'Screenshot.bmp'.
HCOP:NEXT
//Stores the printout in a file called 'Screenshot_001.bmp'.
Printing on a Printer
HCOP:DEST2 'SYST:COMM:PRIN'
//Prints the data on a printer.
Common Instrument Commands
www.allice.de
Allice Messtechnik GmbH