Source[]][:mod]:pwm[:deviation][:width – RIGOL DG1000Z Series User Manual
Page 158

RIGOL
2-146
DG1000Z Programming Guide
[:SOURce[
Syntax
[:SOURce[
{
[:SOURce[
Description
Set the PWM width deviation of the specified channel.
Query the PWM width deviation of the specified channel.
Parameter
Name
Type
Range
Default
[
Discrete
1|2
1
Real
Refer to the “Explanation”
200us
Explanation
Width deviation represents the variation of the modulated waveform pulse
width relative to the original pulse width.
When [:SOURce[
parameters of CH1 by default.
The width deviation is limited by the minimum pulse width and current edge
time. The width deviation cannot exceed the current pulse width.
If the “Duty Cycle” 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 the “Pulse 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 100us, namely
0.0001s).
Example
:SOUR1:PWM 0.0001 /*Set the PWM width deviation of CH1 to 100us (namely
0.0001s)*/
:SOUR1:PWM? /*Query the PWM width deviation of CH1 and the query
returns 1.000000E-04*/
Related
Command