User manual

RIGOL Chapter 2 Command System
2-152 RSA3000 Programming Guide
Example
The following command sets the attenuation to 20 dB.
:SENSe:POWer:RF:ATTenuation 20
The following query returns 20.
:SENSe:POWer:RF:ATTenuation?
[:SENSe]:POWer[:RF]:ATTenuation:AUTO
Syntax
[:SENSe]:POWer[:RF]:ATTenuation:AUTO OFF|ON|0|1
[:SENSe]:POWer[:RF]:ATTenuation:AUTO?
Description
Enables or disables the auto setting mode of the input attenuation.
Queries the status of the auto setting mode of the input attenuation.
Parameter
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
ON|1
Return Format
The query returns 0 or 1.
Example
The following command disables the auto setting mode of the input attenuation.
:SENSe:POWer:RF:ATTenuation:AUTO OFF or :SENSe:POWer:RF:ATTenuation:AUTO 0
The following query returns 0.
:SENSe:POWer:RF:ATTenuation:AUTO?
[:SENSe]:POWer[:RF]:GAIN[:STATe]
Syntax
[:SENSe]:POWer[:RF]:GAIN[:STATe] OFF|ON|0|1
[:SENSe]:POWer[:RF]:GAIN[:STATe]?
Description
Enable or disable the preamplifier.
Queries the status of the preamplifier.
Parameter
Name
Type
Range
Default
——
Bool
OFF|ON|0|1
OFF|0
Return Format
The query returns 0 or 1.
Example
The following command enables the preamplifier.
:SENSe:POWer:RF:GAIN:STATe ON or :SENSe:POWer:RF:GAIN:STATe 1
The following query returns 1.
:SENSe:POWer:RF:GAIN:STATe?