EasyManua.ls Logo

Rigol DG1022

Rigol DG1022
100 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Application Examples RIGOL
Programming Guide for DG1000
3-11
Example 9: Channel Copy
Target: Output a 1kHz, 5Vpp, 500mV
DC
, 1sine wave via CH1 and a 1.5kHz, 2Vpp,
0 V
DC
, ramp wave via CH2, and then observe the parameters of wave from CH2
after copying CH1 to CH2.
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.5 /* Set the frequency, amplitude and offset of
sine wave from CH1*/
3 PHAS 10 /* Set the initial phase of wave from CH1*/
4 VOLT:UNIT:CH2 VPP /* Set the amplitude unit of CH2*/
5 APPL:RAMP:CH2 1500,2,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 OFF /*Disable channel coupling */
8 COUP:CHANNC 1>2 /* Copy the wave parameters of CH1 to CH2 */
/* Query the wave parameters of CH2 after
copying */
9 FREQuency:CH2? /* Return 1.000000e+03 (1kHz)*/
10 VOLTage:CH2? /* Return 5.000000e+00 (5Vpp)*/
11 VOLTage:OFFSet:CH2? /* Return 5.000000e-01 (500mV
DC
)*/
12 PHAS:CH2? /* Return 10.000 (10°)*/
Notes:
1 Channel Copy function is only valid for wave parameters but not for wave shapes.
2 Channel Copy function could only be enabledafter Channel Coupling is disabled.
3 Channel Copy function is limited by parameter verification, for the details please
refer to DG1000 User’s Guide.

Other manuals for Rigol DG1022

Related product manuals