Keysight B2961A/B2962A SCPI Command Reference, Edition 6 4- 187
Subsystem Commands
TRACe Subsystem
:TRACe:POINts:ACTual?
Returns the number of data in the trace buffer.
Syntax :TRACe[c]:POINts:ACTual?
Query response points <newline>
points returns the number of data in the trace buffer. Response data type is NR1.
Example :TRAC2:POIN:ACT?
:TRACe:STATistic:DATA?
Returns the result of the statistical operation for the data stored in the trace buffer.
Before executing this command, the statistical operation must be specified by the
:TRACe:STATistic:FORMat command.
If the trace buffer is storing raw measurement data for multiple data types, the
statistical operation is performed for all measurement data.
Statistical operation is not available for the TIME and STATus data.
Syntax :TRACe[c]:STATistic:DATA?
Query response response <newline>
response returns the result of the statistical operation. Response data type is NR3.
See
“Data Output Format” on page 1-12.
Example :TRAC:STAT:DATA?
:TRACe:STATistic:FORMat
Selects the statistical operation performed by the :TRACe:STATistic:DATA?
command.
Syntax :TRACe[c]:STATistic:FORMat operation
:TRACe[c]:STATistic:FORMat?
Parameter operation Statistical operation. MINimum|MAXimum|SDEViation|
PKPK|MEAN (default). Parameter data type is CPD.
operation=MEAN sets the operation for obtaining the mean value.