RIGOL
VSA Programming Guide
2-79
:TRACe Command
Command List:
:TRACe<n>[:DATA]?
Syntax
:TRACe<n>[:DATA]?
Description
Queries the log data of the specified trace.
Parameter
Name
Type
Range
Default
<n>
Discrete
1|2|3|4
--
Remarks
The format of the user data is set by the
Return Format
The query returns the data of the specified trace. The format of the returned data is determined by the
Example
[1]
1.
When the data format is ASCii,
The following query returns data of Trace 1, that is, -1.01, -7.01, -7.01,
-6.01, -7.01, ……
:TRACe1:DATA?
2.
When the data format is REAL[,32],
The following query returns data of Trace 2, that is,
#90000032041111111111111111111111111110011111111111111111111111111111011101111111
11111111111111111111010011……
Note: The PC software converts the returned binary data to ASCII format. Therefore, if you use the PC
software to perform the query command, the returned value is displayed as a messy code.
:TRACe2:DATA?
Note
[1]
: The two examples in this page take sending 801 points as an example, and the query returns 801
points. Due to the limited space, the subsequent data are omitted. In addition, the returned values of the
above examples are obtained when the system stops sweeping the trace.