Remote Control
R&S
®
RTM20xx
458
User Manual 1317.4726.02 ─ 01
Parameters:
<PositiveTransition> Bit mask in decimal representation
Range:
1 to 65535
Increment: 1
Example:
STATus:QUEStionable:MASK:PTRansition 24
Set bits no. 3 and 4 of the STATus:QUEStionable:MASK:PTRan-
sition register part:
24 = 8 + 16 = 2
3
+ 2
4
15.3 Programming Examples
15.3.1 Data Export
15.3.1.1
Reading Waveform Data from Memory
Set data format and sample range, read channel header and data.
Command description in
chapter 15.2.3, "General Remote Settings and Queries"
chapter 15.2.4.5, "Waveform Data"
* Connected to: TCPIP0::192.168.1.1::inst0::INSTR
SYST:ERR?
<-- 0,"No error"
*IDN?
<-- Rohde&Schwarz,RTM1052,1305.0008K52/101489,04.502
*RST
CHAN:TYPE HRES // Set high resolution mode (16 bit data)
ACQ:WRAT MSAM // Set maximum waveform rate
TIM:SCAL 1E-7 // Set time base
FORM REAL // Set REAL data format
FORM:BORD LSBF // Set little endian byte order
CHAN:DATA:POIN DMAX // Set sample range to memory data in displayed time range
SING;*OPC? // Start single acquisition
<-- 1
CHAN:DATA:HEAD? // Read header
<-- -4.9980E-07,5.0000E-07,5000,1 // Xstart, Xstop, record length in samples
CHAN:DATA? // Read channel data
<-- #520000>??[>??[>??[>??[>??[>??... // Binary block data,
// 4-byte floating point number/sample
15.3.1.2
Reading Waveform Data in Unsigned Integer Format
Read the channel header, the waveform conversion data, set the UINT binary data format
and read the channel data.
Programming Examples