Agilent 0A Quick Reference Guide Datasheet

Page 1
Agilent 33220A
Function/Arbitrary Waveform Generator
Quick Reference Guide
• Square brackets ( [ ] ) indicate optional keywords or paramete rs.
• Braces ( { } ) enclose parameters wi thin a command. Default parameters ar e sho wn in bold.
•
Triangle brackets (
you must subs titute a value.
• A vertical bar ( | ) separates multiple choices.
The APPLy Commands
See page 163 in User’s Guide (English)
APPLy
:SINusoid [< :SQUare [< :RAMP [< :PULSe [< :NOISe [< :DC [< :USER [<
APPLy?
frequency
frequency
frequency frequency
frequency
frequency
< >
frequency
> [,<
> [,<
> [,< |DEF>1 [,<
|DEF>1 [,<
> [,<
) enclose parameters for which
> [,<
amplitude
amplitude
amplitude
amplitude
amplitude
> [,<
> [,<
> [,<
> [,<
amplitude
>|DEF>1 [,<
> [,<
offset
offset
offset
> [,<
offset
offset
>] ]]
>] ]]
>] ]]
>] ]]
offset
>] ]]
offset
>] ]]
>] ]]
1
This parameter has no ef fect for this command but you
MUST specif y a value or “DEFault ”.
State Storage Commands
See page 238 in User’s Guide (English)
*SAV {0|1|2|3|4} *RCL {0|1|2|3|4}
MEMory:STATe
:NAME {0|1|2|3|4} [,<name>] :NAME? {0|1|2|3|4} :DELete {0|1|2|3|4} :RECall:AUTO {OFF|ON} :RECall:AUTO? :VALid? {0|1|2|3|4}
MEMory:NSTates?

Page 2
Output Configuration Commands
See page 172 in User’s Guide (English)
FUNCtion {SINu|SQU|RAMP|PULSe|NOISe|DC|USER} FUNCtion?
FREQuency {<frequency>|MINimum|MAXimum} FREQuency? [MINimum|MAXimum]
VOLTage {<amplitude>|MINimum|MAXimum} VOLTage? [MINimum|MAXimum]
VOLTage:OFFSet {<offset>|MINimum|MAXimum} VOLTage:OFFSet? [MINimum|MAXimum]
VOLTage
:HIGH {<voltage>|MINimum|MAXimum} :HIGH? [MINimum|MAXimum] :LOW {<voltage>|MINimum|MAXimum} :LOW? [MINimum|MAXimum]
VOLTage:RANGe:AUTO {OFF|ON|ONCE} VOLTage:RANGe:AUTO?
VOLTage:UNIT {VPP|VRMS|DBM} VOLTage:UNIT?
FUNCtion:SQUare:DCYCle {< FUNCtion:SQUare:DCYCle? [MINimum|MAXimum]
FUNCtion:RAMP:SYMMetry {< FUNCtion:RAMP:SYMMetry? [MINimum|MAXimum]
OUTPut {OFF|ON} OUTPut?
OUTPut:LOAD {<ohms>|INFinity|MINimum|MAXimum} OUTPut:LOAD? [MINimum|MAXimum]
OUTPut:POLarity {NORMal|INVerted} OUTPut:POLarity?
OUTPut:SYNC {OFF|ON} OUTPut:SYNC?
percent
>|MINimum|MAXimum}
percent
>|MINimum|MAXimum}
Pulse Configuration Commands
See page 185 in User’s Guide (English)
PULSe:PERiod {<seconds>|MINimum|MAXimum} PULSe:PERiod? [MINimum|MAXimum]
FUNCtion:PULSe
:HOLD {WIDTh|DCYCle} :HOLD? [WIDTh|DCYCle] :WIDTh {<seconds>|MINimum|MAXimum} :WIDTh? [MINimum|MAXimum] :DCYCle {<percent>|MINimum|MAXimum} :DCYCle? [MINimum|MAXimum] :TRANsition {<seconds>|MINimum|MAXimum} :TRANsition? [MINimum|MAXimum]
2
Page 3
Modulation Commands
See page 190 in User’s Guide (English)
AM Commands
AM:
INTernal :FUNCtion {SIN|SQU|RAMP|NRAMp|TRI|NOISe|USER} :FUNCtion?
AM:
INTernal :FREQuency {<frequency>|MINimum|MAXimum} :FREQuency? [MINimum|MAXimum]
AM:DEPTh {<depth in percent>|MINimum|MAXimum} AM:DEPTh? [MINimum|MAXimum]
AM:SOURce {INTernal|EXTernal} AM:SOURce?
AM:STATe {OFF|ON} AM:STATe?
FM Commands
FM:
INTernal :FUNCtion {SIN|SQU|RAMP|NRAMp|TRI|NOISe|USER} :FUNCtion?
FM:
INTernal :FREQuency {<frequency>|MINimum|MAXimum} :FREQuency? [MINimum|MAXimum]
FM:DEViation {< FM:DEViation? [MINimum|MAXimum]
FM:SOURce {INTernal|EXTernal} FM:SOURce?
FM:STATe {OFF|ON} FM:STATe?
peak deviation in Hz
>|MINimum|MAXimum}
PM Commands
PM:
INTernal :FUNCtion {SIN|SQU|RAMP|NRAMp|TRI|NOISe|USER} :FUNCtion?
PM:
INTernal :FREQuency {<frequency>|MINimum|MAXimum} :FREQuency? [MINimum|MAXimum]
PM:DEViation {< PM:DEViation? [MINimum|MAXimum]
PM:SOURce {INTernal|EXTernal} PM:SOURce?
PM:STATe {OFF|ON} PM:STATe?
deviation in degrees
3
>|MINimum|MAXimum}
Page 4
FSK Commands
FSKey:FREQuency {<frequency>|MINimum|MAXimum} FSKey:FREQuency? [MINimum|MAXimum]
FSKey:INTernal:RATE {< FSKey:INTernal:RATE? [MINimum|MAXimum]
FSKey:SOURce {INTernal|EXTernal} FSKey:SOURce?
FSKey:STATe {OFF|ON} FSKey:STATe?
rate in Hz
>|MINimum|MAXimum}
PWM Commands
PWM:
INTernal :FUNCtion {SIN|SQU|RAMP|NRAMp|TRI|NOISe|USER} :FUNCtion?
PWM:
INTernal :FREQuency {<frequency>|MINimum|MAXimum} :FREQuency? [MINimum|MAXimum]
PWM:DEViation {< PWM:DEViation? [MINimum|MAXimum]
PWM:DEViation:DCYCle {< PWM:DEViation
PWM:SOURce {INTernal|EXTernal} PWM:SOURce?
PWM:STATe {OFF|ON} PWM:STATe?
deviation in seconds
:DCYCle
deviation in percent
? [MINimum|MAXimum]
>|MIN|MAX}
>|MIN|MAX}
Burst Commands
See page 216 in User’s Guide (English)
BURSt:MODE {TRIGgered|GATed} BURSt:MODE?
BURSt:NCYCles {< BURSt:NCYCles? [MINimum|MAXimum]
BURSt:INTernal:PERiod {< BURSt:INTernal:PERiod? [MINimum|MAXimum]
BURSt:PHASe {<angle>|MINimum|MAXimum} BURSt:PHASe? [MINimum|MAXimum]
BURSt:STATe {OFF|ON} BURSt:STATe?
UNIT:ANGLe {DEGree|RADian} UNIT:ANGLe?
TRIGger:SOURce {IMMediate|EXTernal|BUS} TRIGger:SOURce?
TRIGger:SLOPe {POSitive|NEGative} TRIGger:SLOPe?
BURSt:GATE:POLarity {NORMal|INVerted} BURSt:GATE:POLarity?
OUTPut
:TRIGger:SLOPe {POSitive|NEGative} :TRIGger:SLOPe? :TRIGger {OFF|ON} :TRIGger?
# cycles
>|INFinity|MINimum|MAXimum}
seconds
>|MINimum|MAXimum}
4
Page 5
Sweep Commands
See page 208 in User’s Guide (English)
FREQuency
:STARt {<frequency>|MINimum|MAXimum} :STARt? [MINimum|MAXimum] :STOP {<frequency>|MINimum|MAXimum} :STOP? [MINimum|MAXimum]
FREQuency
:CENTer {<frequency>|MINimum|MAXimum} :CENTer? [MINimum|MAXimum] :SPAN {<frequency>|MINimum|MAXimum} :SPAN? [MINimum|MAXimum]
SWEep
:SPACing {LINear|LOGarithmic} :SPACing? :TIME {<seconds>|MINimum|MAXimum} :TIME? [MINimum|MAXimum]
SWEep:STATe {OFF|ON} SWEep:STATe?
TRIGger:SOURce {IMMediate|EXTernal|BUS} TRIGger:SOURce?
TRIGger:SLOPe {POSitive|NEGative} TRIGger:SLOPe?
OUTPut
:TRIGger:SLOPe {POSitive|NEGative} :TRIGger:SLOPe? :TRIGger {OFF|ON} :TRIGger?
MARKer:FREQuency {<frequency>|MINimum|MAXimum} MARKER:FREQuency? [MINimum|MAXimum]
MARKer {OFF|ON} MARKer?
Triggering Commands
See page 224 in User’s Guide (English)
These command s ar e used for Sweep and Burst only.
TRIGger:SOURce {IMMediate|EXTernal|BUS} TRIGger:SOURce?
TRIGger *TRG TRIGger:SLOPe {POSitive|NEGative}
TRIGger:SLOPe? BURSt:GATE:POLarity {NORMal|INVerted}
BURSt:GATE:POLarity? OUTPut
:TRIGger:SLOPe {POSitive|NEGative} :TRIGger:SLOPe? :TRIGger {OFF|ON} :TRIGger?
5
Page 6
System-Related Commands
See page 242 in User’s Guide (English)
SYSTem:ERRor? *IDN? DISPlay {OFF|ON}
DISPlay? DISPlay
:TEXT <quoted string> :TEXT? :TEXT:CLEar
*RST *TST? SYSTem:VERSion? SYSTem
:BEEPer :BEEPer:STATe {OFF|ON} :BEEPer:STATe?
SYSTem
:KLOCk[:STATe] {OFF|ON} :KLOCk:EXCLude {NONE|LOCal} :KLOCk:EXCLude?
SYSTem:SECurity:IMMediate Caution. Clears all
*LRN? *OPC *OPC? *WAI
memory. Not recom­mended for routine applications.
Interface Configuration Commands
See page 247 in User’s Guide (English)
SYSTem:COMMunicate:RLSTate {LOCal|REMote|RWLock}
© Copyright Agilent Technologies, Inc. 2003, 2005
Printed in Malaysia March 2005 E0305
*33220-90008*
33220-90008
6
Page 7
Arbitrary Waveform Commands
See page 227 in User’s Guide (English)
DATA VOLATILE, <value>, <value>, ... DATA
:DAC VOLATILE, {<
FORMat:BORDer {NORMal|SWAPped} FORMat:BORDer?
DATA:COPY <desti na tio n ar b na me> [,VOLATILE] FUNCtion:USER {<arb name>
FUNCtion:USER? FUNCtion USER
FUNCtion? DATA
:CATalog? :NVOLatile:CATalog? :NVOLatile:FREE?
DATA:DELete <arb name> DATA:DELete:ALL
DATA
:ATTRibute:AVERage? [<arb name> :ATTRibute:CFACtor? [<arb name> :ATTRibute:POINts? [<arb name> :ATTRibute:PTPeak? [<arb name>
1
The names of the built-in arb waveforms are:
EXP_RISE, EXP_FALL, NEG_RAMP, SINC, and CARDIAC.
binary block
1
>|<
value
>, <
|VOLATILE}
1
]
1
]
1
]
1
]
value
>, ... }
Status Reporting Commands
See page 260 in User’s Guide (English)
*STB? *SRE <enable value>
*SRE? STATus
:QUEStionable:CONDition? :QUEStionable[:EVENt]? :QUEStionable:ENABle <enable value> :QUEStionable:ENABle?
*ESR? *ESE <enable value>
*ESE? *CLS STATus:PRESet *PSC {0|1}
*PSC? *OPC
See page 251 in the User’s Guide (English) for a diagram of the SCPI status system.
7
Page 8
Phase-Lock Commands
These commands require Option 001, External Timebase Reference. See pag e 248 in User’s Guide (English).
PHASe {<angle>|MINimum|MAXimum} PHASe? [MINimum|MAXimum]
PHASe:REFerence PHASe:UNLock:ERRor:STATe {OFF|ON}
PHASe:UNLock:ERRor:STATe? UNIT:ANGLe {DEGree|RADian}
UNIT:ANGLe?
Calibration Commands
See page 264 in User’s Guide (English)
CALibration? CALibration
:SECure:STATe {OFF|ON},<code> :SECure:STATe? :SECure:CODE <new code> :SETup <0|1|2|3| . . . |94> :SETup? :VALue <value> :VALue? :COUNt? :STRing <quoted string> :STRing?
IEEE 488.2 Common Commands
*CLS *ESR?
*ESE <enable value> *ESE?
*IDN? *LRN? *OPC *OPC? *PSC {0|1}
*PSC? *RST *SAV {0|1|2|3|4}
*RCL {0|1|2|3|4}
*STB? *SRE <enable value> *SRE?
*TRG *TST?
8
Page 9
Simplified Programming Overview
Using the APPLy Command
The APPLy command provides the most straightforward method to program the function generator over the remote interface. For e xample, th e following command st ring sent from your computer will output a 3 Vpp sine wave at 5 kHz with a -2.5 volt offset.
APPL:SIN 5.0E+3, 3.0, -2.5
Using the Low-Level Commands
Although the APPLy command provides the most straight­forward method to program the function generator, the low-level commands give you more flexibility to change individual parameters. For example, the following command strings sent from your computer will output a 3 Vpp sine wave at 5 kHz with a -2.5 volt offset.
FUNC SIN FREQ 5000 VOLT 3.0 VOLT:OFFS -2.5
Reading a Query Response
Only the query commands (commands that end with “?”) will instruct the functi on generator to send a response message. Queries return internal instrument settings. For example, the following command string sent from your computer will read the function generator’s error queue and retrieve the response from the most recent error
SYST:ERR? enter statement
.
Selecting a Trigger Source
When Sweep or Burst is enabled, the function generator will accept an immediate internal trigger, a hardware trigger from the rear-panel Trig In connector, a manual trigger from the key, or a software (bus) trigger. By default, the internal trigger source is selected. If you want to use an external or a software trigger source, you must first sele ct that source. For example, the following command strings sent from your computer will output a 3-cycle burst each time the rear-panel Trig In connector receives the rising edge of a TTL pulse.
BURS:NCYC 3 TRIG:SLOP POS TRIG:SOUR EXT BURS:STAT ON
9
Page 10
Factory Default Settings
Output Configuration
Function Frequency Amplitude / Offset Output Units Output Termination Autorange
Modulation
Carrier (AM, FM, PM, FSK) Carrier (PWM)
Modulating Waveform: (AM) (FM, PM, PWM)
AM Depth
FM Deviation
PM Deviation
FSK Hop Frequency
FSK Rate
PWM Width Deviation
Modulation State
Sweep
Start / Stop Frequency
Sweep Time
Sweep Mode
Sweep State
Burst
Burst Count
Burst Period
Burst Start Phase
Burst State
System-Related O perations
Power-Down Recall
•
Display Mode
Error Que ue
Stored States, Stored Arbs
Output State
Triggering Operations
Trigger Source
Remote Interface Config.
• GPIB Address
DHCP
•
•
IP Address
•
Subnet Mask
•
Default Gateway
•
DNS Server
•
Host Name
•
Domain Name
Calibration
Calibration State
Factory Setting
Sine wave 1 kHz 100 mVpp / 0.0 Vdc Vpp 50 Ω On
Factory Setting
1 kHz Sine wave 1 kHz Pulse
100 Hz Sine wave 10 Hz Sine wave 100% 100 Hz 180 degrees 100 Hz 10 Hz 10 µs Off
Factory Setting
100 Hz / 1 kHz 1 Second Linear Off
Factory Setting
1 Cycle 10 ms 0 degrees Off
Factory Setting
Disabled
• On Errors are Cleared No Change Off
Factory Setting
Interna l (Immediate)
Factory Setting
10
•
On
•
•
169.254.2.20
•
255.255.0.0
•
0.0.0.0
•
0.0.0.0
•
none
•
none
Factory Setting
Secured
Parameters marked with a bullet (•) are stored in non-volatile memory.
10
Loading...