Instructions
Chapter 2 Command System RIGOL
DG2000 Programming Guide 2-89
Return Format
The query returns the highest order of harmonic in scientific notation, with 7 effective digits. For example,
3.000000E+00 (the highest order of harmonic is 3).
Example
:SOUR1:HARM:ORDE 3 /*Sets the highest order of harmonic that CH1 can output to 3.*/
:SOUR1:HARM:ORDE? /*Queries the highest order of harmonic that CH1 can output and the query
returns 3.000000E+00.*/
[:SOURce[<n>]]:HARMonic:PHASe
Syntax
[:SOURce[<n>]]:HARMonic:PHASe <sn>,{<value>|MINimum|MAXimum}
[:SOURce[<n>]]:HARMonic:PHASe? <sn>[,MINimum|MAXimum]
Description
Sets the phase of the specified order of harmonic in the harmonic function of the specified channel.
Queries the phase 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° to 360°
0.000°
Remarks
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns the harmonic phase in scientific notation, with 7 effective digits. For example,
1.000000E+01 (the harmonic phase is 10°).
Example
:SOUR1:HARM:PHAS 5,10 /*Sets the phase of the fifth order of harmonic of CH1 to 10°.*/
:SOUR1:HARM:PHAS? 5 /*Queries the phase of the fifth order of harmonic of CH1 and the query
returns 1.000000E+01.*/
[:SOURce[<n>]]:HARMonic[:STATe]
Syntax
[:SOURce[<n>]]:HARMonic[:STATe] {ON|1|OFF|0}
[:SOURce[<n>]]:HARMonic[:STATe]?
Description
Enables or disables the harmonic function of the specified channel.
Queries the on/off status of the harmonic function of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{ON|1|OFF|0}
Bool
ON|1|OFF|0
OFF
Remarks
DG2000 can be used as a harmonic waveform generator and can output harmonic with the specified
order (
[:SOURce[<n>]]:HARMonic:ORDEr), amplitude ([:SOURce[<n>]]:HARMonic:AMPL), and