Instructions

Chapter 2 Command System RIGOL
DG2000 Programming Guide 2-79
[:SOURce[<n>]]:FUNCtion:PULSe:WIDTh
Syntax
[:SOURce[<n>]]:FUNCtion:PULSe:WIDTh {<seconds>|MINimum|MAXimum}
[:SOURce[<n>]]:FUNCtion:PULSe:WIDTh? [MINimum|MAXimum]
Description
Sets the pulse width of the specified channel.
Queries the pulse width of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<seconds>
Real
16 ns to 999.999 982 118 590 6 ks
500 μs
Remarks
Pulse width is defined as the time from the 50% threshold of a pulse's rising edge to the 50%
threshold of the next falling edge.
The range of the pulse width is limited by the "minimum pulse width" and "pulse period" (for the
ranges of the "minimum pulse width" and "pulse period", please refer to the "Signal Characteristics" of
the "Specifications" in
DG2000 Datasheet
). The actual range of the pulse width is
min
min
2
w
pulse
widthw
P
P
P
P ×
<
Wherein,
width
P
——pulse width;
minw
P
——minimum pulse width;
pulse
P
——pulse period.
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns the pulse width in scientific notation, with 7 effective digits. For example, 1.000000E-02
(the pulse width is 10 ms, i.g. 0.01 s).
Example
:SOUR1:FUNC:PULS:WIDT 0.01 /*Sets the pulse width of CH1 to 10 ms (i.g. 0.01 s).*/
:SOUR1:FUNC:PULS:WIDT? /*Queries the pulse width of CH1 and the query returns
1.000000E-02.*/
[:SOURce[<n>]]:FUNCtion:RAMP:SYMMetry
Syntax
[:SOURce[<n>]]:FUNCtion:RAMP:SYMMetry {<symmetry>|MINimum|MAXimum}
[:SOURce[<n>]]:FUNCtion:RAMP:SYMMetry? [MINimum|MAXimum]
Description
Sets the Ramp symmetry of the specified channel.
Queries the Ramp symmetry of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<symmetry>
Real
0% to 100%
50%
Remarks
Symmetry is defined as the percentage that the rising period of the ramp takes up in the whole period.