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.

90

U2761A User’s Guide

Page 108
Image 108
Agilent Technologies U2761A manual Set Triggering Using Scpi Commands