Chapter 2 Command System  RIGOL 
DG800 Programming Guide  2-119 
Parameter 
 
Remarks   
  DG800 can receive modulating waveform from the internal or external modulation source. 
  When the internal modulation source is selected, the modulation waveform can be SINusoid, SQUare, 
TRIangle, RAMP, NRAMp, NOISe, or USER. The default is SINusoid. NOISe can be used as the 
modulation waveform but cannot be used as carrier waveform. 
  When the external source is selected, the generator receives the external modulating signal from the 
rear-panel [Sync/Ext Mod/Trig/FSK] connector. At this time, the width deviation 
(
[:SOURce[<n>]][:MOD]:PWM[:DEViation][:WIDTh]) or the duty cycle deviation 
(
[:SOURce[<n>]][:MOD]:PWM[:DEViation]:DCYCle) of the modulated waveform is controlled by the 
±5 V signal level on the connector. For example, if the width deviation is set to 10 s, the +5 V signal 
level corresponds to a 10 s width variation. 
  When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default. 
 
Return Format 
The query returns INT or EXT. 
 
Example   
:SOUR1:PWM:SOUR EXT    /*Sets the PWM modulation source of CH1 to external modulation source.*/ 
:SOUR1:PWM:SOUR?       /*Queries the PWM modulation source of CH1 and the query returns EXT.*/ 
 
 
[:SOURce[<n>]][:MOD]:PWM:STATe 
 
Syntax 
[:SOURce[<n>]][:MOD]:PWM:STATe {ON|1|OFF|0} 
[:SOURce[<n>]][:MOD]:PWM:STATe? 
 
Description   
Enables or disables the PWM modulation function of the specified channel. 
Queries the on/off status of the PWM modulation function of the specified channel. 
 
Parameter 
 
Remarks   
  PWM (Pulse Width Modulation): the carrier pulse width changes with the transient voltage of the 
modulating waveform. 
  The PWM carrier waveform can only be Pulse, and the PWM function can only be enabled when the 
current waveform of the specified channel is Pulse. The different settings of various parameters (e.g. 
frequency, amplitude, offset, pulse width, and duty cycle) of the Pulse waveform will affect the output 
PWM modulated waveform. 
  When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default. 
  If the sweep function (
[:SOURce[<n>]]:SWEep:STATe) or burst function 
(
[:SOURce[<n>]]:BURSt[:STATe]) is currently enabled, it will be disabled automatically when the 
modulation function is enabled. 
 
Return Format 
The query returns ON or OFF.