Source[]]:function:square:dcycle, Source[]]:function:square:period – RIGOL DG1000Z Series User Manual
Page 121

RIGOL
DG1000Z Programming Guide
2-109
[:SOURce[
Syntax
[:SOURce[
[:SOURce[
Description
Set the square duty cycle of the specified channel.
Query the square duty cycle of the specified channel.
Parameter
Name
Type
Range
Default
[
Discrete
1|2
1
Real
Limited by the waveform
frequency
50%
Explanation
Duty cycle is defined as the percentage that the duration of the high level of the
square waveform takes up in the period.
When [:SOURce[
parameters of CH1 by default.
Return Format
The query returns the square duty cycle in scientific notation with 7 effective digits,
for example, 4.500000E+01 (the square duty cycle is 45%).
Example
:SOUR1:FUNC:SQU:DCYC 45 /*Set the square duty cycle of CH1 to 45%*/
:SOUR1:FUNC:SQU:DCYC? /*Query the square duty cycle of CH1 and the
query returns 4.500000E+01*/
[:SOURce[
Syntax
[:SOURce[
[:SOURce[
Description
Set the square period of the specified channel.
Query the square period of the specified channel.
Parameter
Name
Type
Range
Default
[
Discrete
1|2
1
Real
40ns to 1Ms (DG1062Z)
66.6ns to 1Ms (DG1032Z)
1ms
Explanation
When [:SOURce[
parameters of CH1 by default.
When the waveform type of the specified channel is changed
), the instrument still uses the period if the period is
valid for the new waveform type; the instrument displays prompt message and
sets the period to the period lower limit of the new waveform type
automatically if the period is invalid for the new wavform type.
Return Format
The query returns the square period in scientific notation with 7 effective digits, for
example, 1.000000E+00 (the square period is 1s).
Example
:SOUR1:FUNC:SQU:PER 1 /*Set the square period of CH1 to 1s*/
:SOUR1:FUNC:SQU:PER? /*Query the square period of CH1 and the query
returns 1.000000E+00*/
Related
Command