Instructions

RIGOL Chapter 2 Command System
2-76 DG2000 Programming Guide
:SOUR1:FUNC:PRBS:DATA? /*Queries the PRBS data type of CH1 and the query returns PN9.*/
[:SOURce[<n>]]:FUNCtion:PULSe:DCYCle
Syntax
[:SOURce[<n>]]:FUNCtion:PULSe:DCYCle {<percent>|MINimum|MAXimum}
[:SOURce[<n>]]:FUNCtion: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>
Discrete
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).
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
(100
100
min
min pulse
w
dcyclepulse
w
PP
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:FUNC:PULS:DCYC 45 /*Sets the pulse duty cycle of CH1 to 45%.*/
:SOUR1:FUNC:PULS:DCYC? /*Queries the pulse duty cycle of CH1 and the query returns
4.500000E+01.*/
[:SOURce[<n>]]:FUNCtion:PULSe:PERiod
Syntax
[:SOURce[<n>]]:FUNCtion:PULSe:PERiod {<seconds>|MINimum|MAXimum}
[:SOURce[<n>]]:FUNCtion:PULSe:PERiod? [MINimum|MAXimum]
Description
Sets the pulse period of the specified channel.
Queries the pulse period of the specified channel.