Instructions
Chapter 2 Command System  RIGOL 
DG2000 Programming Guide  2-115 
[:SOURce[<n>]][:MOD]:PWM[:DEViation]:DCYCle 
Syntax 
[:SOURce[<n>]][:MOD]:PWM[:DEViation]:DCYCle {<percent>|MINimum|MAXimum} 
[:SOURce[<n>]][:MOD]:PWM[:DEViation]:DCYCle? [MINimum|MAXimum] 
Description 
Sets the PWM duty cycle deviation of the specified channel. 
Queries the PWM duty cycle deviation of the specified channel. 
Parameter 
Name 
Type 
Range 
Default 
[<n>] 
Discrete 
1|2 
1 
<percent> 
Real 
Refer to "Remarks". 
20% 
Remarks 
  Duty cycle deviation represents the variation of the modulated waveform duty cycle from the original 
pulse duty cycle, expressed in %. 
  When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default. 
  Duty cycle deviation is limited by the minimum duty cycle and current edge time setting. The duty cycle 
deviation cannot exceed the current pulse duty cycle. 
  If "Duty" is currently selected in the pulse of the specified channel, "Duty Dev" is displayed in the 
interface when the PWM modulation function is enabled; if "Width" is currently selected in the pulse of 
the specified channel, "Width Dev" is displayed in the interface when the PWM modulation function is 
enabled. 
Return Format 
The query returns the PWM duty cycle deviation in scientific notation, with 7 effective digits. For example, 
1.500000E+01 (the PWM duty cycle deviation is 15%). 
Example 
:SOUR1:PWM:DCYC 15    /*Sets the PWM duty cycle deviation of CH1 to 15%.*/ 
:SOUR1:PWM:DCYC?        /*Queries the PWM duty cycle deviation of CH1 and the query returns 
1.500000E+01.*/ 
[:SOURce[<n>]][:MOD]:PWM[:DEViation][:WIDTh] 
Syntax 
[:SOURce[<n>]][:MOD]:PWM[:DEViation][:WIDTh] {<deviation>|MINimum|MAXimum} 
[:SOURce[<n>]][:MOD]:PWM[:DEViation][:WIDTh]? [MINimum|MAXimum] 
Description   
Sets the PWM width deviation of the specified channel. 
Queries the PWM width deviation of the specified channel. 
Parameter 
Name 
Type 
Range 
Default 
[<n>] 
Discrete 
1|2 
1 
<deviation> 
Real 
Refer to "Remarks". 
200 μs 
Remarks 
  Width deviation represents the variation of the modulated waveform pulse width from the original 
pulse width. 
  When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default. 
  The width deviation is limited by the minimum pulse width and current edge time setting. The width 
deviation cannot exceed the current pulse width. 










