Instructions
RIGOL Chapter 2 Command System
2-116 DG2000 Programming Guide
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 width deviation in scientific notation, with 7 effective digits. For example,
1.000000E-04 (the PWM width deviation is 100 us, (i.g. 0.0001 s)).
Example
:SOUR1:PWM 0.0001 /*Sets the PWM width deviation is 100 μs, (i.g. 0.0001 s).*/
:SOUR1:PWM? /*Queries the PWM width deviation of CH1 and the query returns
1.000000E-04.*/
[:SOURce[<n>]][:MOD]:PWM:INTernal:FREQuency
Syntax
[:SOURce[<n>]][:MOD]:PWM:INTernal:FREQuency {<frequency>|MINimum|MAXimum}
[:SOURce[<n>]][:MOD]:PWM:INTernal:FREQuency? [MINimum|MAXimum]
Description
Sets the PWM modulation frequency of the specified channel.
Queries the PWM modulation frequency of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<frequency>
Real
2 mHz to 1 MHz
100 Hz
Remarks
This command is only applicable to the internal modulation source
(
[:SOURce[<n>]][:MOD]:PWM:SOURce).
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns the PWM modulation frequency in scientific notation, with 7 effective digits. For example,
1.500000E+02 (the PWM modulation frequency is 150 Hz).
Example
:SOUR1:PWM:INT:FREQ 150 /*Sets the PWM modulation frequency of CH1 to 150 Hz.*/
:SOUR1:PWM:INT:FREQ? /*Queries the PWM modulation frequency of CH1 and the query returns
1.500000E+02.*/
[:SOURce[<n>]][:MOD]:PWM:INTernal:FUNCtion
Syntax
[:SOURce[<n>]][:MOD]:PWM:INTernal:FUNCtion
{SINusoid|SQUare|TRIangle|RAMP|NRAMp|NOISe|USER}
[:SOURce[<n>]][:MOD]:PWM:INTernal:FUNCtion?
Description
Sets the PWM modulation waveform of the specified channel.
Queries the PWM modulation waveform of the specified channel.