User manual

Chapter 2 Command System RIGOL
RSA3000 Programming Guide 2-151
Example
The following command enables the Max Hold.
:SENSe:OBWidth:MAXHold:STATe ON or :SENSe:OBWidth:MAXHold:STATe 1
The following query returns 1.
:SENSe:OBWidth:MAXHold:STATe?
[:SENSe]:OBWidth:PERCent
Syntax
[:SENSe]:OBWidth:PERCent <real>
[:SENSe]:OBWidth:PERCent?
Description
Sets the percentage the signal power takes up in the whole span power (power ratio).
Queries the power ratio of the occupied bandwidth measurement.
Parameter
Name
Type
Range
Default
<real>
Consecutive Real Number
1 to 99.99
99
Remarks
This command is only valid when the occupied bandwidth measurement in GPSA mode is enabled.
The range of <real> is from 1 to 99.99. Therefore, set the range of the corresponding parameter for the
analyzer to "1%-99.99%".
Return Format
The query returns the percentage in scientific notation.
Example
The following command sets the power ratio to 90%.
:SENSe:OBWidth:PERCent 90
The following query returns 9.000000000e+01.
:SENSe:OBWidth:PERCent?
[:SENSe]:POWer[:RF]:ATTenuation
Syntax
[:SENSe]:POWer[:RF]:ATTenuation <real>
[:SENSe]:POWer[:RF]:ATTenuation?
Description
Sets the attenuation of the RF front-end attenuator.
Queries the attenuation of the RF front-end attenuator.
Parameter
Name
Type
Range
Default
<real>
Integer
0 dB to 50 dB
10 dB
Return Format
The query returns the attenuation in integer. The unit is dB.