RIGOL
2-88
DG900 Programming Guide
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.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
DG900 can be used as a harmonic waveform generator and can output harmonic with the specified
order (
), 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 /*Enables the harmonic function of CH1.*/
:SOUR1:HARM? /*Queries the on/off status of the harmonic function of CH1 and the query
returns ON.*/
[:SOURce[<n>]]:HARMonic:TYPe
Syntax
[:SOURce[<n>]]:HARMonic:TYPe {EVEN|ODD|ALL|USER}
[:SOURce[<n>]]:HARMonic:TYPe?
Description
Sets the harmonic type of the specified channel to even harmonic (EVEN), odd harmonic (ODD), all
harmonic (ALL), or user-defined harmonic (USER).
Queries the harmonic type of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{EVEN|ODD|ALL|USER}
Discrete
EVEN|ODD|ALL|USER
EVEN
Remarks
Even harmonic (EVEN): the instrument outputs the fundamental waveform and the even orders of
harmonics.
Odd harmonic (ODD): the instrument outputs the fundamental waveform and the odd orders of
harmonics.
Содержание DG952
Страница 2: ......
Страница 168: ......
Страница 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Страница 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Страница 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Страница 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Страница 200: ......