Chapter 3 Application Instances
RIGOL
DG900 Programming Guide
3-3
To Output Harmonic
Requirement
Use the SCPI commands to realize the following functions:
Output harmonic waveform from the front panel output connector of CH1; the fundamental waveform (Sine)
parameters are 1 kHz frequency, 5 Vpp amplitude, 0 Vdc offset voltage, and 0° start phase; set the highest
order of harmonic to 4, the harmonic type to even, the amplitude and phase of the second order of
harmonic to 2 Vpp and 30°, the amplitude and phase of the fourth order of harmonic to 1 Vpp and 50°.
Method
1.
*IDN?
/*Queries the ID string of the signal generator to test
whether the remote communication works normally.*/
2.
:SOUR1:APPL:SIN 1000,5,0,0
/*Sets the waveform of CH1 to Sine with 1kHz frequency, 5
Vpp amplitude, 0V
dc
offset, and 0° start phase.*/
3.
:SOUR1:HARM ON
/*Enables the harmonic function of CH1.*/
4.
:SOUR1:HARM:ORDE 4
/*Sets the highest order of harmonic that CH1 can output to
4.*/
5.
:SOUR1:HARM:TYP EVEN
/*Sets the harmonic type of CH1 to odd harmonic.*/
6.
:SOUR1:HARM:AMPL 2,2
/*Sets the amplitude of the second order of harmonic of CH1
to 2 Vpp.*/
7.
:SOUR1:HARM:PHAS 2,30
/*Sets the phase of the second order of harmonic of CH1 to
30°.*/
8.
:SOUR1:HARM:AMPL 4,1
/*Sets the amplitude of the fourth order of harmonic of CH1
to 1 Vpp.*/
9.
:SOUR1:HARM:PHAS 4,50
/*Sets the phase of the fourth order of harmonic of CH1 to
50°.*/
10. :OUTP1 ON
/*Enables the output of CH1.*/
To Output AM Modulated Waveform
Requirement
Use the SCPI commands to realize the following functions:
Output AM modulated waveform from the front-panel output connector of CH1; set the carrier waveform to
Sine (1 kHz frequency, 5 Vpp amplitude, 0 Vdc offset voltage, and 0° start phase); select internal
modulation source; set the modulating waveform to Sine, the modulation depth to 80% and the modulation
frequency to 200 Hz; enable the carrier waveform suppression function.
Method
1. *IDN?
/*Queries the ID string of the signal generator to test whether
the remote communication works normally.*/
2. :SOUR1:APPL:SIN 1000,5,0,0
/*Sets the waveform of CH1 to Sine with 1kHz frequency, 5
Vpp amplitude, 0V
dc
offset, and 0° start phase.*/
3. :SOUR1:AM:STAT ON
/*Enables the AM modulation function of CH1.*/
4. :SOUR1:AM:SOUR INT
/*Sets the AM modulation source of CH1 to internal
modulation source.*/
5. :SOUR1:AM:INT:FUNC SIN
/*Sets the AM modulation waveform of CH1 to Sine.*/
6. :SOUR1:AM 80
/*Sets the AM modulation depth of CH1 to 80%.*/
7. :SOUR1:AM:INT:FREQ 200
/*Sets the AM modulation frequency of CH1 to 200 Hz.*/
8. :SOUR1:AM:DSSC ON
/*Enables the AM carrier waveform suppression function of
CH1.*/
9. :OUTP1 ON
/*Enables the output of CH1.*/
Содержание 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: ......