Instructions

Table Of Contents
Chapter 2 Command System RIGOL
RSA5000 Programming Guide 2-151
Example
The following command sets the span to 1 MHz.
:SENSe:OBWidth:FREQuency:SPAN 1000000
The following query returns 1.000000000e+06.
:SENSe:OBWidth:FREQuency:SPAN?
[:SENSe]:OBWidth:MAXHold:STATe
Syntax
[:SENSe]:OBWidth:MAXHold:STATe OFF|ON|0|1
[:SENSe]:OBWidth:MAXHold:STATe?
Description
Enables or disables Max Hold of the occupied bandwidth measurement.
Queries the Max Hold state of the occupied bandwidth measurement.
Parameter
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
OFF|0
Remarks
This command is only valid when the occupied bandwidth measurement in GPSA mode is enabled.
When Max Hold is enabled, each measurement result is compared with the previous result, and then display
whichever is the maximum.
When Max Hold is disabled, the current measurement result is displayed.
Max Hold and average measurement mode are mutually exclusive. When Max Hold is enabled, the average
measurement mode will be automatically disabled.
Return Format
The query returns 0 or 1.
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