Rohde & Schwarz RTB2002 Oscilloscope

User Manual - Page 251

For RTB2002.

PDF File Manual, 510 pages, Read Online | Download pdf file

RTB2002 photo
Loading ...
Loading ...
Loading ...
Remote Control Commands
R&S
®
RTB2000
243User Manual 1333.1611.02 ─ 03
MMEM:CDIR "/INT/SETTINGS"
MMEM:LOAD:STAT 1,"ZOOM_USB.SET" // Load settings
15.2.1.3 Reading Waveform Data in Real Format
Set data format and sample range, read channel header and data.
Command description in
Chapter 15.9.1, "Transfer of Waveform Data", on page 338.
* 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)
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.2.1.4 Reading Waveform Data in Unsigned Integer Format
Read the channel header, the waveform conversion data, set the UINT binary data for-
mat and read the channel data.
Command description in:
Chapter 15.9.1, "Transfer of Waveform Data", on page 338.
*RST
TIM:SCAL 1E-7
CHAN:DATA:POIN DMAX // Set data range
SING;*OPC?
<-- 1
CHAN:DATA:HEAD? // Read header
<-- -4.9980E-07,5.0000E-07,5000,1 // Xstart, Xstop, record length in samples
CHAN:DATA:YRES? // Read vertical resolution
<-- 8
CHAN:DATA:YOR? // Read voltage value for binary value 0
<-- -2.549999943E-2
CHAN:DATA:XOR? // Read time of the first sample
<-- -4.998000058E-7
CHAN:DATA:XINC? // Read time between two adjacent samples
<-- 2.000000023E-10
Programming Examples
Loading ...
Loading ...
Loading ...