RIGOL
DG900 Programming Guide
2-121
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:TRANsition[:LEADing]
[:SOURce[<n>]]:PULSe:TRANsition:TRAiling
[: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
DG900 Datasheet
). The actual range of the pulse duty cycle is
)
2
1
(
100
100
min
min
pulse
w
dcycle
pulse
w
P
P
P
P
P
÷
×
−
×
<
≤
÷
×
Wherein,
dcycle
P
——pulse duty cycle;
min
w
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.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.01.*/
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: ......