Set triggering using scpi commands – Agilent Technologies AGILENT U2761A User Manual
Page 108
90
U2761A User’s Guide
2
Features and Functions
Set Triggering Using SCPI Commands
Example 1
-> *CLS
; *RST
//To reset the U2761A to
default power
-on state,
this command can be
ignored if this operation
is not required.
-> FUNC SIN
//Sets the carrier waveform
to Sine wave.
-> VOLT 5 VPP
//Sets the output amplitude
to 5 Vpp.
-> VOLT:OFFS 0
//Sets the output offset to
0.
-> SWE:STAT ON
//Enables frequency sweep.
-> FREQ:STAR 500
//Changes the start
frequency to 500 Hz.
-> FREQ:STOP 10000
//Changes the stop
frequency to 10 kHz.
-> SWE:SPAC LIN
//Changes the sweep mode
to Linear.
-> SWE:TIME 2
//Changes the sweep time
to 2 s.
-> TRIG:SOUR IMM
//Changes the sweep trigger
source to Internal.
-> OUTP:TRIG ON
//Turns on the trigger
output.
-> OUTP:TRIG:SLOP POS
//Outputs the trigger on a
rising edge.
-> OUTP ON
//Turns on output.