User manual

Remote Control Commands
R&S
®
RTB2000
369User Manual 1333.1611.02 ─ 06
Parameters:
<DataFormat> ASCii | REAL | UINTeger
ASCii
List of values, for example, 1.23,1.22,1.24,..
<Accuracy> is 0 which means that the instrument selects the
number of digits to be returned. The query returns ASC,0.
REAL
Binary format. <Accuracy> is 32. The query returns REAL,32.
The data is stored as binary data (Definite Length Block Data
according to IEEE 488.2). Each waveform value is formatted in
32 Bit IEEE 754 Floating-Point-Format.
The schema of the result string is as follows:
#41024<value1><value2>…<value n> with:
#4 = number of digits of the following number (= 4 in the exam-
ple)
1024 = number of following data bytes (= 1024 in the example)
<value> = 4-byte floating point values
UINTeger
Unsigned integer format, binary values with length 8 bit (1 byte
per sample), 16 bit (2 bytes per sample) or 32 bit (4 bytes per
sample): UINT,8 or UINT,16 or UINT,32.
The data range for UINT,8 is 0 to 255, the data range for
UINT,16 is 0 to 65.535 and for UINT,32 is 2
32
- 1.
The schema of the result string is the same as for REAL format.
For data conversion, you need the results of following com-
mands:
...:DATA:XORigin?; ...:DATA:XINCrement?; ..:DATA:
Yorigin?; ...:DATA:YINCrement?; ...:DATA:
YRESolution?. They are described below in this chapter. The
way of data conversion is described in Chapter 15.2.1.4, "Read-
ing Waveform Data in Unsigned Integer Format", on page 259.
32 bit data is relevant for average waveforms if averaging 512 or
1024 waveforms. The resulting data is 17 bits long (512 wave-
forms) or 18 bit (1024 waveforms).
*RST:
ASC
<Accuracy> 0 | 8 | 16 | 32
Length of a data value in bit
0 - for ASC only
32 - for REAL
8 | 16 | 32 - for UINT
*RST: 0
Example: Set the ASCII data format:
FORM ASC
Example: Query for data format:
FORM?
-> ASC,0
Documenting Results