Remote control commands
R&S
®
RTE
1061User Manual 1326.1032.02 ─ 20
Command description in: Chapter 18.15, "Search", on page 1351.
The usage of asynchronous commands is described in www.rohde-schwarz.com/rc-
via-scpi, chapter "Command Sequence and Synchronization".
SEAR:ADD 'MySearch' // Create a new search
SEAR:TRIG:WIDT:STAT 'MySearch',1 // Configure search type
SEAR:SOUR 'MySearch',M1 // Configure search source - here Math1
SEAR:TRIG:WIDT:RANG 'MySearch',WITH // Configure search parameters
SEAR:TRIG:WIDT:WIDT 'MySearch',5e-4 // Configure search parameters
SEAR:TRIG:WIDT:DELT 'MySearch',5e-6 // Configure search parameters
SEAR:RES:LIM 'MySearch',1 // Set number of result lines in table to 1
*OPC?
SEAR:ALL 'MySearch'; // Initiate search for all events, asynchr. command
18.3.5 Data management
● Saving a screenshot to file..................................................................................1061
● Exporting waveform data to file...........................................................................1061
● Exporting measurement results to file.................................................................1067
18.3.5.1 Saving a screenshot to file
Saves three display images in png format to the files Print.png, Print_001.png,
and Print_002.png in the directory C:\Temp. To get a correct screenshot, turn on
the display first.
Command description in: Chapter 18.16.10, "Screenshots", on page 1412.
In the following example *OPC prevents overlapping execution of asynchronous com-
mands.
SYST:DISP:UPD ON
HCOP:DEST 'MMEM'
HCOP:DEV:LANG PNG
*OPC?
MMEM:NAME 'C:\Temp\Print.png'
HCOP:IMMediate; *OPC?
HCOP:IMM:NEXT; *OPC?
HCOP:IMM:NEXT; *OPC?
18.3.5.2 Exporting waveform data to file
Command description in:
●
Chapter 18.16.5, "Waveform data export to file", on page 1399
●
Chapter 18.16.1, "Instrument settings", on page 1390
●
Chapter 18.10.4, "History", on page 1231
Programming examples