RIGOL
DG900 Programming Guide
2-117
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]
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 (
) or burst function
) 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.*/
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......