Source[<n>]]:harmonic:phase, Source[<n>]]:harmonic[:state – RIGOL DG1000Z Series User Manual
Page 124
RIGOL
2-112
DG1000Z Programming Guide
[:SOURce[<n>]]:HARMonic:PHASe
Syntax
[:SOURce[<n>]]:HARMonic:PHASe <sn>,{<value>|MINimum|MAXimum}
[:SOURce[<n>]]:HARMonic:PHASe? <sn>[,MINimum|MAXimum]
Description
Set the phase of the specified order of harmonic in the harmonic function of the
specified channel.
Query 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°
Explanation
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 /*Set the phase of the fifth order of harmonic of CH1
to 10°*/
:SOUR1:HARM:PHAS? 5 /*Query 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
Turn on or off the harmonic function of the specified channel.
Query 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
Explanation
DG1000Z can be used as a harmonic waveform generator and can output
harmonic with the specified order (
),
amplitude (
) and phase
).
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related
parameters of CH1 by default.
Return Format
The query returns ON or OFF.
Example
:SOUR1:HARM ON /*Turn on the harmonic function of CH1*/
:SOUR1:HARM? /*Query the on/off status of the harmonic function of CH1
and the query returns ON*/
Related
Commands
[:SOURce[<n>]]:HARMonic:AMPL
[:SOURce[<n>]]:HARMonic:ORDEr
[:SOURce[<n>]]:HARMonic:PHASe