Instructions

RIGOL Chapter 2 Command System
2-122 DG2000 Programming Guide
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Example
:SOUR1:PHAS:INIT /*Executes an align phase operation on CH1.*/
:SOUR2:PHAS:SYNC /*Executes an align phase operation on CH2.*/
:SOURce:PULSe
Command List:
[:SOURce[<n>]]:PULSe:DCYCle
[:SOURce[<n>]]:PULSe:TRANsition[:LEADing]
[:SOURce[<n>]]:PULSe:TRANsition:TRAiling
[:SOURce[<n>]]:PULSe:WIDTh
[:SOURce[<n>]]:PULSe:DCYCle
Syntax
[:SOURce[<n>]]:PULSe:DCYCle {<percent>|MINimum|MAXimum}
[:SOURce[<n>]]:PULSe:DCYCle? [MINimum|MAXimum]
Description
Sets the pulse duty cycle of the specified channel.
Queries the pulse duty cycle of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<percent>
Real
0.001% to 99.999%
50%
Remarks
Pulse duty cycle is defined as the percentage that the pulse width
(
[:SOURce[<n>]]:FUNCtion:PULSe:WIDTh) takes up in the whole pulse period
(
[:SOURce[<n>]]:FUNCtion:PULSe:PERiod). Pulse duty cycle and pulse width are correlative.
Modifying either of them (pulse duty cycle or pulse width) will automatically affect the other.
The range of the pulse duty cycle 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 duty cycle is
)21(
100100
minmin pulsewdcyclepulsew
P
P
PPP ÷××<÷×
Wherein,
dcycle
P
——pulse duty cycle;
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 duty cycle in scientific notation, with 7 effective digits. For example,
4.500000E+01 (the pulse duty cycle is 45%).
Example
:SOUR1:PULS:DCYC 45 /*Sets the pulse duty cycle of CH1 to 45%.*/
:SOUR1:PULS:DCYC? /*Queries the pulse duty cycle of CH1 and the query returns 4.500000E+01.*/