Chapter 16 SCPI Command Reference
Sense commands
280 9102 Handheld Spectrum Analyzer Software version 5.31
:SENSe:TRACe:A:FETCh?
:SENSe:TRACe:B[:STATe]
Syntax
:SENSe:TRACe:A:FETCh? <PredefExpr>
Parameters
PredefExpr is one of the following predefined expressions:
ALL|MINimum|MAXimum|FREQuency|FMINimum|FMAXimum.
Command
There is solely a query form of this command available.
Query
Reads and returns the data of trace A depending on the parameter:
Param ALL returns: <min>,<max>,<freq>,<min>,<max>,<freq>, ... .
Param MIN returns: <min>,<min>, ... .
Param MAX returns: <max>,<max>, ... .
Param FREQ returns: <freq>,<freq>, ... .
Param FMIN returns: <min>,<freq>,<min>,<freq>, ... .
Param FMAX returns: <max>,<freq>,<max>,<freq>, ... .
Example
:SENSe:TRACe:A:FETCh? ALL
Returns the following string:
"1000000.0,-50.3,-45.5,1001000.0,-53.4,-48.2,...".
Syntax
:SENSe:TRACe:B[:STATe] <PredefExpr>
Parameters
PredefExpr is one of the following predefined expressions:
ACTual|MAXHold|MINHold|HOLD|AVG|OFF.
Default is OFF.
Command
Sets the display mode for Trace B.
ACTual shows measurement by measurement.
MAXHold displays the maximum value for each frequency point over all the
measurements.
MINHold shows the minimum value for each frequency point over all the
measurements.
HOLD stops the measurement immediately.
AVG displays, for each frequency point, an average value over all the mea-
surements.
OFF switches Trace B off.
Query
Reads and returns the current settings.
Example
:SENSe:TRACe:B MAXHold
:SENSe:TRACe:B?
Returns the following string: "MAXHold".