Instructions

Table Of Contents
Chapter 2 Command System RIGOL
RSA5000 Programming Guide 2-145
[:SENSe]:HDISt:AVERage[:STATe]
Syntax
[:SENSe]:HDISt:AVERage[:STATe] OFF|ON|0|1
[:SENSe]:HDISt:AVERage[:STATe]?
Description
Enables or disables the average measurement function of the harmonic distortion measurement.
Queries the status of the average measurement function of the harmonic distortion measurement.
Parameter
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
OFF|0
Remarks
This command is only valid when the harmonic distortion measurement in GPSA mode is enabled.
Return Format
The query returns 0 or 1.
Example
The following command enables the average measurement function.
:SENSe:HDISt:AVERage:STATe ON or :SENSe:HDISt:AVERage:STATe 1
The following query returns 1.
:SENSe:HDISt:AVERage:STATe?
[:SENSe]:HDISt:AVERage:TCONtrol
Syntax
[:SENSe]:HDISt:AVERage:TCONtrol EXPonential|REPeat
[:SENSe]:HDISt:AVERage:TCONtrol?
Description
Sets the average mode of the harmonic distortion measurement.
Queries the average mode of the harmonic distortion measurement.
Parameter
Name
Type
Range
Default
—— Keyword EXPonential|REPeat EXPonential
Remarks
EXPonential: indicates the exponential average.
REPeat: indicates the repeat average.
When "EXPonential" is selected, the result is the exponential average of the measurement results obtained
in the past N times (N is specified in
[:SENSe]:HDISt:AVERage:COUNt ).
When "REPeat" is selected, the result is the arithmetic average of the measurement results obtained in the
past N times (N is specified in
[:SENSe]:HDISt:AVERage:COUNt).
This command is only valid when the harmonic distortion measurement in GPSA mode is enabled.
Return Format
The query returns EXP or REP.