EasyManua.ls Logo

Rohde & Schwarz RTM2032 - Search

Rohde & Schwarz RTM2032
499 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote Control
R&S
®
RTM20xx
460User Manual 1317.4726.02 ─ 01
Sample value
Y
n
= yOrigin + (yIncrement * byteValue
n
)
The format UINT,8 has the data range 0 to 255. The voltage value for byte value 128 is:
Y
n
=
2.55E
-2
+ (2E
4
* 128) = 0.0001
The center of the display at position 0 div always has the byte value 127.5. The corre-
sponding voltage value is:
Y
n
=
2.55E
-2
+ (2E
4
* 127.5) = 0
8-bit and 16-bit data
At the end of the above example, the 8-bit waveform is read as 16-bit data, for example,
0xFF is read 0xFF00, or 0x1A is read 0x1A00. The yOrigin value is the same in both
cases, but the yIncrement differs.
8-bit data 16-bit data Result
yIncrement * byteValue
n
2e
-4
* 128 7,8125E
-7
* 32768
0,0256 V
2e
-4
* 125 7,8125E
-7
* 32000
0,025 V
In the reverse case, if a 16-bit waveform is read with 8-bit data format, data precision may
be reduced. Data values ar truncated, and only the more significiant bits remain. For
example, the 16-bit data 0xabcd is read 0xab in 8-bit format, and cd is lost.
15.3.2 Search
15.3.2.1 Searching for a Pulse of Specified Width
Search for positive pulses with pulse width 12 ± 10 µs (2 µs to 22 µs).
Command description in: chapter 15.2.12, "Search", on page 358.
SEAR:STAT ON // Turn on search
SEAR:COND WIDTH // Select search condition
SEAR:SOUR CH2 // Configure search source
SEAR:TRIG:WIDT:POL POS // Configure search parameters: Polarity
SEAR:TRIG:WIDT:RANG WITH // Configure search parameters: Condition = within
SEAR:TRIG:WIDT:WIDT 12e-6 // Configure search parameters: Pulse width
SEAR:TRIG:WIDT:DELT 10e-6 // Configure search parameters: +/- delta
SEAR:RESD:SHOW ON // Show result table
SEAR:RCO? // Get number of search events found
<-- 1.400E+01
SEAR:RES:ALL? // Get all search results
<-- 1,5.201200e-06,0,WIDTH,POSITIVE,1.220160e-05,2,4.120040e-05,0,WIDTH,
POSITIVE,3.076800e-06,3,4.732480e-05,0,WIDTH,POSITIVE,9.127200e-06,4,
6.499960e-05,0,WIDTH,POSITIVE,1.835160e-05,5,8.634920e-05,0,WIDTH,POSITIVE,
Programming Examples

Table of Contents

Related product manuals