4- 184 Keysight B2961A/B2962A SCPI Command Reference, Edition 6
Subsystem Commands
TRACe Subsystem
TRACe Subsystem
For the numeric suffix [c], see “Numeric Suffix” on page 1-8.
:TRACe:CLEar
Clears the trace buffer of the specified channel. This command is effective when the
trace buffer control mode is set to NEV by the
:TRACe:FEED:CONTrol command.
Syntax :TRACe[c]:CLEar
Example :TRAC2:CLE
:TRACe:DATA?
Returns data in the trace buffer. The data placed in the buffer is specified by the
:TRACe:FEED command.
Syntax :TRACe[c]:DATA? [offset[, size]]
Parameter offset Indicates the beginning of the data received. n|CURRent|STARt
(default). Parameter data type is NR1 or CPD.
offset=n specifies the n+1th data. n is an integer, 0 to maximum
(depends on the buffer state).
offset=CURR specifies the present data position.
offset=STAR specifies the top of trace buffer. Same as offset=0.
size Number of data to be received. 1 to maximum (depends on the
buffer state). Parameter data type is NR1. If this parameter is
not specified, all data from offset is returned.
Query response data <newline>
Response data type is NR3. See “Data Output Format” on page 1-12.
Example :TRAC2:DATA? 0,10