Instructions

SCPI Command Set
52
TRACe Commands
:TRACe[:DATA]?
Description
Returns the trace data for the selected trace.
Query Syntax
:TRACe[:DATA]? TRACE1|TRACE2|TRACE3|TRACE4|TRACE5
Parameter
TRACE1
TRACE2
TRACE3
TRACE4
TRACE5
The selected trace.
Return parameter
<data>
Start with #9, the following 9 digits specify the length of the data.
Trace data is separated by a comma "," and each data length is
fixed at 7 bits.
Example
:TRAC? TRACE1
returns
#9000004807,64.7301,-68.163, …, -36.195,-57.951
:TRACe:SOCKdata?
Description
Returns the trace data for the selected trace as a stream of bytes.
Query Syntax
:TRACe[:DATA]? TRACE1|TRACE2|TRACE3|TRACE4|TRACE5
Parameter
TRACE1
TRACE2
TRACE3
TRACE4
TRACE5
The selected trace.
Return parameter
<data>
Byte stream of trace data, start with #9, the following 9 digits
specify the length of the data in bytes; and each data length is
fixed at 4 bytes.
Example
:TRAC:SOCK? TRACE1
returns
#9000002406\C1\13\F5z\C1\13\EF\F0\C1\14\18\B5\C1\13\FD\9E\C1\13\F
7(\C1\14\04L\C1\13\F1\AD\C1\14\15\81\C1\13\FA\17\C1\13\F9\D1\C1\1
3\FA\F5\C1\13\F5\BF\...
:TRACe<n>:MODE
Description
Sets or queries the operation mode of the selected trace.