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...
RIGOL Application Examples
Programming Guide for DG1000
3-2
Example 1: To Generate a Sine Wave
Target: Generate a sine wave with 20 kHz frequency, 2.5 Vpp amplitude, 500mV
DC
offset and 10°phase via CH1.
How to realize via commands?
Method1:
0 *IDN? /* Query ID to check the operating state */
1 VOLT:UNIT VPP /* Set the unit of amplitude */
2 APPL:SIN 20000,2.5,0.5 /*Set the frequency, amplitude and offset of the
sine wave*/
3 PHAS 10 /* Set the initial phase */
4 OUTP ON /*Enable the [Output] connector of CH1 at front
panel */
Method2:
0 *IDN? /* Query ID to check the operating state */
1 FUNC SIN /*Select sine function*/
2 FREQ 20000 /* Set the output frequency*/
3 VOLT:UNIT VPP /* Set the unit of amplitude*/
4 VOLT 2.5 /* Set the output amplitude */
5 VOLT:OFFS 0.5 /* Set the offset*/
6 PHAS 10 /* Set the initial phase */
7 OUTP ON /*Enable the [Output] connector of CH1 at front
panel */
Note:
The function of theVOLT:UNIT VPPandAPPL:SIN 20000,2.5,0.5commands is the
same with that of theFUNC SIN, FREQ 20000”, VOLT:UNIT VPP, VOLT 2.5” and
VOLT:OFFS 0.5commands.

Other manuals for Rigol DG1022

Related product manuals