Instructions

RIGOL Chapter 2 Command System
2-88 DG2000 Programming Guide
[: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.*/
[:SOURce[<n>]]:HARMonic:ORDEr
Syntax
[:SOURce[<n>]]:HARMonic:ORDEr {<value>|MINimum|MAXimum}
[:SOURce[<n>]]:HARMonic:ORDEr? [MINimum|MAXimum]
Description
Sets the highest order of harmonic that can be output in the harmonic function of the specified channel.
Queries the highest order of harmonic that can be outputted in the harmonic function of the specified
channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<value>
Integer
2 to 8
2
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
The range of the highest order of harmonic is limited by the maximum output frequency of the
instrument (defined as
maxout
F
) and the current fundamental waveform frequency (defined as
fund
F
).
The actual range is an integer, ranging from 2 to (
fundout
FF ÷
max
).