User Manual
34
E.g. 4: To Generate a Linear Sweep Wave via CH1 and
a Ramp Wave via CH2
Target: Generate a sweep square wave with 100Hz to 1kHz frequency, internal trigger,
linear mode and 5s sweep time via CH1. Generate a 1.5kHz, 5Vpp, 1V, 33% symmetry
ramp wave via CH2.
Step
SCPI Command
Comment
0
*IDN?
/*Query ID to check the operating state*/
1
:CHAN CH1
/*Set current channel as CH1*/
2
:FUNC:SINE:LOAD OFF
/*Set the load as High Z*/
3
:FUNC SQUARE
/*Square should be selected before enabling
frequency sweep*/
4
:FUNC SWEEP
/*Enable frequency sweep*/
5
:FUNC:SWEEP:SWEEPTIME 5
/*Set the sweep time*/
6
:FUNC:SWEEP:SPAC LIN
/*Select linear sweep mode*/
7
:FUNC:SWEEP:STAR 100
/*Set the start frequency*/
8
:FUNC:SWEEP:STOP 1000
/*Set the stop frequency*/
9
:FUNC:SWEEP:SOURCE INT
/*Select internal trigger source*/
10
:CHAN:CH1 ON
/*Enable the connector of CH1 at front panel*/
11
:CHAN CH2
/*Set current channel as CH2*/
12
:FUNC:RAMP:LOAD OFF
/*Set the load as High Z*/
13
:FUNC:RAMP:FREQ 1500
/*Set the frequency of the ramp wave*/
14
:FUNC:RAMP:AMPL 5
/*Set the amplitude*/
15
:FUNC:RAMP:OFFSET 1
/*Set the offset*/
16
:FUNC:RAMP:SYMM 33
/*Set the symmetry*/