User manual
RIGOL Chapter 2 Command System
2-120 DG800 Programming Guide
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.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{ON|1|OFF|0}
Bool
ON|1|OFF|0
OFF
Remarks
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.
If the harmonic function is currently enabled (
[:SOURce[<n>]]:HARMonic[:STATe]), the modulation
function cannot be enabled (i.g. the harmonic cannot be modulated).
Return Format
The query returns ON or OFF.
Example
:SOUR1:MOD ON /*Enables the modulation function of CH1.*/
:SOUR1:MOD? /*Queries the on/off status of the modulation function of CH1 and the query returns
ON.*/