Instructions

RIGOL Chapter 2 Command System
2-118 DG2000 Programming Guide
[: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
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{ON|1|OFF|0}
Bool
ON|1|OFF|0
OFF
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.
Example
Assume that the current waveform of CH1 is pulse,
:SOUR1:PWM:STAT ON /*Enables the PWM modulation function of CH1.*/
:SOUR1:PWM:STAT? /*Queries the on/off status of the PWM modulation function of CH1 and the
query returns ON.*/
:SOURce:MOD
Command List:
[:SOURce[<n>]]:MOD[:STATe]
[:SOURce[<n>]]:MOD:TYPe
[:SOURce[<n>]]:MOD[:STATe]
Syntax
[:SOURce[<n>]]:MOD[:STATe] {ON|1|OFF|0}
[:SOURce[<n>]]:MOD[:STATe]?
Description
Enables or disables the modulation function of the specified channel.
Queries the on/off status of the modulation function of the specified channel.