Generate am using scpi commands – Agilent Technologies AGILENT U2761A User Manual

Page 72

Advertising
background image

54

U2761A User’s Guide

2

Features and Functions

Generate AM 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.

-> AM:STAT ON

//Enables AM.

-> FUNC SQU

//Sets the carrier waveform to

Square wave.

-> FREQ 2000

//Sets the carrier frequency to

2 kHz.

-> VOLT 5 VPP

//Sets the output amplitude to

5 Vpp.

-> VOLT:OFFS 0

//Sets the output offset to 0.

-> AM:INT:FUNC SIN

//Changes the modulating

waveform shape to Sine wave.

-> AM:INT:FREQ 500

//Changes the modulating

frequency to 500 Hz.

-> AM:DEPT 50

//Changes the modulation depth

to 50%.

-> OUTP ON

//Turns on output.

Advertising