Remote control commands
R&S
®
RTP
1132User Manual 1337.9952.02 ─ 12
22.3.3 Mask testing
22.3.3.1 Creating a user mask
Creates new user mask "MyMask" with one inner segment, and turns on the mask test.
Command description in: Chapter 22.14, "Mask testing", on page 1459.
In the following example *OPC prevents overlapping execution of asynchronous com-
mands.
MTEST:ADD 'MyMask'
MTEST:SEGM:ADD 'MyMask'
MTEST:SEGM:POIN:ADD 'MyMask', 0
MTEST:SEGM:POIN:X 'MyMask', 0, 0, -20e-9
MTEST:SEGM:POIN:Y 'MyMask', 0, 0, -0.1
MTEST:SEGM:POIN:ADD 'MyMask', 0
MTEST:SEGM:POIN:X 'MyMask', 0, 1, -20e-9
MTEST:SEGM:POIN:Y 'MyMask', 0, 1, 0.1
MTEST:SEGM:POIN:ADD 'MyMask', 0
MTEST:SEGM:POIN:X 'MyMask', 0, 2, 20e-9
MTEST:SEGM:POIN:Y 'MyMask', 0, 2, 0.1
MTEST:SEGM:POIN:ADD 'MyMask', 0
MTEST:SEGM:POIN:X 'MyMask', 0, 3, 20e-9
MTEST:SEGM:POIN:Y 'MyMask', 0, 3, -0.1
MTEST:SEGM:REG 'MyMask', 0, INNER
MTEST:STAT 'MyMask', ON
*OPC?
22.3.4 Search
22.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 22.15, "Search", on page 1480.
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
Programming examples