Instructions

RIGOL Chapter 2 Command System
2-86 DG2000 Programming Guide
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<name>
Discrete
Refer to "Remarks".
None
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
The parameter <name> can be various basic waveforms, harmonics, and arbitrary waveforms. Its
range is SINusoid|SQUare|RAMP|
PULSe|NOISe|USER|HARMonic|DC|KAISER|ROUNDPM|SINC|NEGRAMP|
ATTALT|AMPALT|STAIRDN|STAIRUP|STAIRUD|CPULSE|PPULSE|NPULSE|TRAPEZIA|
ROUNDHALF|ABSSINE|ABSSINEHALF|SINETRA|SINEVER|EXPRISE|EXPFALL|TAN|COT|
SQRT|X2DATA|GAUSS|HAVERSINE|LORENTZ|DIRICHLET|GAUSSPULSE|AIRY|
CARDIAC|QUAKE|GAMMA|VOICE|TV|COMBIN|BANDLIMITED|STEPRESP|
BUTTERWORTH|CHEBYSHEV1|CHEBYSHEV2|BOXCAR|BARLETT|TRIANG|BLACKMAN|
HAMMING|HANNING|DUALTONE|ACOS|ACOSH|ACOTCON|ACOTPRO|ACOTHCON|
ACOTHPRO|ACSCCON|ACSCPRO|ACSCHCON|ACSCHPRO|ASECCON|ASECPRO|ASECH|
ASIN|ASINH|ATAN|ATANH|BESSELJ|BESSELY|CAUCHY|COSH|COSINT|COTHCON|
COTHPRO|CSCCON|CSCPRO|CSCHCON|CSCHPRO|CUBIC|ERF|ERFC|ERFCINV|ERFINV|
LAGUERRE|LAPLACE|LEGEND|LOG|LOGNORMAL|MAXWELL|RAYLEIGH|RECIPCON|
RECIPPRO|SECCON|SECPRO|SECH|SINH|SININT|TANH|VERSIERA|WEIBULL|
BARTHANN|BLACKMANH|BOHMANWIN|CHEBWIN|FLATTOPWIN|NUTTALLWIN|
PARZENWIN|TAYLORWIN|TUKEYWIN|CWPUSLE|LFPULSE|LFMPULSE|EOG|EEG|EMG|
PULSILOGRAM|TENS1|TENS2|TENS3|SURGE|DAMPEDOSC|SWINGOSC|RADAR|
THREEAM|THREEFM|THREEPM|THREEPWM|THREEPFM|RESSPEED|MCNOSIE|
PAHCUR|RIPPLE|ISO76372TP1|ISO76372TP2A|ISO76372TP2B|ISO76372TP3A|
ISO76372TP3B|ISO76372TP4|ISO76372TP5A|ISO76372TP5B|ISO167502SP|
ISO167502VR|SCR|IGNITION|NIMHDISCHARGE|GATEVIBR.
Return Format
The query returns a string. For example, SQU.
Example
:SOUR1:FUNC SQU /*Sets the waveform type of CH1 to Square.*/
:SOUR1:FUNC? /*Queries the waveform type of CH1 and the query returns SQU.*/
[:SOURce[<n>]]:FUNCtion:SQUare:DCYCle
Syntax
[:SOURce[<n>]]:FUNCtion:SQUare:DCYCle {<percent>|MINimum|MAXimum}
[:SOURce[<n>]]:FUNCtion:SQUare:DCYCle? [MINimum|MAXimum]
Description
Sets the Square duty cycle of the specified channel.
Queries the Square duty cycle of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<percent>
Real
Limited by the waveform frequency
50%
Remarks
Duty cycle is defined as the percentage that the high level of Square waveform takes up in the whole
period.
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.