Instructions

Chapter 3 Application Instances RIGOL
DG2000 Programming Guide 3-5
edge.*/
17.
:OUTP1 ON
/*Enables the output of CH1.*/
18.
:SOUR1:SWE:TRIG
/*Triggers a sweep immediately on the specified channel.*/
To Output Burst Waveform
Requirement
Use the SCPI commands to realize the following functions:
Output burst waveform from the front-panel output connector of CH1; set the burst waveform to Sine (1
kHz frequency, 5 Vpp amplitude, 0 Vdc offset voltage, and 0° start phase), the burst type to N cycle, the
number of cycles to 10, the burst time to 0.1 s, the trigger source to internal, the trigger output signal to
falling edge and the trigger delay to 0.01 s.
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:BURS ON
/*Enables the burst function of CH1.*/
4.
:SOUR1:BURS:MODE TRIG
/*Sets the burst type of CH1 to N cycle.*/
5.
:SOUR1:BURS:NCYC 10
/*Sets the number of cycles in the N cycle burst of CH1 to
10.*/
6.
:SOUR1:BURS:INT:PER 0.1
/*Sets the internal burst period of the N cycle burst of CH1
to 0.1 s.*/
7.
:SOUR1:BURS:TRIG:SOUR INT
/*Sets the trigger source of the burst mode of CH1 to
Internal.*/
8.
:SOUR1:BURS:TRIG:TRIGO NEG
/*Sets the edge type of the trigger output signal in the burst
mode of CH1 to Falling edge.*/
9.
:SOUR1:BURS:TDEL 0.01
/*Sets the burst delay of the N cycle burst of CH1 to 0.01
s.*/
10.
:OUTP1 ON
/*Enables the output of CH1.*/
11.
:SOUR1:BURS:TRIG
/*Triggers a burst output immediately on CH1.*/
To Use the Frequency Counter
Requirement
Use the SCPI commands to realize the following functions:
Enable the frequency counter function; set the instrument to select the proper gate time automatically
according to the characteristic of the signal to be measured; enable the statistical function; set the
sensitivity to High, the coupling mode to AC coupling; enable the high frequency rejection function; set the
operating state to Run.
Method
1.
*IDN?
/*Queries the ID string of the signal generator to test
whether the remote communication works normally.*/
2.
:COUN ON
/*Enables the frequency counter function.*/
3.
:COUN:AUTO
/*Sets the instrument to select the proper gate time
according to the characteristic of the signal to be
measured.*/
4.
:COUN:STATI ON
/*Enables the statistical function of the measurement results
of the frequency counter.*/
5.
:COUN:SENS HIG
/*Sets the trigger sensitivity of the frequency counter to