Annex: Reference
R&S
®
FSWP
152User Manual 1177.5856.02 ─ 07
Annex
A Annex: Reference
A.1 Formats for Returned Values: ASCII Format and Binary Format......................... 152
A.2 Reference: Format Description for I/Q Data Files.................................................. 152
A.3 I/Q Data File Format (iq-tar)......................................................................................154
A.3.1 I/Q Parameter XML File Specification.........................................................................155
A.3.2 I/Q Data Binary File.....................................................................................................158
A.1 Formats for Returned Values: ASCII Format and
Binary Format
When trace data is retrieved using the TRAC:DATA or TRAC:IQ:DATA command, the
data is returned in the format defined using the FORMat[:DATA] on page 98. The pos-
sible formats are described here.
●
ASCII Format (FORMat ASCII):
The data is stored as a list of comma-separated values (CSV) of the measured val-
ues in floating point format.
●
Binary Format (FORMat REAL,32):
The data is stored as binary data (Definite Length Block Data according to IEEE
488.2), each measurement value being 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 (= 4 in the example) of the following number of data bytes
1024 Number of following data bytes (= 1024 in the example)
<Value> 4-byte floating point value
Reading out data in binary format is quicker than in ASCII format. Thus, binary format
is recommended for large amounts of data.
A.2 Reference: Format Description for I/Q Data Files
This section describes how I/Q data is transferred to the memory during remote control
(see TRACe:IQ:DATA:FORMat command).
Reference: Format Description for I/Q Data Files