Chapter 2 Command System  RIGOL 
DSA800E Programming Guide  2-119 
[:SENSe]:DEMod 
 
Syntax 
[:SENSe]:DEMod AM|FM|OFF  
[:SENSe]:DEMod? 
 
Description
 
Set the demodulation type or disable the demodulation. 
Query the demodulation type.
 
 
Parameter
 
 
Explanation
 
AM: amplitude modulation 
FM: frequency modulation 
OFF: off 
When AM or FM is selected, the spectrum analyzer enables the demodulation function automatically. At this 
point, the [:SENSe]:DEMod:STATe
? command returns 1. 
When OFF is selected (equivalent to the 
[:SENSe]:DEMod:STATe OFF|0 command), the spectrum analyzer 
disables the demodulation function. At this point, the command 
[:SENSe]:DEMod:STATe? returns 0. 
 
Return Format 
The query returns AM, FM or OFF.
 
 
Example
 
The command below sets the demodulation type to AM. 
:SENSe:DEMod AM 
 
The query below returns AM. 
:SENSe:DEMod? 
 
 
 
[:SENSe]:DEMod:GAIN:AUTO 
 
Syntax 
[:SENSe]:DEMod:GAIN:AUTO OFF|ON|0|1 
[:SENSe]:DEMod:GAIN:AUTO? 
 
Description
 
Enable or disable the auto setting mode of the signal gain. 
Query the status of the auto setting mode of the signal gain. 
 
Parameter 
 
Explanation 
When the demodulation function is enabled (namely AM or FM is selected), this command is valid. 
 
Return Format 
The query returns 0 or 1.