User manual
Chapter 2 Command System RIGOL
DG800 Programming Guide 2-89
Return Format
The query returns the Square period in scientific notation, with 7 effective digits. For example,
1.000000E+00 (the Square period is 1 s).
Example
:SOUR1:FUNC:SQU:PER 1 /*Sets the Square period of CH1 to 1 s.*/
:SOUR1:FUNC:SQU:PER? /*Queries the Square period of CH1 and the query returns 1.000000E+00.*/
:SOURce:HARMonic
Command List:
[:SOURce[<n>]]:HARMonic:AMPL
[:SOURce[<n>]]:HARMonic:ORDEr
[:SOURce[<n>]]:HARMonic:PHASe
[:SOURce[<n>]]:HARMonic[:STATe]
[:SOURce[<n>]]:HARMonic:TYPe
[:SOURce[<n>]]:HARMonic:USER
[:SOURce[<n>]]:HARMonic:AMPL
Syntax
[:SOURce[<n>]]:HARMonic:AMPL <sn>,{<value>|MINimum|MAXimum}
[:SOURce[<n>]]:HARMonic:AMPL? <sn>[,MINimum|MAXimum]
Description
Sets the amplitude of the specified order of harmonic in the harmonic function of the specified channel.
Queries the amplitude of the specified order of harmonic in the harmonic function of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<sn>
Integer
2 to 8
2
<value> Real
0 Vpp to the amplitude upper limit of the
specified channel
1.2647 Vpp
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
The amplitude upper limit of the specified channel is limited by the "Impedance"
(
:OUTPut[<n>]:IMPedance or :OUTPut[<n>]:LOAD) and "Frequency/Period"
(
[:SOURce[<n>]]:FREQuency[:FIXed] or [:SOURce[<n>]]:PERiod[:FIXed]) settings.
Return Format
The query returns the harmonic amplitude in scientific notation, with 7 effective digits. For example,
1.000000E+00 (the harmonic amplitude is 1 Vpp).
Example
:SOUR1:HARM:AMPL 5,1 /*Sets the amplitude of the fifth order of harmonic of CH1 to 1 Vpp.*/
:SOUR1:HARM:AMPL? 5 /*Queries the amplitude of the fifth order of harmonic of CH1 and the query
returns 1.000000E+00.*/