Specifications
RIGOL Application Examples
Programming Guide for DG10X2
3-10
Example 8: Channel Coupling
Target: Output a sine wave with 1kHz, 5Vpp, 0V
DC
, 0° via CH1 and a ramp wave with
1.5kHz, 5Vpp, 0 V
DC
, 0° via CH2, and then, take CH1 as the base channel and Set the
phase deviation as 10°, finally, observe the phase of wave from CH2 after coupling.
How to realize via commands?
0 *IDN? /* Query ID to check the operating state */
1 VOLT:UNIT VPP /* Set the amplitude unit of CH1 */
2 APPL:SIN 1000,5,0 /* Set the frequency, amplitude and offset of sine
wave from CH1 */
3 PHAS 0 /* Set the initial phase of wave from CH1*/
4 VOLT:UNIT:CH2 VPP /* Set the amplitude unit of CH2*/
5 APPL:RAMP:CH2 1500,5,0 /* Set the frequency, amplitude and offset of
ramp wave from CH2*/
6 PHAS:CH2 0 /* Set the initial phase of wave from CH2*/
7 COUP ON /* Enable channel coupling function */
8 COUP:BASE:CH1 /* Select CH1 as the base channel */
9 COUP:PHASEDEV 10 /* Set up the phase deviation */
10 PHAS 2 /*Change the phase of waves output from CH1*/
11 PHAS:CH2? /*Query the phase of waves output from CH2 */
Notes:
1 The return value of “PHAS:CH2?” is 12, which indicates that the phase of CH2 is
vary with the phase of CH1 and keeps 10° of phase deviation.
2 The way to set frequency coupling is the same as phase coupling.