Formats for Returned Values: ASCII Format and Binary Format
R&S
®
FSV/A3000 I/Q
Analyzer
283
User Manual 1178.8536.02 ─ 01
A
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
on page 268. The
possible 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.