
Remote Commands
R&S
®
FSW
1017
User Manual 1173.9411.02 ─ 19
11.9.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.9.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.
Folgende zeile hat maximale länge
01234567890123456789012345678901234567890123456789012345678901234567890123456789
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'.
11.9.6.5
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\INST\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'.
Managing Settings and Results