Remote control commands
R&S
®
RTO6
1266User Manual 1801.6687.02 ─ 05
24.3.4 Search
● Searching for a pulse of specified width..............................................................
1266
24.3.4.1
Searching for a pulse of specified width
In the following example *OPC prevents overlapping execution of asynchronous com-
mands.
Search for positive pulses with pulse width 12 ± 10 μs (2 μs to 22 μs).
Command description in: Chapter 24.15, "Search", on page 1603.
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
24.3.5 Data management
● Saving a screenshot to file..................................................................................1266
● Exporting waveform data to file...........................................................................1267
● Exporting measurement results to file.................................................................1273
24.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 24.16.8, "Screenshots", on page 1660.
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?
Programming examples