Technical data
Output Configuration Commands 4
U2761A Programmer’s Reference 51
[SOURce:]FUNCtion:SQUare:DCYCle
Syntax
[SOURce:]FUNCtion:SQUare:DCYCle <percent>
This command sets the duty cycle percentage for the Square wave.
[SOURce:]FUNCtion:SQUare:DCYCle?
This query returns the current duty cycle setting in %.
Parameter
Examples
The following command sets the duty cycle to 80%.
FUNC:SQU:DCYC 80
The following query returns the duty cycle.
FUNC:SQU:DCYC?
Typical response:
+8.0000000000000E+01
Item Type Range of values Default value
percent Numeric • 20% to 80% (for frequency ≤ 10 MHz)
• 40% to 60% (for frequency > 10 MHz)
50%
SOUR : FUNC space
?
:SQU :DCYC percent