Application Examples
Method
*IDN? /*Queries the ID string of the signal generator to check
whether the remote communication is normal.*/
:SOURce1:APPLy:ARBitrary 100,1,2,3 /*Sets the CH1 waveform to an
arbitrary wave with 100 Hz frequency, 1 Vpp amplitude, 2 Vdc
offset, and 3° start phase.*/
:OUTPut1 ON /*Enables the output of CH1.*/
4.3
To Output Harmonic
Requirements
Use the SCPI commands to realize the following functions:
Output harmonic waveform from the front-panel output connector of CH1; the
fundamental waveform parameters are 1 kHz frequency, 5 Vpp amplitude, 0 Vdc
offset, and 0° start phase; output 2nd order harmonic (2 Vpp amplitude, 30° phase)
and 4th order harmonic (1 Vpp amplitude, 50° phase).
Method
*IDN? /*Queries the ID string of the signal generator to test
whether the remote communication works normally.*/
:SOURce1:FUNCtion HARMonic /*Enables the Harmonic function for
CH1.*/
:SOURce1:FREQuency 1000 /*Sets the fundamental frequency to 1 kHz.*/
:SOURce1:VOLTage 5 /*Sets the fundamental amplitude to 5 Vpp for
CH1.*/
:SOURce1:VOLTage:OFFSet 0 /*Sets the offset to 0 Vdc for CH1.*/
:SOURce1:PHASe 0 /*Sets the start phase to 0° for CH1.*/
:SOURce1:HARMonic:TYPE COMBine /*Sets the harmonic type to Combine
for CH1.*/
:SOURce1:HARMonic:COMBine X1010000000000000000 /*Sets the combine
harmonic to 2nd order harmonic and 4th order harmonic.*/
:SOURce1:HARMonic:COMBine:AMPLitude 2,2 /*Sets the amplitude to 2
Vpp for 2nd order harmonic.*/
:SOURce1:HARMonic:COMBine:PHASe 2,30 /*Sets the phase to 30° for
2nd order harmonic.*/
:SOURce1:HARMonic:COMBine:AMPLitude 4,1 /*Sets the amplitude to 1
Vpp for 4th order harmonic.*/
:SOURce1:HARMonic:COMBine:PHASe 4,50 /*Sets the phase to 50° for
4th order harmonic.*/
:OUTPut1 ON /*Enables the output of CH1.*/
4.4
To Output AM Modulated Waveform
Requirements
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 DSSC function.
DG800 Pro/DG900 Pro Programming
Guide
190
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.