Afg 3000 Program
Afg 3000 Program
AFG3000 Series
Arbitrary/Function Generators
071-1639-04
www.tektronix.com
Copyright © Tektronix. All rights reserved. Licensed software products are owned by Tektronix or its subsidiaries or
suppliers, and are protected by national copyright laws and international treaty provisions.
Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication
supercedes that in all previously published material. Specifications and price change privileges reserved.
Contacting Tektronix
Tektronix, Inc.
14200 SW Karl Braun Drive or P.O. Box 500
Beaverton, OR 97077 USA
Tektronix warrants that the product will be free from defects in materials and workmanship for a period of three (3)
years from the date of original purchase from an authorized Tektronix distributor. If the product proves defective
during this warranty period, Tektronix, at its option, either will repair the defective product without charge for parts
and labor, or will provide a replacement in exchange for the defective product. Batteries are excluded from this
warranty. Parts, modules and replacement products used by Tektronix for warranty work may be new or reconditioned
to like new performance. All replaced parts, modules and products become the property of Tektronix.
In order to obtain service under this warranty, Customer must notify Tektronix of the defect before the expiration of
the warranty period and make suitable arrangements for the performance of service. Customer shall be responsible for
packaging and shipping the defective product to the service center designated by Tektronix, shipping charges prepaid,
and with a copy of customer proof of purchase. Tektronix shall pay for the return of the product to Customer if the
shipment is to a location within the country in which the Tektronix service center is located. Customer shall be
responsible for paying all shipping charges, duties, taxes, and any other charges for products returned to any other
locations.
This warranty shall not apply to any defect, failure or damage caused by improper use or improper or inadequate
maintenance and care. Tektronix shall not be obligated to furnish service under this warranty a) to repair damage
resulting from attempts by personnel other than Tektronix representatives to install, repair or service the product; b) to
repair damage resulting from improper use or connection to incompatible equipment; c) to repair any damage or
malfunction caused by the use of non-Tektronix supplies; or d) to service a product that has been modified or integrated
with other products when the effect of such modification or integration increases the time or difficulty of servicing the
product.
THIS WARRANTY IS GIVEN BY TEKTRONIX WITH RESPECT TO THE PRODUCT IN LIEU OF ANY
OTHER WARRANTIES, EXPRESS OR IMPLIED. TEKTRONIX AND ITS VENDORS DISCLAIM ANY
IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
TEKTRONIX' RESPONSIBILITY TO REPAIR OR REPLACE DEFECTIVE PRODUCTS IS THE SOLE
AND EXCLUSIVE REMEDY PROVIDED TO THE CUSTOMER FOR BREACH OF THIS WARRANTY.
TEKTRONIX AND ITS VENDORS WILL NOT BE LIABLE FOR ANY INDIRECT, SPECIAL,
INCIDENTAL, OR CONSEQUENTIAL DAMAGES IRRESPECTIVE OF WHETHER TEKTRONIX OR
THE VENDOR HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Getting Started
Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Front Panel Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Display Area and Screen Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
Waveform Parameters and Numeric Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
Rear Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19
OUTPut[1|2]:IMPedance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-33
OUTPut[1|2]:POLarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-34
OUTPut[1|2][:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-34
OUTPut:TRIGger:MODE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-35
*PSC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-36
*RCL (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-36
*RST (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-37
*SAV (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-37
[SOURce[1|2]]:AM[:DEPTh] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-38
[SOURce[1|2]]:AM:INTernal:FREQuency. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-39
[SOURce[1|2]]:AM:INTernal:FUNCtion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-40
[SOURce[1|2]]:AM:INTernal:FUNCtion:EFILe . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-41
[SOURce[1|2]]:AM:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-41
[SOURce[1|2]]:AM:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-42
[SOURce[1|2]]:BURSt:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-42
[SOURce[1|2]]:BURSt:NCYCles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-43
[SOURce[1|2]]:BURSt[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-44
[SOURce[1|2]]:BURSt:TDELay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-45
[SOURce[1|2]]:COMBine:FEED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-46
[SOURce[1|2]]:FM[:DEViation]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-47
[SOURce[1|2]]:FM:INTernal:FREQuency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-48
[SOURce[1|2]]:FM:INTernal:FUNCtion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-49
[SOURce[1|2]]:FM:INTernal:FUNCtion:EFILe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-50
[SOURce[1|2]]:FM:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-50
[SOURce[1|2]]:FM:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-51
[SOURce[1|2]]:FREQuency:CENTer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-52
[SOURce[1|2]]:FREQuency:CONCurrent[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . 2-53
[SOURce[1|2]]:FREQuency[:CW|:FIXed] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-54
[SOURce[1|2]]:FREQuency:MODE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-55
[SOURce[1|2]]:FREQuency:SPAN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-56
[SOURce[1|2]]:FREQuency:STARt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-57
[SOURce[1|2]]:FREQuency:STOP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-58
[SOURce[1|2]]:FSKey[:FREQuency]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-59
[SOURce[1|2]]:FSKey:INTernal:RATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-59
[SOURce[1|2]]:FSKey:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-60
[SOURce[1|2]]:FSKey:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-60
[SOURce[1|2]]:FUNCtion:EFILe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-61
[SOURce[1|2]]:FUNCtion:RAMP:SYMMetry. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-61
[SOURce[1|2]]:FUNCtion[:SHAPe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-62
[SOURce[1|2]]:PHASe[:ADJust] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-63
[SOURce[1|2]]:PHASe:INITiate (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . 2-64
[SOURce[1|2]]:PM[:DEViation]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-64
[SOURce[1|2]]:PM:INTernal:FREQuency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-65
[SOURce[1|2]]:PM:INTernal:FUNCtion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-66
[SOURce[1|2]]:PM:INTernal:FUNCtion:EFILe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-67
[SOURce[1|2]]:PM:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-67
[SOURce[1|2]]:PM:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-68
SOURce<3|4>:POWer[:LEVel][:IMMediate][:AMPLitude] . . . . . . . . . . . . . . . . . . . 2-69
[SOURce[1|2]]:PULSe:DCYCle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-70
[SOURce[1|2]]:PULSe:DELay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-70
[SOURce[1|2]]:PULSe:HOLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-71
[SOURce[1|2]]:PULSe:PERiod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-72
[SOURce[1|2]]:PULSe:TRANsition[:LEADing] . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-72
[SOURce[1|2]]:PULSe:TRANsition:TRAiling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-73
[SOURce[1|2]]:PULSe:WIDTh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-74
[SOURce[1|2]]:PWM:INTernal:FREQuency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-75
[SOURce[1|2]]:PWM:INTernal:FUNCtion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-76
[SOURce[1|2]]:PWM:INTernal:FUNCtion:EFILe . . . . . . . . . . . . . . . . . . . . . . . . . . 2-77
[SOURce[1|2]]:PWM:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-77
[SOURce[1|2]]:PWM:STATe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-78
[SOURce[1|2]]:PWM[:DEViation]:DCYCle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-79
[SOURce]:ROSCillator:SOURce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-80
[SOURce[1|2]]:SWEep:HTIMe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-80
[SOURce[1|2]]:SWEep:MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-81
[SOURce[1|2]]:SWEep:RTIMe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-82
[SOURce[1|2]]:SWEep:SPACing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-82
[SOURce[1|2]]:SWEep:TIME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-83
[SOURce[1|2]]:VOLTage:CONCurrent[:STATe] . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-84
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:HIGH . . . . . . . . . . . . . . . . . . . . . . 2-85
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:LOW. . . . . . . . . . . . . . . . . . . . . . . 2-86
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:OFFSet . . . . . . . . . . . . . . . . . . . . . 2-87
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate][:AMPLitude] . . . . . . . . . . . . . . . . 2-88
[SOURce[1|2]]:VOLTage:LIMit:HIGH. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-89
[SOURce[1|2]]:VOLTage:LIMit:LOW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-90
[SOURce[1|2]]:VOLTage:UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-91
*SRE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-92
STATus:OPERation:CONDition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-93
STATus:OPERation:ENABle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-93
STATus:OPERation[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-94
STATus:PRESet (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-94
STATus:QUEStionable:CONDition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-95
STATus:QUEStionable:ENABle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-95
STATus:QUEStionable[:EVENt]? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-96
*STB?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-96
SYSTem:BEEPer[:IMMediate] (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . 2-97
SYSTem:BEEPer:STATe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-97
SYSTem:ERRor[:NEXT]?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-98
SYSTem:KCLick[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-98
SYSTem:KLOCk[:STATe]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-99
SYSTem:PASSword:CDISable (No Query Form). . . . . . . . . . . . . . . . . . . . . . . . . . . 2-99
SYSTem:PASSword[:CENable] (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . 2-100
SYSTem:PASSword[:CENable]:STATe?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-100
SYSTem:PASSword:NEW (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-101
SYSTem:SECurity:IMMediate (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . 2-101
SYSTem:ULANguage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-102
SYSTem:VERSion? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-102
TRACe|DATA:CATalog? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-103
TRACe|DATA:COPY (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-103
TRACe|DATA[:DATA] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-104
TRACe|DATA[:DATA]:LINE (No Query Form). . . . . . . . . . . . . . . . . . . . . . . . . . . 2-105
TRACe|DATA[:DATA]:VALue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-106
TRACe|DATA:DEFine (No Query Form) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-107
Programming Examples
Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Appendices
Appendix A: Accessories and Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Appendix B: General Care and Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
General Care . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1
Appendix C: SCPI Conformance Information . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Appendix D: Default Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1
Appendix E: Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-1
Menu System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-1
Menu Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-2
File Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-30
Index
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index-1
List of Figures
List of Tables
Getting Started covers operating principles of the instrument, which helps you
understand how your generator operates.
Syntax and Commands defines the command syntax and processing conven-
tions, describes command notation.
Status and Events explains the status information and event messages reported
by the instrument.
Programming Examples contains remote interface application programs to
help you develop programs for your application.
Appendix A: Accessories & Options describes the standard and optional acces-
sories as well as the instrument options.
Appendix B: General Care and Cleaning describes how to take care of the
instrument.
Appendix C: SCPI Conformance Information contains a list of commands and
SCPI information.
Appendix D: Default Setup contains a list of the menus and controls that are
recalled when you push the front-panel Default button.
Appendix E: Reference provides in-depth descriptions of the instrument menu
structures and menu button functions.
Documentation
In addition to this AFG3000 Series Arbitrary/Function Generators Programmer
Manual, the following documentation is available for this instrument:
AFG3000 Series Quick Start User Manual. The quick start user manual provides
information on installation, general features, operating the instrument, and user
interface. It also provides electrical, environmental, and physical specifications for
the instrument.
Built in Help System. The built-in help system that is integrated with the User
Interface application that ships with this instrument.
Channel Trigger
Ch1 Ch2
USB
Memory View
Action buttons
Menu buttons
State buttons
Function buttons
Shortcut buttons
Action Buttons The Power (not shown in Figure 1-2), Upper Menu, Top Menu, View, and Manual
Trigger buttons are called action buttons. When you push these action buttons, it
will cause an action.
Power button. Pushing the power button once turns the instrument on. Pushing the
power button when the instrument is on will turn off the instrument.
Upper Menu button. Pushing the Upper Menu button returns the currently
displayed bezel menu to the upper level of the menu tree.
Top Menu button. The Top Menu button is used to return to the top level of the
menu tree from the current menu location.
View button. The View button is used to toggle the screen view format. The
arbitrary/function generator provides the following three screen view formats:
View format 1: Waveform parameter and graph display, see Figure 1-3
View format 2: Graph comparison, see Figure 1-4
View format 3: Waveform parameter comparison, see Figure 1-5 and
Figure 1-6
When the instrument is in one of the three display format, pushing the View button
will toggle through the three views in a repeating cycle in the order described
above.
When the instrument is in the Edit Menu, pushing the View button will toggle
between Edit text and graphical views. This is the only function of the
single-channel model view button.
When the instrument is in the Save/Recall, Utility, Output, or Help menu, pushing
the View button will have no effect.
View Format 1. Figure 1-3 is a single channel parameter and graph setup display. In
this view, Channel 1 is selected with the Channel Select button. When Channel 2
is selected, the parameters and graph for Channel 2 will be displayed in this view.
You can easily toggle between the information for Channel 1 and Channel 2 with
this view.
View Format 2. Figure 1-4 is a graph compare view. In this view, the Channel
Select button selects the active graph. The selected channel is highlighted.
View Format 3. Figure 1-5 is a channel compare view. In this view, Channel 1 is
selected with the Channel Select button.
Manual Trigger button. Pushing the Manual Trigger button generates a trigger
event manually. The Manual Trigger is one of the trigger sources for sweep or burst
waveform. If you push the Manual Trigger button, the arbitrary/function generator
will initiate one sweep in the Trigger Sweep mode, or output a waveform that has
the specified number of cycles in the Burst mode. If the instrument is in Gated
mode, it outputs a waveform while the Manual Trigger button is depressed.
Trig’d LED. The Trig’d LED is lit whenever the instrument responds to a trigger.
Note that the Trig’d LED is a common display for any trigger signals for channel 1
or channel 2.
Other Action buttons. The Enter button and the following related buttons are also
classified as Action buttons.
Menu Buttons The Edit, Utility, Save, Recall, Help, and Default buttons are called Menu buttons.
Edit button. The Edit button opens Edit menu. See Table E-11 on page E-14 for the
Edit menu map.
Utility button. The Utility button opens Utility menu. See Table E-13 on page E-23
for the Utility menu map.
Save button. The Save button opens the Save menu. See Table E-10 on page E-13
for the Save menu map.
Recall button. The Recall button opens the Recall menu. See Table E-10 on
page E-13 for the Recall menu map.
Default button. The Default button restores the instrument settings to the default
values. When you push this button, you will be prompted on the display with a
pop-up window message requesting you to confirm that you want to restore the
defaults. See Default Setup on page D-1 for the settings when you push the Default
button.
Run Mode buttons. When one of four Run Mode buttons is selected, the menu for
configuring the run mode is displayed on the screen. See State buttons on page 1-7.
State Buttons The Channel Select, CH1/CH2 Output and Run Mode buttons are called State
buttons.
Channel Select button. The Channel Select Ch1 Ch2 button directly controls the
display, toggling between the two channels. This button is used to select the
channel that you are currently interacting with. Only one channel can be selected
at a time.
When you push the Channel Select button on the Edit, Utility, Save, Recall, or Help
screen, the arbitrary/function generator returns to previous display. The displayed
channels do not toggle if you push the Channel Select button on those screen
menus. After restoring the main display area, pushing the Channel Select button
toggles between CH1 and CH2.
Run Mode buttons. Only one Run Mode menu can be selected for each channel.
The Run Mode buttons are unique because they are both State and Menu buttons.
When one of four buttons is selected, that run mode is activated and the menu for
configuring that run mode is displayed on the screen. The selected button is lit with
an LED.
Continuous
Modulation
Sweep
Burst
If your instrument is a dual-channel model, Run Mode can be set independently for
each channel.
Select the Run Mode Menu bezel button from the default screen (see page 1-14)
to display the Run Mode menus. The Continuous mode is selected in Figure 1-7. If
you select Modulation, Sweep, or Burst as the Run Mode, the corresponding bezel
menu is highlighted.
Continuous Mode is
selected (active).
Function Buttons Only one of the Function buttons can be selected for each channel at a time. The
selected button will be lit with an LED.
Sine button. Pushing the Sine button selects the sine waveform, causing the Sine
button LED to turn on. See Table E-1 on page E-3 for the menu map.
Square button. Pushing the Square button selects the square waveform, causing the
Square button LED to turn on. See Table E-1 on page E-3 for the menu map.
Ramp button. Pushing the Ramp button selects the ramp waveform, causing the
Ramp button LED to turn on. See Table E-2 on page E-4 for the menu map.
Pulse button. Pushing the Pulse button selects the pulse waveform, causing the
Pulse button LED to turn on. See Table E-3 on page E-4 for the menu map.
Arb button. Pushing the Arb button causes the Arb waveform menu to be displayed
on the screen, and causes the Arb LED to turn on. See Table E-4 on page E-5 for
the menu map.
More... button. Pushing the More... button causes the More waveform menu to be
displayed on the screen, and causes the More... LED to turn on. See Table E-5 on
page E-6 for the menu map.
Shortcut Buttons The following six buttons are called Shortcut buttons and are provided as shortcuts
for experienced users. You can push this button while viewing any of the display
types. If you are not in view format 1, 2, or 3 (see page 1-3), pushing the shortcut
button will take you to the last view you used and highlight the selected setting.
Frequency/Period button. This button selects the setting that was last used
(Frequency or Period). If Frequency was selected, you can change the shortcut by
selecting Period with the bezel menu. The next time you push the
Frequency/Period button, Period will be selected. This shortcut button allows you
to select the setting and enter their numeric value using the front panel, without
requiring any bezel menu selection.
Amplitude/High button. This button selects the setting that was last used (Ampli-
tude or High Level).
Offset/Low button. This button selects the setting which was last used (Offset or
Low Level).
Duty/Width button. This button only operates when the Pulse function is selected
for the current channel. Otherwise, the button does nothing when pushed. The
instrument remembers which setting (Duty or Width) was last selected from the
bezel menu and highlights that setting when this shortcut button is pushed.
Leading/Trailing button. This button only operates when the Pulse function is
selected for the current channel, otherwise, the button does nothing when pushed.
The instrument remembers which setting (Leading Edge or Trailing Edge) was
last selected from the bezel menu and highlights that setting when this shortcut
button is pushed.
Phase | Delay button. This shortcut button is different from the other buttons. This
button does not toggle between two parameters. For example, if you push the
Phase | Delay shortcut button in the pulse parameter menu, Delay becomes active.
Pushing the Phase | Delay button again will have no effect, because there is no
Phase parameter in the pulse parameter menu. Similarly, when you push the Phase
| Delay button in the Sine, Square, or Ramp parameter menu, Phase becomes
active. Pushing the button again will have no effect, because there is no Delay
parameter in these menus.
Knob and Arrow Keys The general purpose knob can be used to increase and decrease selected numeric
values. The arrow keys (digit select keys) are used to move the underbar to a field
that contains an editable number. This will allow you to change the digit with the
knob. Refer to page 1-15 for entering or changing numeric values using the knob
and the arrow keys.
BNC Connectors Refer to Figure 1-2 on page 1-2 for the locations of the front panel BNC connec-
tors.
CH1 Output. This BNC connector will output the Channel 1 signal. This connector
will be deactivated when the Channel 1 output button is not selected. The load
impedance for this connection can be set in the Output Menu.
CH2 Output. Same functionality as Channel 1 Output. This output is not present in
the single channel instrument model.
Trigger Output. This connector provides a TTL level pulse synchronized with the
Channel 1 output. The connector provides a signal that will allow an oscilloscope
to synchronize with the arbitrary/function generator.
USB Memory The USB Memory connector is a host connector, which allows a USB client
memory device to be connected. You can perform the following tasks:
CAUTION. Do not remove USB memory while writing or reading data. It may cause
data loss and the USB memory may be damaged.
When you attach a USB memory to the instrument, a caution message appears on
the screen. Do not remove the USB memory until the message disappears.
If you remove the USB memory while this caution message is displayed, it may
cause damage to the instrument.
To Unlock Front Panel The front panel may be locked by a remote user while the instrument is being
Controls remotely controlled via GPIB, USB or Ethernet. When the front panel is locked, all
keys and buttons are disabled except the power switch. The “Lock” symbol at the
top right of the screen indicates that the instrument front-panel controls are locked.
To unlock the front-panel, use the remote command or push the front-panel Cancel
button twice in a row. This method is not applied if the arbitrary/function generator
is in the GPIB LLO (Local Lockout) state.
Main display
area Output status
Bezel menu
Level meter
View tab
Main Display Area Pushing the front-panel View button changes the view format of the main display
area. See page 1-3 for screen view formats.
View Tab. The view tabs correspond with the current view format.
Output Status. If the output is set to disable, the Output Off message is displayed
in this area. When you push the front-panel channel output button to enable the
output, the message will disappear.
From the Output menu, you can set the load impedance, invert a waveform, or add
an external signal to the CH1 output. The status will change based on the output
status.
Screen Copy You can save a screen image of the arbitrary/function generator to a USB memory.
Push the front-panel two arrow keys underneath the rotary knob simultaneously
after setting the display to show the screen you want to save as image.
Level Meter. Amplitude level is displayed. To protect your DUT (device under test),
use the Output Menu to set the limit values for high level and low level. Figure 1-9
shows Level Meter.
1 2 3
Message Display Area A message that monitors hardware status such as clock or trigger is displayed in
this area.
The arbitrary/function generator displays a message at the top of the screen, which
conveys the following types of information about hardware status:
You can also display a text message in this area by using the following remote
command. See page 2-21.
DISPlay[:WINDow]:TEXT[:DATA]
Bezel Menu Display Area When you push a front panel button, the instrument displays the corresponding
menu on the right side of the screen. The menu shows the options that are available
when you push the unlabeled bezel buttons directly to the right of the screen. (Some
documentation may also refer to the bezel buttons as side-menu buttons or soft
keys.)
The AFG3000 Series Arbitrary/Function Generators use four types of menu button
status. See Figure 1-10.
Currently selected and active (focused)
Changing Parameters The arbitrary/function generator outputs a sine waveform of 1 MHz frequency with
Using the Bezel Menu 1 Vp-p by default. You can use the following two methods to set or change the
waveform parameters:
Select the Frequency/Period/Phase Menu bezel button from the default display,
you can change the values of frequency, period, or phase.
Numeric Input If you want to change the frequency value, push the Frequency bezel button. The
value of Freq in main display area changes to “selected status”. The Freq is
displayed in black type inside a white box. See Figure 1-13.
Frequency is selected
(active).
Frequency is selected
(active).
To change the value, use the general purpose knob. Turn the knob clockwise to
increase the value; turn the knob counterclockwise to decrease the value.
Frequency is selected
(active).
You can also change the value with the front-panel numeric key-pad. Entering any
value from the numeric key-pad will automatically change the bezel menu to Units.
See Figure 1-16.
After entering the frequency value, push the Units bezel button or the front-panel
Enter button to complete the entry.
To change the amplitude value, push the Top Menu button, and then select the
Amplitude/Level Menu bezel button. You can change the values of amplitude,
offset, high level, or low level.
Changing Parameters The shortcut buttons are provided for experienced users. The buttons allow you to
Using the Shortcut select a setup parameter without using any bezel menu selection. The following
Buttons example shows how the Frequency/Period shortcut button works.
You can use the shortcut buttons while viewing any of the display formats. Push a
shortcut button to display the last view type and highlight the selected parameter
setting. Figure 1-18 is a sample screen of Pulse Width Modulation parameter menu
display.
From Figure 1-18, pushing the Frequency/Period shortcut button will change the
bezel menu to look like Figure 1-19.
Frequency is active.
You can now change the frequency value. If you push the Frequency/Period
shortcut button again, the active parameter will change to Period. See Figure 1-20.
Period is active.
The Frequency/Period shortcut button is used to select the setting that was last
used (Frequency or Period). If Frequency was selected, you can change the
shortcut by pushing the shortcut button again. The next time you push the
Frequency/Period button, Period will be selected.
Rear Panel
Figure 1-21 shows the locations of the instrument rear panel connectors.
Security slot
ADD INPUT
120
VA
LAN
USB Chassis ground screw
EXT REF INPUT. This input is used when synchronizing multiple arbitrary/function
generators or an arbitrary/function generator and another device.
EXT REF OUTPUT. This output is used when synchronizing multiple arbitrary/func-
tion generators or an arbitrary/function generator and another device.
ADD INPUT. (AFG310x and AFG325x) Additional Input connector allows you to
input a signal from some other source and add that signal to CH 1 output.
Security Slot. Use a standard laptop computer security cable to secure your arbi-
trary/function generator to your location.
Chassis Ground Screw. The chassis ground screw is used to ground the arbi-
trary/function generator. Use a unified coarse screw (#6-32, 6.35 mm length or
less).
Command Syntax
You can control the operations and functions of the arbitrary/function generator
through the GPIB interface using commands and queries. The related topics listed
below describe the syntax of these commands and queries. The topics also describe
the conventions that the instrument uses to process them. See the Command Groups
on page 2-9 for a listing of the commands by command group, or use the index to
locate a specific command.
Backus-Naur Form Notation. This manual describes the commands and queries
using Backus-Naur Form (BNF) notation. Refer to Table 2-1 for the symbols that
are used.
Symbol Meaning
<> Defined element
::= Is defined as
| Exclusive OR
{} Group; one element is required
[] Optional; can be omitted
... Previous element(s) may be repeated
() Comment
Command and Query Commands consist of set commands and query commands (usually simply called
Structure commands and queries). Commands change instrument settings or perform a
specific action. Queries cause the instrument to return data and information about
its status.
Most commands have both a set form and a query form. The query form of the
command is the same as the set form except that it ends with a question mark.
For example, the set command DISPlay:CONTrast has a query form
DISPlay:CONTrast?. Not all commands have both a set and a query form; some
commands are set only and some are query only.
A few commands do both a set and query action. For example, the *CAL? command
runs a self-calibration program on the instrument, then returns the result of the cali-
bration.
Table 2-2 lists and describes the five different element types.
Symbol Meaning
<Header> The basic command name. If the header ends with a question mark, the
command is a query. The header may begin with a colon (:) character; if
the command is concatenated with other commands the beginning colon
is required. The beginning colon can never be used with command head-
ers beginning with a star (*).
<Mnemonic> A header subfunction. Some command headers have only one mne-
monic. If a command header has multiple mnemonics, they are always
separated from each other by a colon (:) character.
<Argument> A quantity, quality, restriction, or limit associated with the header. Not all
commands have an argument, while other commands have multiple argu-
ments. Arguments are separated from the header by a <Space>. Argu-
ments are separated from each other by a <Comma>.
<Comma> A single comma between arguments of multiple-argument commands. It
may optionally have white space characters before and after the comma.
<Space> A white space character between command header and argument. It may
optionally consist of multiple white space characters.
Comma
Header
MMEMory:STATe:LOCK 1, ON
Mnemonics Arguments
Space
[:]<Header>[<Space><Argument>[<Comma><Argument>]...]
A command header is made up of one or more mnemonics arranged in a hierar-
chical or tree structure. The first mnemonic is the base or root of the tree and each
subsequent mnemonic is a level or branch of the previous one. Commands at a
higher level in the tree may affect those at a lower level. The leading colon (:)
always returns you to the base of the command tree.
[:]<Header>?
[:]<Header>?[<Space><Argument>[<Comma><Argument>]...]
You can specify a query command at any level within the command tree unless
otherwise noted. These branch queries return information about all the mnemonics
below the specified branch or level.
Query Response
SOURce:PULSe:DCYcle? 50.0
OUTPut:POLarity? NORM
SCPI Commands and The arbitrary/function generator uses a command language based on the SCPI stan-
Queries dard. The SCPI (Standard Commands for Programmable Instruments) standard
was created by a consortium to provide guidelines for remote programming of
instruments. These guidelines provide a consistent programming environment for
instrument control and data transfer. This environment uses defined programming
messages, instrument responses and data formats that operate across all SCPI
instruments, regardless of manufacturer.
You can create commands and queries from these subsystem hierarchy trees.
Commands specify actions for the instrument to perform. Queries return measure-
ment data and information about parameter settings.
Creating Commands SCPI commands are created by stringing together the nodes of a subsystem hier-
archy and separating each node by a colon.
In Figure 2-2, TRIGger is the root node and SEQuence, SLOPe, SOURce, and TIMer
are lower level nodes. To create an SCPI command, start with the root node
TRIGger and move down the tree structure adding nodes until you reach the end of
a branch. Most commands and some queries have parameters; you must include a
value for these parameters. The command descriptions, which begin on page 2-15,
list the valid values for all parameters.
Parameter Types Parameters are indicated by angle brackets, such as <file_name>. There are several
different types of parameters, as listed in Table 2-4. The parameter type is listed
after the parameter. Some parameter types are defined specifically for the arbi-
trary/function generator command set and some are defined by SCPI.
or
#0xxxxx...<LF><&EOI>
boolean Boolean numbers or values ON or ≠ 0
OFF or 0
discrete A list of specific values MIN, MAX
binary Binary numbers #B0110
octal Octal numbers #Q75, #Q3
hexadecimal Hexadecimal numbers (0-9, A-F) #HAA, #H1
NR1 numeric Integers 0, 1, 15, -1
NR2 numeric Decimal numbers 1.2, 3.141516, -6.5
NR3 numeric Floating point numbers 3.1415E-9, -16.1E5
NRf numeric Flexible decimal number that See NR1, NR2, NR3 examples
may be type NR1, NR2, or NR3 in this table
string Alphanumeric characters (must “Testing 1, 2, 3”
be within quotation marks)
Special Characters The Line Feed (LF) character or the New Line (NL) character (ASCII 10), and all
characters in the range of ASCII 127-255 are defined as special characters. These
characters are used in arbitrary block arguments only; using these characters in
other parts of any command yields unpredictable results.
Abbreviating Commands, You can abbreviate most SCPI commands, queries, and parameters to an accepted
Queries, and Parameters short form. This manual shows these commands as a combination of upper and
lower case letters. The upper case letters indicate the accepted short form of a
command, as shown in Figure 2-3. The accepted short form and the long form are
equivalent and request the same action of the instrument.
Long form of a
command SOURce1:FREQuency 100
NOTE. The numeric suffix of a command or query may be included in either the
long form or short form. The arbitrary/function generator will default to “1” if no
suffix is used.
Chaining Commands and You can chain several commands or queries together into a single message. To
Queries create a chained message, first create a command or query, then add a semicolon
(;), and finally add more commands or queries and semicolons until you are done.
If the command following a semicolon is a root node, precede it with a colon (:).
Figure 2-4 illustrates a chained message consisting of several commands and
queries. The chained message should end in a command or query, not a semicolon.
Responses to any queries in your message are separated by semicolons.
If a command or query has the same root and lower-level nodes as the previous
command or query, you can omit these nodes. In Figure 2-5, the second command
has the same root node (SEQuence) as the first command, so these nodes can be
omitted.
:TRIG:SEQ:TIM 2.5;:TRIG:SEQ:SLOP POS;:TRIG:SEQ:SOUR EXT
Units and SI Prefix If the decimal numeric argument refers to voltage, frequency, impedance, or time,
you can express it using SI units instead of using the scaled explicit point input
value format <NR3>. (SI units are units that conform to the System International
d’Unites standard.) For example, you can use the input format 200 mV or 1.0 MHz
instead of 200.0E–3 or 1.0E+6, respectively, to specify voltage or frequency.
General Rules for Using The following are three general rules for using SCPI commands, queries, and
SCPI commands parameters:
You can use single (‘ ’) or double (“ ”) quotation marks for quoted strings,
but you cannot use both types of quotation marks for the same string.
correct “This string uses quotation marks correctly.”
correct ‘This string also uses quotation marks correctly.’
incorrect “This string does not use quotation marks correctly.’
You can use upper case, lower case, or a mixture of both cases for all com-
mands, queries, and parameters.
:SOURCE:FREQUENCY 10MHZ
is the same as
:source:frequency 100mhz
and
:SOURCE:frequency 10MHZ
Command Groups
This section lists the commands organized by functional group. The Command
Descriptions section, starting on page 2-15, lists all commands alphabetically.
Header Description
*CAL? Perform self-calibration and return result status
CALibration[:ALL] Perform self-calibration
DIAGnostic[:ALL] Perform self-test
*TST? Perform self-test and return result status
Display Commands. Display commands let you change the graticule style,
displayed contrast, and other display attributes. Table 2-6 lists and describes
Display commands.
Header Description
DISPlay:CONTrast Set/query the LCD display contrast
DISPlay:SAVer:IMMediate Set screen saver.
DISPlay:SAVer[:STATe] Set/query the screen saver settings
DISPlay[:WINDow]:TEXT[:DATA] Set/query the text message display
DISPlay[:WINDow]:TEXT:CLEar Delete text message
Memory Commands. Memory commands let you change setup memory attributes.
Table 2-7 lists and describes Memory commands.
Header Description
MEMory:STATe:VALid? Query the availability of setup memory
MEMory:STATe:DELete Delete the setup memory
MEMory:STATe:LOCK Set/query the lock of setup memory overwrite and deletion
MEMory:STATe:RECall:AUTo Set/query the recall of last set memory
*RCL Recall instrument setting from setup memory
*SAV Save instrument setting to setup memory
Mass Memory Commands. Mass Memory commands let you change mass memory
attributes. Table 2-8 lists and describes Mass Memory commands.
Header Description
MMEMory:CATalog? Query the status of mass memory
MMEMory:CDIRectory Set/query current directory
MMEMory:DELete Delete file or directory in mass memory
MMEMory:LOAD:STATe Copy instrument setting in mass memory to setup memory
MMEMory:LOAD:TRACe Copy waveform data file in mass memory to edit memory
MMEMory:LOCK[:STATe] Set/query the lock of mass memory overwrite and deletion
MMEMory:MDIRectory Create directory in mass memory
MMEMory:STORe:STATe Save the setup memory status to mass memory
MMEMory:STORe:TRACe Save waveform data file in edit memory to mass memory
Output Commands. Output commands let you set output attributes. Table 2-9 lists
and describes Output commands.
Header Description
OUTPut[1|2]:IMPedance Set/query impedance
OUTPut[1|2]:POLarity Set/query polarity
OUTPut[1|2][:STATe] Set/query output on or off
OUTPut:TRIGger:MODE Set/query the mode of Trigger Output
Source Commands. Source commands let you set waveform output parameters.
Table 2-10 lists and describes Source commands.
Header Description
[SOURce]:ROSCillator:SOURce Set/query clock reference input
[SOURce[1|2]]:AM:STATe Set/query amplitude modulation status
[SOURce[1|2]]:AM:INTernal:FREQuency Set/query internal modulation frequency
[SOURce[1|2]]:AM:INTernal:FUNCtion Set/query modulation waveform setting
[SOURce[1|2]]:AM:INTernal:FUNCtion:EFILe Set/query EFILe setting
[SOURce[1|2]]:AM:SOURce Set/query amplitude modulation source
[SOURce[1|2]]:AM[:DEPTh] Set/query amplitude modulation depth
[SOURce[1|2]]:BURSt:MODE Set/query burst mode
[SOURce[1|2]]:BURSt:NCYCles Set/query burst mode waveform output cycle
[SOURce[1|2]]:BURSt:TDELay Set/query burst mode trigger delay time
Header Description
[SOURce[1|2]]:BURSt [:STATe] Set/query burst mode status
[SOURce[1|2]]:COMBine:FEED Set/query internal noise or external signal
[SOURce[1|2]]:FM:INTernal:FREQuency Set/query internal modulation frequency
[SOURce[1|2]]:FM:INTernal:FUNCtion Set/query internal modulation waveform
[SOURce[1|2]]:FM:INTernal:FUNCtion:EFILe Set/query EFILe setting
[SOURce[1|2]]:FM:SOURce Set/query frequency modulation source
[SOURce[1|2]]:FM:STATe Set/query frequency modulation status
[SOURce[1|2]]:FM [:DEViation] Set/query frequency deviation
[SOURce[1|2]]:FREQuency:CENTer Set/query center frequency
[SOURce[1|2]]:FREQuency:CONCur- Set/query concurrent change of frequency
rent[:STATe]
[SOURce[1|2]]:FREQuency:MODE Set/query sweep status
[SOURce[1|2]]:FREQuency:SPAN Set/query sweep frequency span
[SOURce[1|2]]:FREQuency:STARt Set/query sweep start frequency
[SOURce[1|2]]:FREQuency:STOP Set/query sweep stop frequency
[SOURce[1|2]]:FREQuency [:CW|:FIXed] Set/query output waveform frequency
[SOURce[1|2]]:FSKey:INTernal:RATE Set/query FSK internal modulation rate
[SOURce[1|2]]:FSKey:SOURce Set/query FSK source
[SOURce[1|2]]:FSKey:STATe Set/query FSK status
[SOURce[1|2]]:FSKey [:FREQuency] Set/query FSK hop frequency
[SOURce[1|2]]:FUNCtion:RAMP:SYMMetry Set/query ramp waveform symmetry
[SOURce[1|2]]:FUNCtion [:SHAPe] Set/query output waveform
[SOURce[1|2]]:FUNCtion:EFILe Set/query EFILe name
[SOURce[1|2]]:PHASe:INITiate Initiate output waveform phase synchronization
[SOURce[1|2]]:PHASe[:ADJust] Set/query output waveform phase
[SOURce[1|2]]:PM:INTernal:FREQuency Set/query internal modulation frequency
[SOURce[1|2]]:PM:INTernal:FUNCtion Set/query internal modulation waveform
[SOURce[1|2]]:PM:INTernal:FUNCtion:EFILe Set/query EFILe name
[SOURce[1|2]]:PM:SOURce Set/query phase modulation source
[SOURce[1|2]]:PM:STATe Set/query phase modulation status
[SOURce[1|2]]:PM [:DEViation] Set/query phase modulation deviation
SOURce<3|4>:POWer [:LEVel][:IMMediate] Set/query internal noise level
[:AMPLitude]
[SOURce[1|2]]:PULSe:DCYCle Set/query pulse waveform duty cycle
[SOURce[1|2]]:PULSe:DELay Set/query pulse waveform lead delay
[SOURce[1|2]]:PULSe:HOLD Set/query pulse waveform parameter
[SOURce[1|2]]:PULSe:PERiod Set/query pulse waveform period
[SOURce[1|2]]:PULSe:TRANsition[:LEADing] Set/query pulse waveform leading edge time
[SOURce[1|2]]:PULSe:TRANsition:TRAiling Set/query pulse waveform trailing edge time
[SOURce[1|2]]:PULSe:WIDTh Set/query pulse waveform width
Header Description
[SOURce[1|2]]:PWM:INTernal:FREQuency Set/query pulse width modulation frequency
[SOURce[1|2]]:PWM:INTernal:FUNCtion Set/query pulse width modulation waveform
[SOURce[1|2]]:PWM:INTernal:FUNCtion:EFILe Set/query EFILe name
[SOURce[1|2]]:PWM:SOURce Set/query pulse width modulation source
[SOURce[1|2]]:PWM:STATe Set/query pulse width modulation status
[SOURce[1|2]]:PWM [:DEViation]:DCYCle Set/query pulse width modulation deviation
[SOURce[1|2]]:SWEep:HTIMe Set/query sweep hold time
[SOURce[1|2]]:SWEep:MODE Set/query sweep mode
[SOURce[1|2]]:SWEep:RTIMe Set/query sweep return time
[SOURce[1|2]]:SWEep:SPACing Set/query sweep spacing
[SOURce[1|2]]:SWEep:TIME Set/query sweep time
[SOURce[1|2]]:VOLTage:CONCurrent[:STATe] Set/query concurrent change of amplitude level
[SOURce[1|2]]:VOLTage:LIMit:HIGH Set/query output amplitude upper limit
[SOURce[1|2]]:VOLTage:LIMit:LOW Set/query output amplitude lower limit
[SOURce[1|2]]:VOLTage:UNIT Set/query output amplitude units
[SOURce[1|2]]:VOLTage [:LEVel][:IMMedi- Set/query output amplitude high level
ate]:HIGH
[SOURce[1|2]]:VOLTage [:LEVel][:IMMedi- Set/query output amplitude low level
ate]:LOW
[SOURce[1|2]]:VOLTage [:LEVel][:IMMedi- Set/query output offset voltage
ate]:OFFSet
[SOURce[1|2]]:VOLTage [:LEVel][:IMMediate] Set/query output amplitude
[:AMPLitude]
Status Commands. Status commands let you determine the status of the instrument.
Table 2-11 lists and describes Status commands.
Header Description
*CLS Clear all event registers and queues
*ESE Set/query standard event status enable register
*ESR? Return standard event status register
*PSC Set/query power-on status clear
*SRE Set/query service request enable register
*STB? Read status byte
STATus:OPERation[:EVENt]? Return operation event register
STATus:OPERation:CONDition? Return operation condition register
STATus:OPERation:ENABle Set/query operation enable register
STATus:PRESet Preset SCPI enable register
Header Description
STATus:QUEStionable[:EVENt]? Return questionable event register
STATus:QUEStionable:CONDition? Return questionable condition register
STATus:QUEStionable:ENABle Set/query questionable enable register
Header Description
*IDN? Return identification information
*OPT? Return option information
*RST Reset
SYSTem:BEEPer:STATe Set/query beeper state
SYSTem:BEEPer[:IMMediate] Generate an audible tone
SYSTem:ERRor[:NEXT]? Return error event queue
SYSTem:KCLick[:STATe] Set/query click sound
SYSTem:KLOCk[:STATe] Set/query front panel lock/unlock
SYSTem:PASSword:CDISable Disable protected commands
SYSTem:PASSword[:CENable] Enable protected commands to function
SYSTem:PASSword[:CEN- Return security protection state
able]:STATe?
SYSTem:PASSword:NEW Change current password
SYSTem:SECurity:IMMediate Reset to factory default
SYSTem:ULANguage Set/query language for display screen
SYSTem:VERSion? Return version information
Header Description
*OPC Set/query operation complete
*WAI Wait to continue
Trace Commands. Trace commands let you set the edit memory and user waveform
memory. Table 2-14 lists and describes Trace commands.
Header Description
TRACe|DATA:CATalog? Return user waveform memory status
TRACe|DATA:COPY Copy edit memory (or user waveform memory) content to
user waveform memory (or edit memory)
TRACe|DATA[:DATA] Set/query waveform data to edit memory
TRACe|DATA:DELete[:NAME] Delete user waveform memory contents
TRACe|DATA:DEFine Set edit memory content
TRACe|DATA:LOCK[:STATe] Set/query lock/unlock of user waveform memory
TRACe|DATA:POINts Set/query number of points for waveform data in edit memory
TRACe|DATA[:DATA]:LINE Write waveform data with interpolation
TRACe|DATA[:DATA]:VALue Set/query waveform data in edit memory
Trigger Commands. Trigger commands let you control all aspects of arbitrary/func-
tion generator triggering. Table 2-15 lists and describes Trigger commands.
Header Description
ABORt Initialize trigger system
*TRG Force trigger event
TRIGger[:SEQuence]:SLOPe Set/query the slope of trigger signal
TRIGger[:SEQuence]:SOURce Set/query the source of trigger signal
TRIGger[:SEQuence]:TIMer Set/query the period of internal clock
TRIGger[:SEQuence] [:IMMediate] Generate a trigger event
AFG Control. AFG Control command copies setups between two channels.
Header Description
AFGControl:CSCopy Copy CH1 (or CH2) setup parameters to CH2 (or CH1)
Header Description
HCOPy:SDUMp[:IMMediate] Copy screen image and save the file to USB memory.
Command Descriptions
Commands either set or query instrument values. Some commands both set and
query, some only set, and some only query.
Group Trigger
Syntax ABORt
Arguments None
Examples ABORt
resets the trigger system.
Arguments CH1|CH2
*CAL?
This command performs an internal calibration and returns 0 (Pass) or a calibration
error code.
NOTE. The self-calibration can take several minutes to complete. During this time,
the arbitrary/function generator does not execute any commands. Do not power off
the instrument during the self-calibration.
Syntax *CAL?
Arguments None
Returns <NR1>
where
<NR1>=0 indicates that the internal calibration completed without errors.
Examples *CAL?
performs an internal calibration and returns results. For example, it might return 0,
which indicates that the calibration completed without any errors.
CALibration[:ALL]
The CALibration[:ALL] command performs an internal calibration.
NOTE. The self-calibration can take several minutes to complete. During this time,
the arbitrary/function generator does not execute any commands. Do not power off
the instrument during the self-calibration.
Syntax CALibration[:ALL]
CALibration[:ALL]?
Arguments None
Returns <NR1>
Examples CALibration:ALL
performs an internal calibration.
CALibration:ALL?
performs an internal calibration and returns results. For example, it might return 0,
which indicates that the calibration completed without any errors.
Group Status
Syntax *CLS
Arguments None
Examples *CLS
clears all the event registers and queues.
DIAGnostic[:ALL]
The DIAGnostic[:ALL] command performs a self-test. The DIAGnostic[:ALL]?
command returns the results after executing the test.
NOTE. The self-test can take several minutes to complete. During this time, the
arbitrary/function generator does not execute any commands. Do not power off the
instrument during the self-test.
Syntax DIAGnostic[:ALL]
DIAGnostic[:ALL]?
Arguments None
Returns <NR1>
where
<NR1>=0 indicates that the self-test completed without errors.
Examples DIAGnostic:ALL
performs self-test.
DIAGnostic:ALL?
performs self-test and might return an error code.
DISPlay:CONTrast
This command sets or queries the contrast of the LCD display.
Group Display
DISPlay:CONTrast? [MINimum|MAXimum]
Arguments <contrast>::=<NR2>
where
<NR2> is a range of display contrast from 0.00 through 1.00 (resolution: 3 digits).
The larger the value, the greater the screen contrast.
Returns <NR2>
The screen saver will be enabled immediately (without waiting for five minutes).
Group Display
Syntax DISPlay:SAVer:IMMediate
Arguments None
Examples DISPlay:SAVer:IMMediate
sets the screen saver state to on.
DISPlay:SAVer[:STATe]
This command sets or queries the screen saver setting of the LCD display. When
enabled, the screen saver function automatically starts if no operations are applied
to the instrument front panel for five minutes.
Group Display
DISPlay:SAVer[:STATe]?
Returns <NR1>
DISPlay[:WINDow]:TEXT[:DATA]
The DISPlay[:WINDow]:TEXT[:DATA] command displays a text message on the
instrument screen.
The displayable characters are ASCII code 32 through 126, and the instrument can
display approximately 64 characters.
Group Display
DISPlay[:WINDow]:TEXT[:DATA]?
Arguments <string>
Returns <string>
Examples DISPlay:WINDow:TEXT:DATA?
returns the currently displayed text message.
Group Display
Syntax DISPlay[:WINDow]:TEXT:CLEar
Arguments None
Examples DISPlay:WINDow:TEXT:CLEar
clears the text message from the screen.
*ESE
This command sets or queries the bits in the Event Status Enable Register (ESER)
used in the status and events reporting system of the arbitrary/function generator.
The query command returns the contents of the ESER.
Group Status
*ESE?
Arguments <bit_value>::=<NR1>
where:
<NR1> is a value in the range of 0 through 255. The binary bits of the ESER are
set according to this value.
Returns <bit_value>
*ESE?
might return 186, indicating that the ESER contains the binary value 10111010.
*ESR?
This query-only command returns the contents of the Standard Event Status
Register (SESR) used in the status events reporting system in the arbitrary/function
generator. *ESR also clears the SESR (since reading the SESR clears it).
Group Status
Syntax *ESR?
Arguments None
Returns <NR1>
indicates that the contents of the SESR as a decimal integer.
Examples *ESR?
might return 181, which indicates that the SESR contains the binary number
10110101.
Syntax HCOPy:SDUMp[:IMMediate]
Arguments None
Examples HCOPy:SDUMp:IMMediate
copies the screen image and may create a file TEK00001.BMP in a USB memory.
*IDN?
This query-only command returns identification information on the arbitrary/func-
tion generator.
Group System
Syntax *IDN?
Arguments None
Examples *IDN?
might return the following response:
TEKTRONIX,AFG3102,C100101,SCPI:99.0 FV:1.0
MEMory:STATe:VALid?
This query-only command returns the availability of a setup memory.
Group Memory
Returns <NR1>
Examples MEMory:STATe:VALid? 0
might return 1 if the specified setup memory has been saved.
Group Memory
Examples MEMory:STATe:DELete 1
deletes the contents of specified setup memory.
MEMory:STATe:LOCK
This command sets or queries whether to lock the specified setup memory. If you
lock a setup memory, you cannot overwrite or delete the setup file.
You cannot execute this command for the setup memory of location number 0 (last
setup memory).
Group Memory
MEMory:STATe:LOCK?{1|2|3|4}
OFF or <NR1>=0 allows you to overwrite or delete the specified location of setup
memory.
Returns <NR1>
MEMory:STATe:RECall:AUTo
This command sets or queries whether to enable the automatic recall of last setup
memory when powered-on. The next time you apply the power, the arbitrary/func-
tion generator will automatically recall the settings you used when you powered off
the instrument.
If you select OFF, the default setups are recalled when you power on the instru-
ment.
Group Memory
MEMory:STATe:RECall:AUTo?
Arguments ON or <NR1>≠0 enables the recall of the setup memory you last used before
powering off the instrument.
Returns <NR1>
Examples MEMory:STATe:RECall:AUTo ON
sets the instrument to recall the last setup memory when powered-on.
MMEMory:CATalog?
This query-only command returns the current state of the mass storage system
(USB memory).
Syntax MMEMory:CATalog?
Arguments None
Returns <NR1>,<NR1>[,<file_name>,<file_type>,<file_size>]...
where:
The first <NR1> indicates that the total amount of storage currently used, in bytes.
The second <NR1> indicates that the free space of mass storage, in bytes.
Examples MMEMory:CATalog?
might return the following response:
32751616,27970560,”SAMPLE1.TFS,,5412”
MMEMory:CDIRectory
This command changes the current working directory in the mass storage system.
MMEMory:CDIRectory?
Arguments <directory_name>::=<string> indicates the current working directory for the mass
storage system.
If you do not specify a parameter, the directory is set to the *RST value.
At *RST, this parameter is set to the root.
Returns <directory_name>::=<string>
When you power off the instrument, the setups are automatically overwritten in the
setup memory 0 (last setup memory).
Syntax MMEMory:LOAD:STATe{0|1|2|3|4},<file_name>
MMEMory:LOCK[:STATe]
This command sets or queries whether to lock a file or directory in the mass storage
system. If you lock a file or directory, you cannot overwrite or delete it.
Syntax MMEMory:LOCK[:STATe]<file_name>,{ON|OFF|<NR1>}
MMEMory:LOCK[:STATe]<file_name>?
OFF or <NR1>=0 allows you to overwrite or delete a file or directory in the mass
storage system.
Returns <NR1>
Syntax MMEMory:STORe:STATe{0|1|2|3|4},<file_name>
Arguments <file_name>::=<string> specifies a file name in the mass storage system. The
<file_name> includes path. Path separators are forward slashes (/).
*OPC
This command generates the operation complete message by setting bit 0 in the
Standard Event Status Register (SESR) when all pending commands that generate
an OPC message are complete.
The query command places the ASCII character “1” into the output queue when all
such OPC commands are complete.
Group Synchronization
Syntax *OPC
*OPC?
Arguments None
Examples *OPC?
might return 1 to indicate that all pending OPC operations are finished.
*OPT?
This query-only command returns a list of the options installed in your arbi-
trary/function generator.
Group System
Syntax *OPT?
Arguments None
Returns <OPT>[,<OPT>[,<OPT>[,<OPT>]]]
Examples *OPT?
might return 0, which indicates no option is installed in the instrument.
OUTPut[1|2]:IMPedance
The OUTPut:IMPedance command sets the output load impedance for the specified
channel. The specified value is used for amplitude, offset, and high/low level
settings. You can set the impedance to any value from 1 Ω to 10 kΩ with resolution
of 1 Ω or 3 digits. The default value is 50 Ω .
Group Output
Syntax OUTPut[1|2]:IMPedance{<ohms>|INFinity|MINimum|MAXimum}
OUTPut[1|2]:IMPedance?[MINimum|MAXimum]
Arguments <ohms>::=<NR3>[<units>]
where
<units>::=OHM
Returns <ohms>::=<NR3>
OUTPut[1|2]:POLarity
This command inverts a specified output waveform relative to the offset level. The
query command returns the polarity for the specified channel.
Group Output
Syntax OUTPut[1|2]:POLarity{NORMal|INVerted}
OUTPut[1|2]:POLarity?
Returns NORM|INV
OUTPut[1|2][:STATe]
This command sets or query whether to enable the arbitrary/function generator
output for the specified channel.
Group Output
OUTPut[1|2][:STATe]?
Returns <NR1>
Examples OUTPut1:STATe ON
sets the arbitrary/function generator CH 1 output to ON.
OUTPut:TRIGger:MODE
This command sets or queries the mode (trigger or sync) for Trigger Output signal.
When the burst count is set to Inf-Cycles in burst mode, TRIGger indicates that the
infinite number of cycles of waveform will be output from the Trigger Output
connector.
When the burst count is set to Inf-Cycles in burst mode, SYNC indicates that one
pulse waveform is output from the Trigger Output connector when the Inf-Cycles
starts.
When Run Mode is specified other than Burst Inf-Cycles, TRIGger and SYNC
have the same effect.
Group Output
OUTPut:TRIGger:MODE?
Returns TRIG|SYNC
*PSC
This command sets and queries the power-on status flag that controls the automatic
power-on execution of SRER and ESER. When *PSC is true, SRER and ESER are
set to 0 at power-on. When *PSC is false, the current values in the SRER and ESER
are preserved in nonvolatile memory when power is shut off and are restored at
power-on.
Group Status
*PSC?
Arguments <NR1>=0 sets the power-on status clear flag to false, disables the power-on clear,
and allows the instrument to possibly assert SRQ after power-on.
<NR1>≠0 sets the power-on status clear flag true. Sending *PSC 1 therefore
enables the power-on status clear and prevents any SRQ assertion after power-on.
Returns <NR1>
Examples *PSC 0
sets the power-on status clear flag to false.
Group Memory
Examples *RCL 3
restores the instrument from a copy of the settings stored in memory location 3.
Group System
Syntax *RST
Arguments None
Examples *RST
resets the arbitrary/function generator settings to the factory defaults.
Group Memory
Examples *SAV 2
saves the current instrument state in the memory location 2.
[SOURce[1|2]]:AM[:DEPTh]
This command sets or queries the modulation depth of AM modulation for the
specified channel. You can set the modulation depth from 0.0% to 120.0% with
resolution of 0.1%.
Group Source
Syntax [SOURce[1|2]]:AM:DEPTh{<depth>|MINimum|MAXimum}
[SOURce[1|2]]:AM:DEPTh?[MINimum|MAXimum]
Arguments <depth>::=<NR2>[<units>]
where
<NR2> is the depth of modulating frequency.
<units>::=PCT
Returns <depth>
[SOURce[1|2]]:AM:INTernal:FREQuency
This command sets or queries the internal modulation frequency of AM modula-
tion for the specified channel. You can use this command only when the internal
modulation source is selected. You can set the internal modulation frequency from
2 mHz to 50.00 kHz with resolution of 1 mHz.
Group Source
Syntax [SOURce[1|2]]:AM:INTernal:FREQuency{<frequency>|MINimum|MAXimum}
[SOURce[1|2]]:AM:INTernal:FREQuency?[MINimum|MAXimum]
Arguments <frequency>::=<NRf>[<units>]
where
<NRf> is the modulation frequency.
<units>::=[Hz | kHz | MHz]
Returns <frequency>
[SOURce[1|2]]:AM:INTernal:FUNCtion
This command sets or queries the modulating waveform of AM modulation for the
specified channel. You can use this command only when the internal modulation
source is selected.
If you specify EFILe when there is no EFILe or the EFILe is not yet defined, this
command causes an error.
Group Source
[SOURce[1|2]]:AM:INTernal:FUNCtion?
Arguments SINusoid|SQUare|TRIangle|RAMP|NRAMp|PRNoise
One of six types of function waveform can be selected as a modulating signal.
USER[1]|USER2|USER3|USER4|EMEMory
A user defined waveform saved in the user waveform memory or the EMEMory
can be selected as a modulating signal.
EFILe
EFILe is used as a modulating signal.
Returns SIN|SQU|TRI|RAMP|NRAM|PRN|USER1|USER2|USER3|USER4|EMEMory|EFILe
[SOURce[1|2]]:AM:INTernal:FUNCtion:EFILe
This command sets or queries an EFILe name used as a modulating waveform for
AM modulation. A file name must be specified in the mass storage system. This
command returns “ ” if there is no file in the mass storage.
Group Source
[SOURce[1|2]]:AM:INTernal:FUNCtion:EFILe?
Arguments <file_name>::=<string> specifies a file name in the mass storage system. The
<file_name> includes path. Path separators are forward slashes (/).
Returns <file_name>
[SOURce[1|2]]:AM:SOURce
This command sets or queries the source of modulating signal of AM modulation
for the specified channel.
Group Source
[SOURce[1|2]]:AM:SOURce?
Arguments INTernal means that the carrier waveform is modulated with an internal source.
EXTernal means that the carrier waveform is modulated with an external source.
Returns INT|EXT
[SOURce[1|2]]:AM:STATe
This command enables or disables AM modulation for the specified channel. The
query command returns the state of AM modulation.
Group Source
[SOURce[1|2]]:AM:STATe?
Returns <NR1>
Examples SOURce1:AM:STATe ON
enables the CH 1 AM modulation.
[SOURce[1|2]]:BURSt:MODE
This command sets or queries the burst mode for the specified channel.
Group Source
Syntax [SOURce[1|2]]:BURSt:MODE{TRIGgered|GATed}
[SOURce[1|2]]:BURSt:MODE?
Arguments TRIGgered means that triggered mode is selected for burst mode.
Returns TRIG|GAT
[SOURce[1|2]]:BURSt:NCYCles
This command sets or queries the number of cycles (burst count) to be output in
burst mode for the specified channel. The query command returns 9.9E+37 if the
burst count is set to INFinity.
Group Source
[SOURce[1|2]]:BURSt:NCYCles? [MINimum|MAXimum]
Arguments <cycles>::=<NRf>
where
<NRf> is the burst count.
The burst count ranges from 1 to 1,000,000.
Returns <cycles>
Examples SOURce1:BURSt:NCYCles 2
sets the CH 1 burst count to 2.
[SOURce[1|2]]:BURSt[:STATe]
This command enables or disables the burst mode for the specified channel. The
query command returns the state of burst mode.
Group Source
[SOURce[1|2]]:BURSt:STATe?
Returns <NR1>
Examples SOURce1:BURSt:STATe ON
enables the burst mode for the CH 1.
[SOURce[1|2]]:BURSt:TDELay
This command sets or queries delay time in the burst mode for the specified
channel. It specifies a time delay between the trigger and the signal output. This
command is available only in the Triggered burst mode.
Group Source
[SOURce[1|2]]:BURSt:TDELay?[MINimum|MAXimum]
Arguments <delay>::=<NRf>[<units>]
where
<units>::=[s | ms | μs | ns]
Returns <delay>
[SOURce[1|2]]:COMBine:FEED
This command sets or queries whether to add the internal noise or an external
signal to an output signal for the specified channel.
When you specify the internal noise, you can set or query the noise level by
SOURce<3|4>:POWer[:LEVel][:IMMediate][:AMPLitude] command.
To disable the internal noise add or the external signal add function, specify “”.
You can add an external signal to the CH 1 output signal of the AFG3100 and
AFG3200 series arbitrary/function generators.
Both the internal noise and an external signal can be added simultaneously to the
arbitrary/function generator.
Group Source
SOURce2:COMBine:FEED [“NOISe”|“”]
[SOURce[1|2]]:COMBine:FEED?
Arguments NOISe indicates that the internal noise is added to the output signal.
EXTernal indicates that an external signal is added to the CH 1 output signal of the
AFG3100 or AFG3200 series arbitrary/function generators.
BOTH indicates that the internal noise and an external signal are added to the CH 1
output signal of the AFG3100 or AFG3200 series arbitrary/function generators.
“” disables the internal noise add and external signal add function.
Returns “NOIS”|“EXT”|“BOTH”|“”
[SOURce[1|2]]:FM[:DEViation]
This command sets or queries the peak frequency deviation of FM modulation for
the specified channel. The setting range of frequency deviation depends on the
waveform selected as the carrier. For more information, refer to the specifications
page of Quick Start User Manual.
Group Source
[SOURce[1|2]]:FM:DEViation?[MINimum|MAXimum]
Arguments <deviation>::=<NRf>[<units>]
where
<NRf> is the frequency deviation.
<units>::=[Hz | kHz | MHz]
Returns <deviation>
[SOURce[1|2]]:FM:INTernal:FREQuency
This command sets or queries the internal modulation frequency of FM modulation
for the specified channel. You can use this command only when the internal modu-
lation source is selected.
You can set the internal modulation frequency from 2 mHz to 50.00 kHz with reso-
lution of 1 mHz.
Group Source
[SOURce[1|2]]:FM:INTernal:FREQuency?[MINimum|MAXimum]
Arguments <frequency>::=<NRf>[<units>]
where
<NRf> is the modulation frequency.
<units>::=[Hz | kHz | MHz]
Returns <frequency>
[SOURce[1|2]]:FM:INTernal:FUNCtion
This command sets or queries the modulating waveform of FM modulation for the
specified channel. You can use this command only when the internal modulation
source is selected.
If you specify EFILe when there is no EFILe or the EFILe is not yet defined, this
command causes an error.
Group Source
Syntax [SOURce[1|2]]:FM:INTernal:FUNCtion{SINusoid|SQUare|TRIangle|RAMP|
NRAMp|PRNoise|USER[1]|USER2|USER3|USER4|EMEMory|EFILe}
[SOURce[1|2]]:FM:INTernal:FUNCtion?
Arguments SINusoid|SQUare|TRIangle|RAMP|NRAMp|PRNoise
One of six types of function waveform can be selected as a modulating signal.
USER[1]|USER2|USER3|USER4|EMEMory
A user defined waveform saved in the user waveform memory or the EMEMory
can be selected as a modulating signal.
EFILe
EFILe is used as a modulating signal.
Returns SIN|SQU|TRI|RAMP|NRAM|PRN|USER1|USER2|USER3|USER4|EMEMory|EFILe
[SOURce[1|2]]:FM:INTernal:FUNCtion:EFILe
This command sets or queries an EFILe name used as a modulating waveform for
FM modulation. A file name must be specified in the mass storage system. This
command returns “ ” if there is no file in the mass storage.
Group Source
[SOURce[1|2]]:FM:INTernal:FUNCtion:EFILe?
Arguments <file_name>::=<string> specifies a file name in the mass storage system. The
<file_name> includes path. Path separators are forward slashes (/).
Returns <file_name>
[SOURce[1|2]]:FM:SOURce
This command sets or queries the source of modulating signal of FM modulation
for the specified channel.
Group Source
[SOURce[1|2]]:FM:SOURce?
Arguments INTernal means that the carrier waveform is modulated with the internal source.
EXTernal means that the carrier waveform is modulated with an external source.
Returns INT|EXT
[SOURce[1|2]]:FM:STATe
This command enables or disables FM modulation. The query command returns
the state of FM modulation.
Group Source
[SOURce[1|2]]:FM:STATe?
Returns <NR1>
Examples SOURce1:FM:STATe ON
enables the CH 1 FM modulation.
[SOURce[1|2]]:FREQuency:CENTer
This command sets or queries the center frequency of sweep for the specified
channel. This command is always used with the
[SOURce[1|2]]:FREQuency:SPAN command. The setting range of center
frequency depends on the waveform selected for sweep.
Group Source
[SOURce[1|2]]:FREQuency:CENTer?
Arguments <frequency>::=<NRf>[<units>]
where
<NRf> is the center frequency.
<units>::=[Hz | kHz | MHz]
Returns <frequency>
[SOURce[1|2]]:FREQuency:CONCurrent[:STATe]
This command enables or disables the function to copy the frequency (or period)
of one channel to another channel.
Group Source
[SOURce[1|2]]:FREQuency:CONCurrent?
Returns <NR1>
Examples SOURce1:FREQuency:CONCurrent ON
copies the frequency value of CH 1 to CH 2.
[SOURce[1|2]]:FREQuency[:CW|:FIXed]
This command sets or queries the frequency of output waveform for the specified
channel. This command is available when the Run Mode is set to other than Sweep.
The setting range of output frequency depends on the type of output waveform. If
you change the type of output waveform, it might change the output frequency
because changing waveform types impacts on the setting range of output
frequency. The resolution is 1 μHz or 12 digits. For more information on the setting
range, refer to the specifications page of Quick Start User Manual.
Group Source
[SOURce[1|2]]:FREQuency[:CW|:FIXed]?[MINimum|MAXimum]
Arguments <frequency>::=<NRf>[<units>]
where
<NRf> is the output frequency.
<units>::=[Hz | kHz | MHz]
Returns <frequency>
[SOURce[1|2]]:FREQuency:MODE
This command sets or queries the frequency sweep state. You can select sine,
square, ramp, or arbitrary waveform for sweep. The arbitrary/function generator
automatically changes to the Continuous mode if any waveform is selected other
than sine, square, ramp, or an arbitrary waveform.
Group Source
[SOURce[1|2]]:FREQuency:MODE?
SWEep means that the output frequency is controlled by the sweep command set.
The sweep is valid.
Returns CW|FIXed|SWEep
[SOURce[1|2]]:FREQuency:SPAN
This command sets or queries the span of frequency sweep for the specified
channel. This command is always used with the
[SOURce[1|2]]:FREQuency:CENTer command. The setting range of frequency
span depends on the waveform selected for sweep.
Group Source
[SOURce[1|2]]:FREQuency:SPAN? [MINimum|MAXimum]
Arguments <frequency>::=<NRf>[<units>]
where
<NRf> is the frequency span.
<units>::=[Hz | kHz | MHz]
Returns <frequency>
[SOURce[1|2]]:FREQuency:STARt
This command sets or queries the start frequency of sweep for the specified
channel. This command is always used with the
[SOURce[1|2]]:FREQuency:STOP command. The setting range of start frequency
depends on the waveform selected for sweep. For more information on the setting
range, refer to the specifications page of Quick Start User Manual.
Group Source
[SOURce[1|2]]:FREQuency:STARt? [MINimum|MAXimum]
Arguments <frequency>::=<NRf>[<units>]
where
<NRf> is the start frequency.
<units>::=[Hz | kHz | MHz]
Returns <frequency>
[SOURce[1|2]]:FREQuency:STOP
This command sets or queries the start frequency of sweep for the specified
channel. This command is always used with the
[SOURce[1|2]]:FREQuency:STARt command. The setting range of stop
frequency depends on the waveform selected for sweep. For more information on
the setting range, refer to the specifications page of Quick Start User Manual.
Group Source
[SOURce[1|2]]:FREQuency:STOP? [MINimum|MAXimum]
Arguments <frequency>::=<NRf>[<units>]
where
<NRf> is the stop frequency.
<units>::=[Hz | kHz | MHz]
Returns <frequency>
[SOURce[1|2]]:FSKey[:FREQuency]
This command sets or queries the hop frequency of FSK modulation for the spec-
ified channel.
Group Source
[SOURce[1|2]]:FSKey[:FREQuency]? [MINimum|MAXimum]
Arguments <frequency>::=<NRf>[<units>]
where
<NRf> is the hop frequency.
<units>::=[Hz | kHz | MHz]
Returns <frequency>
[SOURce[1|2]]:FSKey:INTernal:RATE
This command sets or queries the internal modulation rate of FSK modulation for
the specified channel. You can use this command only when the internal modula-
tion source is selected.
Group Source
[SOURce[1|2]]:FSKey:INTernal:RATE?[MINimum|MAXimum]
Arguments <rate>::=<NRf>[<units>]
where
<NRf> is the modulation rate.
<units>::=[Hz | kHz | MHz]
Returns <rate>
[SOURce[1|2]]:FSKey:SOURce
This command sets or queries the source of modulation signal of FSK modulation
for the specified channel.
Group Source
[SOURce[1|2]]:FSKey:SOURce?
Arguments INTernal means that the carrier waveform is modulated with an internal source.
EXTernal means that the carrier waveform is modulated with an external source.
Returns INT|EXT
[SOURce[1|2]]:FSKey:STATe
This command enables or disables FSK modulation. The query command returns
the state of FSK modulation.You can select a sine, square, ramp, or arbitrary wave-
form for the carrier waveform.
Group Source
[SOURce[1|2]]:FSKey:STATe?
Returns <NR1>
Examples SOURce1:FSKey:STATe ON
enables the CH 1 FSK modulation.
[SOURce[1|2]]:FUNCtion:EFILe
This command sets or queries an EFILe name used as an output waveform. A file
name must be specified in the mass storage system. This command returns “ ” if
there is no file in the mass storage.
Group Source
[SOURce[1|2]]:FUNCtion:EFILe?
Arguments <file_name>::=<string> specifies a file name in the mass storage system. The
<file_name> includes path. Path separators are forward slashes (/).
Returns <file_name>
[SOURce[1|2]]:FUNCtion:RAMP:SYMMetry
This command sets or queries the symmetry of ramp waveform for the specified
channel. The setting range is 0.0% to 100.0%.
Group Source
[SOURce[1|2]]:FUNCtion:RAMP:SYMMetry? [MINimum|MAXimum]
Arguments <symmetry>::=<NR2>[<units>]
where
<NR2> is the symmetry.
<units>::=PCT
Returns <symmetry>
[SOURce[1|2]]:FUNCtion[:SHAPe]
This command sets or queries the shape of the output waveform. When the speci-
fied user memory is deleted, this command causes an error if you select the user
memory.
Group Source
[SOURce[1|2]]:FUNCtion[:SHAPe]?
Arguments SINusoid|SQUare|PULSe|RAMP|PRNoise|DC|SINC|GAUSsian|
LORentz|ERISe|EDECay|HAVersine
The following table shows the combination of modulation type and the shape of
output waveform.
If you select a waveform shape that is not allowed with a particular modulation,
sweep, or burst, the Run mode will automatically be changed to Continuous.
If you specify EFILe when there is no EFILe or the EFILe is not yet defined, this
command causes an error.
If you change the type of output waveform, it might change the output frequency
because changing waveform types impacts the setting range of output frequency.
USER[1]|USER2|USER3|USER4|EMEMory
A user defined waveform saved in the user waveform memory or the EMEMory
can be selected as an output waveform.
EFILe
EFILe is specified as an output waveform.
Returns SIN|SQU|PULS|RAMP|PRN|DC|SINC|GAUS|LOR|ERIS|EDEC|HARV|USER1|USER2
|USER3|USER4|EMEMory|EFILe
[SOURce[1|2]]:PHASe[:ADJust]
This command sets or queries the phase of output waveform for the specified
channel. You can set the value in radians or degrees. If no units are specified, the
default is RAD. The query command returns the value in RAD.
This command is supported when you select a waveform other than DC, Noise, and
Pulse.
Group Source
[SOURce[1|2]]:PHASe[:ADJust]? [MINimum|MAXimum]
Arguments <phase>::=<NR3>[<units>]
where
<NR3> is the phase of output frequency.
<units>::=[RAD | DEG]
If <units> are omitted, RAD is specified automatically. The setting ranges are:
Returns <phase>
Group Source
Syntax [SOURce[1|2]]:PHASe:INITiate
Arguments None
Examples SOURce1:PHASe:INITiate
synchronizes the phase of CH 1 and CH 2 output signals.
[SOURce[1|2]]:PM[:DEViation]
This command sets or queries the peak frequency deviation of PM modulation for
the specified channel.
Group Source
[SOURce[1|2]]:PM:DEViation? [MINimum|MAXimum]
Arguments <deviation>::=<NR3>[<units>]
where
<NR3> is the phase deviation.
<units>::=[RAD | DEG]
If <units> are omitted, RAD is specified automatically. The setting ranges are:
Returns <deviation>
[SOURce[1|2]]:PM:INTernal:FREQuency
This command sets or queries the internal modulation frequency of PM modulation
for the specified channel. You can use this command only when the internal modu-
lation source is selected.
You can set the internal modulation frequency from 2 mHz to 50.00 kHz with reso-
lution of 1 mHz.
Group Source
[SOURce[1|2]]:PM:INTernal:FREQuency?[MINimum|MAXimum]
Arguments <frequency>::=<NRf>[<units>]
where
<NRf> is the modulation frequency.
<units>::=[Hz | kHz | MHz]
Returns <frequency>
[SOURce[1|2]]:PM:INTernal:FUNCtion
This command sets or queries the modulating waveform of PM modulation for the
specified channel. You can use this command only when the internal modulation
source is selected.
If you specify EFILe when there is no EFILe or the EFILe is not yet defined, this
command causes an error.
Group Source
[SOURce[1|2]]:PM:INTernal:FUNCtion?
Arguments SINusoid|SQUare|TRIangle|RAMP|NRAMp|PRNoise
One of six types of function waveform can be selected as a modulating signal.
USER[1]|USER2|USER3|USER4|EMEMory
A user defined waveform saved in the user waveform memory or the EMEMory
can be selected as a modulating signal.
EFILe
EFILe is used as a modulating signal.
Returns SIN|SQU|TRI|RAMP|NRAM|PRN|USER1|USER2|USER3|USER4|EMEMory|EFILe
[SOURce[1|2]]:PM:INTernal:FUNCtion:EFILe
This command sets or queries an EFILe name used as a modulating waveform for
PM modulation. A file name must be specified in the mass storage system. This
command returns “ ” if there is no file in the mass storage.
Group Source
[SOURce[1|2]]:PM:INTernal:FUNCtion:EFILe?
Arguments <file_name>::=<string> specifies a file name in the mass storage system. The
<file_name> includes path. Path separators are forward slashes (/).
Returns <file_name>
[SOURce[1|2]]:PM:SOURce
This command sets or queries the source of modulation signal of PM modulation
for the specified channel.
Group Source
[SOURce[1|2]]:PM:SOURce?
Arguments INTernal means that the carrier waveform is modulated with an internal source.
EXTernal means that the carrier waveform is modulated with an external source.
Returns INT|EXT
[SOURce[1|2]]:PM:STATe
This command enables or disables PM modulation. The query command returns
the state of PM modulation.You can select a sine, square, ramp, or arbitrary wave-
form for the carrier waveform.
Group Source
[SOURce[1|2]]:PM:STATe?
Returns <NR1>
Examples SOURce1:PM:STATe ON
enables the CH 1 PM modulation.
SOURce<3|4>:POWer[:LEVel][:IMMediate][:AMPLitude]
This command sets or queries the internal noise level which applies to the output
signal for the specified channel. The noise level represents the percent against
current amplitude level. The setting range is 0 to 50%.
This command is available when Run Mode is set to Continuous, Burst, or Sweep.
You can set or query whether to add the internal noise to the output signal using the
[SOURce[1|2]]:COMBine:FEED command.
Group Source
SOURce<3|4>:POWer[:LEVel][:IMMediate][:AMPLitude]?[MINimum
|MAXimum]
Arguments <percent>::=<NR2>[<units>]
where
<NR2> is the noise level.
<units>::=PCT
Returns <percent>
[SOURce[1|2]]:PULSe:DCYCle
This command sets or queries the duty cycle of the pulse waveform for the speci-
fied channel. The setting range is 0.001% to 99.999% in increments of 0.001.
The arbitrary/function generator will hold the settings of leading edge and trailing
edge when the duty cycle is varied.
Group Source
[SOURce[1|2]]:PULSe:DCYCle? [MINimum|MAXimum]
Arguments <percent>::=<NR2>[<units>]
where
<NR2> is the duty cycle.
<units>::=PCT
Returns <percent>
[SOURce[1|2]]:PULSe:DELay
This command sets or queries the lead delay of the pulse waveform for the speci-
fied channel.
Group Source
[SOURce[1|2]]:PULSe:DELay?[MINimum|MAXimum]
Arguments <delay>::=<NR2>[<units>]
where <NR2> is the lead delay.
<units>::=[ns | μs | ms | s]
Setting range:
0 ns to Pulse Period (Continuous mode)
0 ns to Pulse Period – {Pulse Width + 0.8 × (Leading Edge Time + Trailing Edge
Time)} (Triggered/Gated burst mode)
Returns <delay>
[SOURce[1|2]]:PULSe:HOLD
The [SOURce[1|2]]:PULSe:HOLD command sets the arbitrary/function generator
to hold either pulse width or pulse duty.
Group Source
[SOURce[1|2]]:PULSe:HOLD?
Arguments WIDTh means that the arbitrary/function generator holds the pulse width setting.
DUTY means that the arbitrary/function generator holds the pulse duty setting.
Returns WIDT|DUTY
[SOURce[1|2]]:PULSe:PERiod
This command sets or queries the period for pulse waveform.
Group Source
[SOURce[1|2]]:PULSe:PERiod?[MINimum|MAXimum]
Arguments <period>::=<NRf>[<units>]
where
<NRf> is the pulse period.
<units>::=[ns | μs | ms | s]
Returns <period>
[SOURce[1|2]]:PULSe:TRANsition[:LEADing]
This command sets or queries the leading edge time of pulse waveform.
Group Source
[SOURce[1|2]]:PULSe:TRANsition[:LEADing]?[MINimum|MAXimum]
Arguments <seconds>::=<NRf>[<units>]
where
<NRf> is the leading edge time of pulse waveform.
<units>::=[ns | μs | ms | s]
Returns <seconds>
[SOURce[1|2]]:PULSe:TRANsition:TRAiling
This command sets or queries the trailing edge time of pulse waveform.
Group Source
[SOURce[1|2]]:PULSe:TRANsition:TRAiling?[MINimum|MAXimum]
Arguments <seconds>::=<NRf>[<units>]
where
<NRf> is the trailing edge of pulse waveform.
<units>::=[ns | μs | ms | s]
Returns <seconds>
[SOURce[1|2]]:PULSe:WIDTh
This command sets or queries the pulse width for the specified channel.
The pulse width must be less than the period. The setting range is 0.001% to
99.999% in terms of duty cycle.
AFG3011: 80 ns to 999.99 s
AFG3021B and AFG3022B: 30 ns to 999.99 s
AFG3101 and AFG3102: 8 ns to 999.99 s
AFG3251 and AFG3252: 4 ns to 999.99 s
Pulse Width ≤ Pulse Period – 0.8 × (Leading Edge Time + Trailing Edge Time)
Group Source
[SOURce[1|2]]:PULSe:WIDTh?[MINimum|MAXimum]
Arguments <seconds>::=<NRf>[<units>]
where
<NRf> is the pulse width.
<units>::=[ns | μs | ms | s]
Returns <seconds>
[SOURce[1|2]]:PWM:INTernal:FREQuency
This command sets or queries the internal modulation frequency of PWM modula-
tion for the specified channel. You can use this command only when the internal
modulation source is selected.
You can set the internal modulation frequency from 2 mHz to 50.00 kHz with reso-
lution of 1 mHz.
Group Source
Syntax [SOURce[1|2]]:PWM:INTernal:FREQuency
{<frequency>|MINimum|MAXimum}
[SOURce[1|2]]:PWM:INTernal:FREQuency?[MINimum|MAXimum]
Arguments <frequency>::=<NRf>[<units>]
where
<NRf> is the modulation frequency.
<units>::=[Hz | kHz | MHz]
Returns <frequency>
[SOURce[1|2]]:PWM:INTernal:FUNCtion
This command sets or queries the modulating waveform of PWM modulation for
the specified channel. You can use this command only when the internal modula-
tion source is selected.
If you specify EFILe when there is no EFILe or the EFILe is not yet defined, this
command causes an error.
Group Source
[SOURce[1|2]]:PWM:INTernal:FUNCtion?
Arguments SINusoid|SQUare|TRIangle|RAMP|NRAMp|PRNoise
One of six types of function waveform can be selected as a modulating signal.
USER[1]|USER2|USER3|USER4|EMEMory
A user defined waveform saved in the user waveform memory or the EMEMory
can be selected as a modulating signal.
EFILe
EFILe is used as a modulating signal.
Returns SIN|SQU|TRI|RAMP|NRAM|PRN|USER1|USER2|USER3|USER4|EMOMory|EFILe
[SOURce[1|2]]:PWM:INTernal:FUNCtion:EFILe
This command sets or queries an EFILe name used as a modulating waveform for
PWM modulation. A file name must be specified in the mass storage system. This
command returns “ ” if there is no file in the mass storage.
Group Source
[SOURce[1|2]]:PWM:INTernal:FUNCtion:EFILe?
Arguments <file_name>::=<string> specifies a file name in the mass storage system. The
<file_name> includes path. Path separators are forward slashes (/).
Returns <file_name>
[SOURce[1|2]]:PWM:SOURce
This command sets or queries the source of modulating signal of PWM modulation
for the specified channel.
Group Source
[SOURce[1|2]]:PWM:SOURce?
Arguments INTernal means that the carrier waveform is modulated with the internal source.
EXTernal means that the carrier waveform is modulated with an external source.
Returns INT|EXT
[SOURce[1|2]]:PWM:STATe
This command enables or disables PWM modulation. The query command returns
the state of PWM modulation. You can select only pulse waveform as a carrier
waveform for PWM.
Group Source
[SOURce[1|2]]:PWM:STATe?
Returns <NR1>
Examples SOURce1:PWM:STATe ON
enables the CH 1 PWM modulation.
[SOURce[1|2]]:PWM[:DEViation]:DCYCle
This command sets or queries the PWM deviation in percent for the specified
channel.
Group Source
[SOURce[1|2]]:PWM[:DEViation]:DCYCle? [MINimum|MAXimum]
Arguments <percent>::=<NR2>[<units>]
where
<NR2> is the PWM deviation.
<units>::=PCT
Returns <percent>
[SOURce]:ROSCillator:SOURce
This command sets the reference clock to either internal or external.
Group Source
[SOURce]:ROSCillator:SOURce?
Returns INT|EXT
[SOURce[1|2]]:SWEep:HTIMe
This command sets or queries the sweep hold time. Hold time represents the
amount of time that the frequency must remain stable after reaching the stop
frequency.
Group Source
[SOURce[1|2]]:SWEep:HTIMe? [MINimum|MAXimum]
Arguments <seconds>::=<NRf>[<units>]
where
<NRf> is the hold time in seconds.
<units>::=[ns | μs | ms | s]
Returns <seconds>
[SOURce[1|2]]:SWEep:MODE
The [SOURce[1|2]]:SWEep:MODE command selects auto or manual for the sweep
mode for the specified channel.
The query command returns the sweep mode for the specified channel.
Group Source
[SOURce[1|2]]:SWEep:MODE?
Arguments AUTO sets the sweep mode to auto. The instrument outputs a continuous sweep at
a rate specified by Sweep Time, Hold Time, and Return Time.
MANual sets the sweep mode to manual. The instrument outputs one sweep when
a trigger input is received.
Returns AUTO|MAN
[SOURce[1|2]]:SWEep:RTIMe
This command sets or queries the sweep return time. Return time represents the
amount of time from stop frequency through start frequency. Return time does not
include hold time.
Group Source
[SOURce[1|2]]:SWEep:RTIMe? [MINimum|MAXimum]
Arguments <seconds>::=<NRf>[<units>]
where
<NRf> is the return time in seconds.
<units>::=[ns | μs | ms | s]
Returns <seconds>
[SOURce[1|2]]:SWEep:SPACing
The [SOURce[1|2]]:SWEep:SPACing command selects linear or logarithmic
spacing for the sweep for the specified channel.
The query command returns the type for the sweep spacing for the specified
channel.
Group Source
[SOURce[1|2]]:SWEep:SPACing?
Returns LIN|LOG
[SOURce[1|2]]:SWEep:TIME
This command sets or queries the sweep time for the sweep for the specified
channel. The sweep time does not include hold time and return time. The setting
range is 1 ms to 300 s.
Group Source
[SOURce[1|2]]:SWEep:TIME? [MINimum|MAXimum]
Arguments <seconds>::=<NRf>[<units>]
where
<NRf> is the sweep time in seconds.
<units>::=[ns | μs | ms | s]
Returns <seconds>
[SOURce[1|2]]:VOLTage:CONCurrent[:STATe]
This command enables or disables the function to copy the voltage level of one
channel to another channel.
Group Source
[SOURce[1|2]]:VOLTage:CONCurrent[:STATe]?
Returns <NR1>
Examples SOURce1:VOLTage:CONCurrent:STATe ON
enables the concurrent copy function.
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:HIGH
This command sets or queries the high level of output amplitude for the specified
channel. If your instrument is a dual-channel model and the
[SOURce[1|2]]:VOLTage:CONCurrent[:STATe] command is set to ON, then the
high level of other channel is also the same value.
Group Source
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:HIGH?[MINimum|MAXimum]
Arguments <voltage>::=<NRf>[<units>]
where
<NRf> is the high level of output amplitude.
<units>::=[mV | V]
Returns <voltage>
Examples SOURce1:VOLTage:LEVel:IMMediate:HIGH 1V
sets the high level of CH 1 output amplitude to 1 V.
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:LOW
This command sets or queries the low level of output amplitude for the specified
channel. If your instrument is a dual-channel model and the
[SOURce[1|2]]:VOLTage:CONCurrent[:STATe] command is set to ON, then the
low level of other channel is also the same value.
Group Source
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:LOW? [MINimum|MAXimum]
Arguments <voltage>::=<NRf>[<units>]
where
<NRf> is the low level of output amplitude.
<units>::=[mV | V]
Returns <voltage>
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:OFFSet
This command sets or queries the offset level for the specified channel. If your
instrument is a dual-channel model and the [SOURce[1|2]]:VOLTage:CONCur-
rent[:STATe] command is set to ON, then the offset level of the other channel is
also the same value.
Group Source
Syntax [SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:OFFSet{<voltage>
|MINimum|MAXimum}
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate]:OFFSet?[MINimum|
MAXimum]
Arguments <voltage>::=<NRf>[<units>]
where
<NRf> is the offset voltage level.
<units>::=[mV | V]
Returns <voltage>
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate][:AMPLitude]
This command sets or queries the output amplitude for the specified channel. If
your instrument is two channel model and the [SOURce[1|2]]:VOLTage:CONCur-
rent[:STATe] command is set to ON, then the output amplitude of the other
channel is the same value.
You can set the units of output amplitude by using either the bezel menu selection
or the [SOURce[1|2]]:VOLTage:UNIT command. The selection by bezel menu has
priority over the remote command.
Group Source
Syntax [SOURce[1|2]]:VOLTage[:LEVel][:IMMediate][:AMPLitude]
{<amplitude>|MINimum|MAXimum}
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate][:AMPLitude]? [MINimum|
MAXimum]
Arguments <amplitude>::=<NRf>[<units>]
where
<NRf> is the output amplitude.
<units>::=[VPP | VRMS | DBM]
Returns <amplitude>
Examples SOURce1:VOLTage:LEVel:IMMediate:AMPLitude 1V
sets the CH 1output amplitude to 1 V.
[SOURce[1|2]]:VOLTage:LIMit:HIGH
This command sets or queries the higher limit of the output amplitude high level
for the specified channel. If your instrument is a dual-channel model and the
[SOURce[1|2]]:VOLTage:CONCurrent[:STATe] command is set to ON, then the
higher level limit of the other channel is the same value.
Group Source
[SOURce[1|2]]:VOLTage:LIMit:HIGH? [MINimum|MAXimum]
Arguments <voltage>::=<NRf>[<units>]
where
<NRf> is the higher limit of output amplitude.
<units>::=[mV | V]
Returns <voltage>
Examples SOURce1:VOLTage:LIMit:HIGH 1V
sets the higher limit of CH 1 output amplitude to 1 V.
[SOURce[1|2]]:VOLTage:LIMit:LOW
This command sets or queries the lower limit of the output amplitude low level for
the specified channel. If your instrument is a dual-channel model and the
[SOURce[1|2]]:VOLTage:CONCurrent[:STATe] command is set to ON, then the
low level lower limit of the other channel is the same value.
Group Source
[SOURce[1|2]]:VOLTage:LIMit:LOW? [MINimum|MAXimum]
Arguments <voltage>::=<NRf>[<units>]
where
<NRf> is the lower limit of output amplitude.
<units>::=[mV | V]
Returns <voltage>
[SOURce[1|2]]:VOLTage:UNIT
This command sets or queries the units of output amplitude for the specified
channel. This command does not affect the offset, High level, or Low level of
output. The setting of this command is not affected by the units setting of
[SOURce[1|2]]:VOLTage[:LEVel][:IMMediate][:AMPLitude] command.
Vpp
Vrms = ---------- (sin)
2 2
2
dBm = 10 × log 10 ⎛ ---------------⎞
P Vrms
⎝ 0.001⎠ P = ---------------
RL
Vpp
RL load impedance Vrms = ---------- (triangle)
2 3
Group Source
[SOURce[1|2]]:VOLTage:UNIT?
DBM sets the units of the output voltage to dBm. You cannot specify DBM if the
load impedance is set to infinite.
Returns VPP|VRMS|DBM
*SRE
This command sets and queries the bits in the Service Request Enable Register
(SRER).
Group Status
*SRE?
Arguments <bit_value>::=<NR1>
where
<NR1> is a value in the range from 0 through 255. The binary bits of the SRER are
set according to this value. Using an out-of-range value causes an execution error.
The power-on default for SRER is 0 if *PSC is set to 1. If *PSC is set to 0, the SRER
maintains the previous power cycle value through the current power cycle.
Returns <bit_value>
Examples *SRE 48
sets the bits in the SRER to binary 00110000.
*SRE?
might return 32, showing that the bits in the SRER have the binary value of
00100000.
STATus:OPERation:CONDition?
This query-only command returns the contents of the Operation Condition
Register.
Group Status
Syntax STATus:OPERation:CONDition?
Arguments None
Returns <bit_value>::=<NR1>
Examples STATus:OPERation:CONDition?
might return 32 which indicates that the OCR contains the binary number
00000000 00100000 and the CH 1 of the instrument is waiting for trigger.
STATus:OPERation:ENABle
This command sets or queries the mask for the Operation Enable Register.
Group Status
STATus:OPERation:ENABle?
Arguments <bit_value>::=<NR1>
Returns <bit_value>
Examples STATus:OPERation:ENABle 1
sets the CALibrating bit in the OENR to on.
STATus:OPERation[:EVENt]?
This query-only command returns the value in the Operation Event Register and
clears the Operation Event Register.
Group Status
Syntax STATus:OPERation[:EVENt]?
Arguments None
Returns <NR1>
Examples STATus:OPERation:EVENt?
might return 1 which indicates that the OEVR contains the binary number
00000000 00000001 and the CALibrating bit is set to on.
Group Status
Syntax STATus:PRESet
Arguments None
Examples STATus:PRESet
presets the SCPI status registers.
STATus:QUEStionable:CONDition?
This query-only command returns the contents of the Questionable Condition
Register.
Group Status
Syntax STATus:QUEStionable:CONDition?
Arguments None
Returns <bit_value>::=<NR1>
Examples STATus:QUEStionable:CONDition?
might return 32 which indicates that the QCR contains the binary number
00000000 00100000 and the accuracy of frequency is questionable.
STATus:QUEStionable:ENABle
This command sets or queries the mask for the Questionable Enable Register.
Group Status
STATus:QUEStionable:ENABle?
Arguments <bit_value>::=<NR1>
Returns <bit_value>
Examples STATus:QUEStionable:ENABle 32
sets the FREQuency bit in the QENR to on.
STATus:QUEStionable[:EVENt]?
This query-only command returns the value in the Questionable Event Register and
clears the Questionable Event Register.
Group Status
Syntax STATus:QUEStionable[:EVENt]?
Arguments None
Returns <bit_value>::=<NR1>
Examples STATus:QUEStionable[:EVENt]?
might return 32 which indicates that the QEVR contains the binary number
00000000 00100000 and the FREQuency bit is set to on.
*STB?
This query-only command returns the contents of the Status Byte Register (SBR)
using the Master Summary Status (MSS) bit.
Group Status
Syntax *STB?
Arguments None
Returns <NR1>
Examples *STB?
might return 96, showing that the SBR contains the binary value 01100000.
Group System
Syntax SYSTem:BEEPer[:IMMediate]
Arguments None
Examples SYSTem:BEEPer:IMMediate
causes a beep.
SYSTem:BEEPer:STATe
The SYSTem:BEEPer:STATe command sets the beeper ON or OFF.
When the beeper is set to ON, the instrument will beep when an error message or
a warning message is displayed on the screen. The instrument does not beep when
an error or warning caused by remote command execution.
Group System
SYSTem:BEEPer:STATe?
Returns <NR1>
Examples SYSTem:BEEPer:STATe ON
enables the beeper function.
SYSTem:ERRor[:NEXT]?
This query-only command returns the contents of the Error/Event queue.
Group System
Syntax SYSTem:ERRor[:NEXT]?
Arguments None
Examples SYSTem:ERRor:NEXT?
might return the following response:
–410,”Query INTERRUPTED”
If the instrument detects an error or an event occurs, the event number and event
message will be returned.
SYSTem:KCLick[:STATe]
This command enables or disables the click sound when you push the front panel
buttons or turn the general purpose knob. The query command returns “0” (OFF)
or “1” (ON).
Group System
SYSTem:KCLick[:STATe]?
Returns <NR1>
Examples SYSTem:KCLick:STATe ON
enables the click sound.
SYSTem:KLOCk[:STATe]
This command locks or unlocks the instrument front panel controls. The query
command returns “0” (OFF) or “1” (ON).
Group System
SYSTem:KLOCk[:STATe]?
Returns <NR1>
Examples SYSTem:KLOCk:STATe ON
locks front panel controls.
Group System
Group System
SYSTem:PASSword[:CENable]:STATe?
This query-only command returns the security protection state.
Group System
Syntax SYSTem:PASSword[:CENable]:STATe?
Arguments None
Returns <NR1>
where
<NR1>=0 indicates that the security protection is in the on state.
Examples SYSTem:PASSword:CENable:STATe?
might return 0, indicating that the instrument security protection is on.
Group System
Password strings are case sensitive. A password must have at least four characters,
and not more than 12 characters.
The communication settings are initialized to the factory default settings. This
might cause a remote communication error.
Group System
Syntax SYSTem:SECurity:IMMediate
Arguments None
Examples SYSTem:SECurity:IMMediate
initializes the instrument.
SYSTem:ULANguage
This command sets or queries the language that the instrument uses to display
information on the screen.
Group System
SYSTem:ULANguage?
Arguments ENGLish|FRENch|GERMan|JAPanese|KORean|SCHinese|TCHinese|RUSSian
specifies which language will be used to display instrument information on the
screen.
Returns ENGLish|FRENch|GERMan|JAPanese|KORean|SCHinese|TCHinese|RUSSian
SYSTem:VERSion?
This query-only command returns the conformed SCPI version of the instrument.
Group System
Syntax SYSTem:VERSion?
Arguments None
where
YYYY — indicates year.
V — indicates the version number for that year.
Examples SYSTem:VERSion?
might return 1999.0.
TRACe|DATA:CATalog?
This query-only command returns the names of user waveform memory and edit
memory.
Group Trace
Syntax TRACe|DATA:CATalog?
Arguments None
Returns <string>
Examples DATA:CATalog?
might return “USER1”,”USER4”,”EMEM”
This example indicates that waveform data of USER2 and USER3 are deleted and
not saved. Edit memory always has data.
Group Trace
TRACe|DATA:COPY EMEMory,{USER[1]|USER2|USER3|USER4}
Arguments <trace_name>::={USER[1]|USER2|USER3|USER4}
DATA:COPY EMEMory,USER1
copies the waveform data in the user waveform memory USER1 to the edit
memory.
TRACe|DATA[:DATA]
This command transfers the waveform data from the external controller to the edit
memory in the arbitrary/function generator. The query command returns the binary
block data.
Group Trace
TRACe|DATA[:DATA]? EMEMory
Arguments <binary_block_data>
where <binary_block_data> is the waveform data in binary format.
Returns <binary_block_data>
Group Trace
Arguments <start_point>::=<NR1>
where <NR1> is the first point from which the data is interpolated linearly.
<point_data1>::=<NR1>
where <NR1> is the data value at the start point.
<end_point>::=<NR1>
where <NR1> is the last point from which the data is interpolated linearly.
<point_data2>::=<NR1>
where <NR1> is the data value at the end point.
TRACe|DATA[:DATA]:VALue
This command sets or queries the data value at the specified point in the edit
memory.
Group Trace
TRACe|DATA[:DATA]:VALue? EMEMory,<points>
Arguments <point>::=<NR1>
where <NR1> is the specified point number in the edit memory.
<data>::=<NR1>
where <NR1> is the data value for the specified point number.
Returns <NR1>
DATA:DATA:VALue? EMEMory,500
might return “2047”
This example indicates that the data value of point number 500 is set to 2047.
Group Trace
Arguments <points>::=<NR1>
where <NR1> is the number of points for the waveform data in the edit memory
that ranges from 2 to 131072.
If the second parameter in the argument is a numerical value, the length of the edit
memory will be the number of points specified by this number and each point will
be initialized to the default value (8191).
<trace_name>::={SINusoid|SQUare|PULSe|RAMP|NOISe}
If the <points> and <trace_name> parameters in the argument are omitted, the edit
memory will be initialized to the default number of points (1000) and value (8191).
Group Trace
Arguments <trace_name>::={USER[1]|USER2|USER3|USER4}
TRACe|DATA:LOCK[:STATe]
This command sets or queries whether to lock or unlock the user waveform
memory.
Group Trace
Syntax TRACe|DATA:LOCK[:STATe]{USER[1]|USER2|USER3|USER4},{ON|OFF|<NR1>}
TRACe|DATA:LOCK[:STATe]?{USER[1]|USER2|USER3|USER4}
Returns <NR1>
TRACe|DATA:POINts
This command sets or queries the number of data points for the waveform created
in the edit memory.
Group Trace
TRACe|DATA:POINts? EMEMory{,MIN|MAX}
Arguments <points>::=<NR1>
where <NR1> sets the number of points for the waveform created in the edit
memory that ranges from 2 to 131072.
Returns <NR1>
Group Trigger
Syntax *TRG
Arguments None
Examples *TRG
generates a trigger event.
TRIGger[:SEQuence]:SLOPe
This command sets or queries the slope of trigger signal.
Group Trigger
TRIGger[:SEQuence]:SLOPe?
Arguments POSitive indicates that the event occurs on the rising edge of the external trigger
signal.
NEGative indicates that the event occurs on the falling edge of the external trigger
signal.
Returns POS|NEG
TRIGger[:SEQuence]:SOURce
This command sets or queries the trigger source for an external trigger signal.
Group Trigger
TRIGger[:SEQuence]:SOURce?
Returns TIM|EXT
TRIGger[:SEQuence]:TIMer
This command sets or queries the period of an internal clock when you select the
internal clock as the trigger source with the TRIGger[:SEQuence]:SOURce
command. The setting range is 1 μs to 500.0 s.
Group Trigger
TRIGger[:SEQuence]:TIMer?
Arguments <seconds>::=<NRf>[<units>]
where
<units>::=[μs | ms | s]
Returns <seconds>
Group Trigger
Syntax TRIGger[:SEQuence][:IMMediate]
Arguments None
Examples TRIGger:SEQuence:IMMediate
generates a trigger event.
*TST?
This command performs a self-test and returns the results.
NOTE. The self-test can take several minutes to complete. During this time, the
arbitrary/function generator does not execute any commands. Do not power off the
instrument during the self-test.
Syntax *TST?
Arguments None
Returns <NR1>
where
<NR1>=0 indicates that the self-test completed without errors.
Examples *TST?
performs a self-test and returns 0 if no error is reported.
Group Synchronization
Syntax *WAI
Arguments None
Examples *WAI
prevents the instrument from executing any further commands or queries until all
pending commands that generate an OPC message are complete.
This section provides details about the status information and events the arbi-
trary/function generator reports.
Figure 3-1 shows an outline of the instrument error and event reporting function.
The error and event reporting system consists of the following three blocks:
Standard/Event Status
Operation Status
Questionable Status
The operations processed in these blocks are summarized in status bytes, which
provide the error and event data.
STATus:QUEStionable:CONDition?
STATus:QUEStionable[:EVENt]?
STATus:QUEStionable:ENABle <bit_value>
0
1
Questionable 2
Status Block 3
4
FREQuency 5
6
7
8
9
10
Overheat Protection 11
12
13
14
15
QCR QEVR QENR
STATus:OPERation:ENABle
<bit_value>
STATus:OPERation[:EVENt]?
STATus:OPERation:CONDition?
0
1
Operation Complete 0 2
Request Control 1 3
Query Error 2 4
Device Dependent Error 3 5
Execution Error 4 6
Command Error 5 7
User Request 6
Power On 7 SBR SRER
Standard/Event Status This block is used to report power on/off, command error, and command execution
Block status.
The block has two registers: the Standard Event Status Register (SESR) and the
Event Status Enable Register (ESER). Refer to the Standard/Event Status Block
shown at the bottom of Figure 3-1.
Standard Event Status Register. The SESR is an eight-bit status register. When an
error or other type of event occurs on the instrument, the corresponding bit is set.
You cannot write to this register.
Event Status Enable Register. The ESER is an eight-bit enable register that masks
the SESR. You can set this mask, and take AND with the SESR to determine
whether or not the ESB bit in the Status Byte Register (SBR) should be set.
Operation Status Block This block is used to report on the status of several operations being executed by
the arbitrary/function generator.
The block has three registers: the Operation Condition Register (OCR), the Oper-
ation Event Register (OEVR), and the Operation Enable Register (OENR). Refer
to the Operation Status Block shown in Figure 3-1.
Operation Condition Register. When the instrument achieves a certain status, the
corresponding bit is set to the OCR. It is not allowed for the user to write to this
register.
Operation Event Register. The OCR bits that have changed from false (reset) to true
(set) status are set in the OEVR.
Operation Enable Register. The function of the OENR is to mask the OEVR. You
can set this mask and take AND with the OEVR to determine whether or not the
OSS bit in the Status Byte Register (SBR) should be set.
Questionable Status Block This block reports on the status of signals and data, such as the accuracy of entered
data and signals generated by the instrument. The register configuration and
process flow are the same as the Questionable Status Block.
Registers
The registers in the event reporting system fall into two functional groups:
The Status Registers contain information about the status of the instrument.
Enable Registers determine whether selected types of events are reported to the
Status Registers and the Event Queue.
Status Byte Register (SBR). The SBR is made up of 8 bits. Bits 4, 5 and 6 are
defined in accordance with IEEE Std 488.2-1992 (see Figure 3-2). These bits are
used to monitor the output queue, SESR, and service requests, respectively.
6
7 RQS 5 4 3 2 1 0
OSB 6 ESB MAV QSB EQS — —
MSS
Bit Function
7 (MSB) OSB Operation Status Bit. Indicates that an operation event has occurred.
6 RQS Request Service. When the instrument is accessed using the GPIB
serial poll command, this bit is called the Request Service (RQS) bit
and indicates to the controller that a service request has occurred (in
other words, that the GPIB bus SRQ line is LOW). The RQS bit is
cleared when serial poll ends.
6 MSS Master Status Summary. When the instrument is accessed using the
*STB? query, this bit is called the Master Status Summary (MSS) bit
and indicates that the instrument has issued a service request for one
or more reasons. The MSS bit is never cleared to 0 by the *STB?
query.
5 ESB Event Status Bit. This bit indicates whether or not a new event has
occurred after the previous Standard Event Status Register (SESR)
has been cleared or after an event readout has been performed.
4 MAV Message Available Bit. This bit indicates that a message has been
placed in the output queue and can be retrieved.
3 QSB Questionable Status Bit.
2 EQS Error/Event Queue Summary.
1-0 ––––– Not used
Standard Event Status Register (SESR). The SESR records eight types of events
that can occur within the instrument as shown in Figure 3-3.
7 6 5 4 3 2 1 0
PON URQ CME
ME EXE DDE QYE RQC O PC
Bit Function
7 (MSB) PON Power On. Indicates that the power to the instrument is on.
6 URQ User Request. Indicates that an application event has occurred. The
arbitrary/function generator does not use this bit.
5 CME Command Error. Indicates that an error occurred while the
arbitrary/function generator was parsing a command or query.
4 EXE Execution Error. Indicates that an error occurred while the
arbitrary/function generator was executing a command or query.
Operation Event Register (OEVR). This register has the same content as the Opera-
tion Condition Register.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WTRIG WTRIG SWE CAL
(CH2) (CH1)
Bit Function
15 to 9 ––––– Not used
8 WTRIG Waiting for Trigger. Indicates whether the instrument is waiting for a
CH2 trigger. This bit is set when CH 2 (in the case of dual-channel model)
is waiting for a trigger. Bit is reset when the waiting-for-trigger status is
canceled.
5 WTRIG Waiting for Trigger. Indicates whether the instrument is waiting for a
CH1 trigger. This bit is set when CH 1 (in the case of dual-channel model)
is waiting for a trigger. Bit is reset when the waiting-for-trigger status is
canceled.
4 ––––– Not used
3 SWE Sweep. Indicates whether the instrument is executing a frequency
sweep. This bit is set when a frequency sweep is being executed on
CH 1 or another channel (in the case of dual-channel model). Bit is
reset when the execution stops.
2 to 1 ––––– Not used
0 CAL Calibration. Indicates whether the instrument is being calibrated. This
bit is set when calibration is in progress and is reset when the
calibration is complete.
Questionable Event Register (QEVR). This register has the same content as the
Questionable Condition Register.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVHP FREQ
Bit Function
15 to 12 ––––– Not used
11 OVHP Overheat protection. Indicates whether the instrument internal temper-
ature is in questionable condition.
10 to 6 ––––– Not used
5 FREQ Frequency. Indicates whether frequency accuracy of the signal is of
questionable quality.
4 to 0 ––––– Not used
Event Status Enable Register (ESER). The ESER consists of bits defined exactly the
same as bits 0 through 7 in the SESR register. You can use this register to control
whether or not the Event Status Bit (ESB) in the SBR should be set when an event
has occurred, and to determine if the corresponding SESR bit is set.
To set the ESB in the SBR (when the SESR bit has been set), set the ESER bit
corresponding to that event. To prevent the ESB from being set, reset the ESER bit
corresponding to that event.
Use the *ESC command to set the bits in the ESER. Use the *ESR? query to read
the contents of the ESER. Figure 3-6 shows the ESER functions.
7 6 5 4 3 2 1 0
PON URQ CME
ME EXE DDE QYE RQC O PC
Service Request Enable Register (SRER). The SRER consists of bits defined
exactly the same as bits 0 through 7 in the SBR. You can use this register to define
which events will generate service requests.
The SRER bit 6 cannot be set. Also, the RQS is not maskable.
The generation of a service request with the GPIB interface involves changing the
SRQ line to LOW, and making a service request to the controller. The result is that
a status byte for which an RQS has been set is returned in response to serial polling
by the controller.
Use the *SRE command to set the bits of the SRER. Use the *SRE? query to read
the contents of the SRER. Bit 6 must be set to 0. Figure 3-7 shows the SRER func-
tions.
6
7 RQS 5 4 3 2 1 0
OSB 6 ESB MAV QSB EQS — —
MSS
Operation Enable Register (OENR). The OENR consists of bits defined exactly the
same as bits 0 through 15 in the OEVR (see Figure 3-8). You can use this register
to control whether or not the Operation Status Bit (OSB) in the SBR is set when an
event occurs and the corresponding OEVR bit is set.
Use the STATus:OPERation:ENABle command to set the bits in the OENR. Use
the STATus:OPERation:ENABle? query to read the contents of the OENR.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WTRIG WTRIG SWE CAL
(CH2) (CH1)
Questionable Enable Register (QENR). The QENR consists of bits defined exactly
the same as bits 0 through 15 in the QEVR register (see Figure 3-9). You can use
this register to control whether the QSB in the SBR is set when an event occurs and
the corresponding QEVR bit is set.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OVHP FREQ
Queues
There are two types of queues in the status reporting system: output queue and
error/event queues.
Output Queue The output queue is an FIFO (first-in, first-out) queue that holds response messages
to queries awaiting retrieval. When there are messages in the queue, the MAV bit
in the SBR is set.
The output queue is emptied each time a command or query is received, so the
controller must read the output queue before the next command or query is issued.
If this is not done, an error occurs and the output queue is emptied; however, the
operation proceeds even if an error occurs.
Error/Event Queue The event queue is an FIFO queue, which stores events as they occur in the instru-
ment. If more than 64 events are stored, the 64th event is replaced with event code
–350 (“Queue Overflow”).
The oldest error code and text are retrieved by using one of the following queries:
SYSTem:ERRor[:NEXT]?
First, issue the *ESR? query to read the contents of the SESR. The contents of the
SESR are cleared after they are read. If an SESR bit is set, events are stacked in the
Error/Event Queue. Retrieve the event code with the following command
sequence:
*ESR?
SYSTem:ERRor[:NEXT]?
If you omit the *ESR? query, the SESR bit will remain set, even if the event disap-
pears from the Error/Event Queue.
Table 3-5 lists event code definitions. When an error occurs, you can find its error
class by checking for the code range in Table 3-6 through Table 3-14. Events in
these tables are organized by event class.
Command Errors Table 3-6 shows the error messages generated by improper command syntax.
Check that the command is properly formed and that it follows the rules in the
Syntax and Commands starting on page 2-1.
Execution Errors Table 3-7 lists the errors that are detected during execution of a command.
Device Specific Errors Table 3-8 lists the device-specific errors that can occur during arbitrary/function
generator operation. These errors may indicate that the instrument needs repair.
Query Errors Table 3-9 lists the error codes that are returned in response to an unanswered query.
Power-on Events These events occur when the instrument detects an off to on transition in its power
supply.
User Request Events These events are not used in this instrument.
Request Control Events These events are not used in this instrument.
Operation Complete These events occur when instrument’s synchronization protocol, having been
Events enabled by an *OPC command, completes all selected pending operations.
Device Errors Table 3-14 lists the error codes that are unique to the AFG3000 Series Arbi-
trary/Function Generators.
The following two example programs, which demonstrate methods that you can
use to control the arbitrary/function generator through the General Purpose Inter-
face Bus (GPIB), are included on the AFG3000 Series Arbitrary/Function Gener-
ators Product CD.
The example programs assume that the GPIB system recognizes the PC (external
controller) as GPIB0, and the address number of the instrument as 11.
If you use an interface other than GPIB, change the resouce name of source code.
Refer to TekVISA manual for details about resouce.
Example 1 This is a sample program for setting the arbitrary/function generator outputs.
End Sub
Example 2 This is a sample program for sending an arbitrary waveform to the arbitrary/func-
tion generator's Edit Memory and copying the contents of Edit Memory to the user
waveform memory.
wave(2 * i) = High
wave(2 * i + 1) = Low
Next i
wave(2 * i) = High
wave(2 * i + 1) = Low
Next i
wave(2 * i) = High
wave(2 * i + 1) = Low
Next i
wave(2 * i) = High
wave(2 * i + 1) = Low
Next i
'
'Transfer waveform
' Transfer arbitrary block data to edit memory
'
Tvc1.SendEndEnabled = False
Tvc1.WriteString ("TRACE:DATA EMEMORY,#44000")
Tvc1.SendEndEnabled = True
Tvc1.WriteByteArray (wave)
'
'Copy contents of edit memory to USER1
'
Tvc1.WriteString ("TRAC:COPY USER1,EMEM")
'
'Set CH1 output parameters
'
Tvc1.WriteString ("FUNCTION USER1") 'Set output waveform USER1
Tvc1.WriteString ("FREQUENCY 8K") 'Set frequency 8kHz
Tvc1.WriteString ("OUTPUT ON") 'Set CH1 output on
End Sub
This section lists the standard and optional accessories available for the instrument,
as well as the product options.
Options
The following options can be ordered for the instrument:
Option Description
Power cord options
Option A0 North America
Option A1 Universal Euro
Option A2 United Kingdom
Option A3 Australia
Option A5 Switzerland
Option A6 Japan
Option A10 China
Option A99 No power cord or AC adapter
Manual options
Option L0 English Manual
Option L1 French Manual
Option L2 Italian Manual
Option L3 German Manual
Option L4 Spanish Manual
Option L5 Japanese Manual
Option L7 Simplified Chinese Manual
Option L8 Traditional Chinese Manual
Option L9 Korean Manual
Option L10 Russian Manual
Option L99 No printed Manual
Service options
Option C3 Calibration Service 3 Years
Option C5 Calibration Service 5 Years
Option D1 Calibration Data Report
Option D3 Calibration Data Report 3 Years (with Option C3)
Option D5 Calibration Data Report 5 Years (with Option C5)
Option R5 Repair Service 5 Years
Accessories
All accessories (standard and optional) are available by contacting your local
Tektronix field office. Table A-2 lists standard accessories for this instrument.
Optional The accessories in Table A-3 are orderable for use with the instrument at the time
this manual was originally published. Check the Tektronix Web site
(www.tektronix.com) for the most current information.
Fuse adapter
0.125 A fuse
General Care
Do not store or leave the arbitrary/function generator where the LCD display will
be exposed to direct sunlight for long periods of time.
Cleaning
Inspect the arbitrary/function generator as often as operating conditions require. To
clean the exterior surface, perform the following steps:
1. Remove loose dust on the outside of the instrument with a lint-free cloth. Use
care to avoid scratching the clear plastic display filter.
2. Use a soft cloth dampened with water to clean the instrument. Use an aqueous
solution of 75% isopropyl alcohol for more efficient cleaning.
CAUTION. To avoid damage to the surface of the instrument, do not use any
abrasive or chemical cleaning agents.
Table D-1 lists the settings that are restored when you push the front-panel Default
button.
The front-panel Default button does not reset the following settings:
Language option
Power-on settings
Display contrast
Screen saver
Click tone
Beeper
Saved setup files
Saved waveform files
Calibration data
GPIB setup
Ethernet setup
Access protection
This section describes the menus associated with each front-panel menu button or
control.
Menu System
The user interface of the AFG3000 Series Arbitrary/Function Generators was
designed for easy access to specialized functions through the menu structure.
When you push a front panel-button, the arbitrary/function generator displays the
corresponding menu on the right side of the screen. The menu shows the options
that are available when you push the unlabeled bezel buttons directly to the right of
the screen. (Some documentation may also refer to the bezel buttons as side-menu
buttons or soft keys.)
Using the Menu System The arbitrary/function generator uses the following methods to display menu
options:
Submenu Selection. For some menus, you can use the bezel button to choose the
submenus. For example, when you push the I/O Interface bezel button in the Util-
ity menu, the arbitrary/function generator displays the I/O Interface submenu
(GPIB or Ethernet).
Action. The arbitrary/function generator displays the type of action that will imme-
diately occur when you push an action bezel button. For example, when you push
the front-panel Save button and then push the Save bezel button, the arbitrary/func-
tion generator saves the settings immediately.
Option Buttons. The arbitrary/function generator uses a different button for each
option. The currently selected option is highlighted. For example, the instrument
displays various language options when you push the Utility menu button and then
push the Language bezel button. To select the option, push the corresponding but-
ton. Option button is also called radio button.
Toggle. For some menus, pushing a bezel button will toggle the corresponding
menu options. For example, when you push the Power On bezel button in the Util-
ity menu, it will toggle between Default and Last. Pushing the Beeper bezel but-
ton will toggle between On and Off.
Menu Structure
This section describes the menus and operating details associated with each
front-panel menu button.
NOTE. To access the Output menu, push the front-panel Top Menu button. The
arbitrary/function generator does not have the Output menu button on the front
panel. Refer to page 1-3 for the Top Menu button.
Sine/Square Menu Table E-1 shows the Sine and Square menu.
Arb Menu The arbitrary/function generator can output a user-defined waveform that is stored
in the internal memory, Edit Memory, or a USB memory. Table E-4 shows the Arb
menu.
The modulation depth is expressed as a percentage and represents the extent of the
amplitude variation.
The carrier frequency must always be greater than or equal to the deviation. Also
the sum of the carrier frequency and deviation must be less than or equal to the
maximum frequency for the selected waveform.
Sweep Parameter Menu Table E-7 shows the Sweep Parameter Menu.
The sweep function outputs a waveform with the output signal frequency varying
linearly or logarithmically.
Start frequency
Sweep time Sweep time
When sweep is taking place, the frequency sweeps from start frequency to stop fre-
quency. Refer to Figure E-2.
Frequency
Stop freq.
Frequency
span
Center
frequency
The instrument sweeps from a low frequency to a high frequency when start fre-
quency is set to be lower than stop frequency (start frequency < stop frequency).
The instrument sweeps from a high frequency to a low frequency when start fre-
quency is set to be higher than stop frequency.
The frequency range differs based on the selected waveform types. For frequency
sweep, you can select a sine, square, ramp, or arbitrary waveform. Pulse, DC, and
Noise waveforms cannot be selected.
Repeat. A continuous sweep is output at a rate specified by the sweep time, hold
time, and return time.
You can select a trigger source from an external signal applied to the front-panel
Trigger Input connector, the trigger signal generated internally, the manual trigger,
or the remote interface.
Burst Parameter Menu Table E-8 shows the Burst Parameter Menu.
Triggered Burst Mode. When a trigger event occurs in the burst mode, the wave-
form is output for the number of cycles specified by the Burst Parameter Menu.
Once the triggered burst mode is selected, the arbitrary/function generator will wait
for a trigger event to occur.
A specified number (burst count) of waveform cycles are output when the instru-
ment receives a trigger input from the internal trigger source, an external trigger
source, a remote command, or the Manual Trigger button.
Gated Burst Mode. In the gated burst mode, the output is enabled or disabled based
on the internal gate signal, an external signal applied to the front panel Trigger
Input connector, or a remote command. While the gate signal is true or the front
panel Manual Trigger button is depressed, the instrument outputs a continuous
waveform.
When the trigger source is set to Internal, the trigger interval can be set. The set-
ting range of trigger interval is 1 ms to 500 s. The default is 1 ms.
When the trigger source is set to External, you can select Positive or Negative as
the trigger slope. The instrument will trigger on the rising edge (Positive) or falling
edge (Negative) of the signal applied to the front-panel Trigger Input connector.
Output Menu Table E-9 shows the Output Menu. To access the Output menu, push the
front-panel Top Menu button, and then push the bottom bezel button.
Load Impedance. The output impedance of the AFG3000 series is 50 Ω. If you con-
nect a load other than 50 Ω, the displayed Amplitude, Offset, and High/Low values
are different from the output voltage. To make the displayed values same as output
voltage, you need to set load impedance.
Noise Add. When you set Noise Add to On, the amplitude of output signal is
reduced to 50%.
Save/Recall Menu The Save and Recall menus store or recall arbitrary/function generator setups. The
setups are stored in either internal setup memory or USB memory.
You can select the instrument settings that are restored when you power on the
instrument. If you select Power On Last in the Utility menu, the instrument will
restore the last powered-off settings the next time you power on the instrument.
(See the Utility Menu on page E-23.)
The Lock/Unlock menu allows you to lock the file against accidental overwrite.
When a memory location is locked, a lock icon appears on the screen.
Edit Menu The Edit menu is used to create or edit user-defined waveforms and to import or
export waveforms. To output a user-defined waveform, waveform data must be
created in the Edit Memory and then stored in the internal or a USB memory.
Although you can output the content of Edit Memory, the content of Edit Memory
will be deleted when the instrument is powered off.
Number of Points. This bezel menu sets the number of points of the waveform to be
created or the length of Edit Memory. The point can be set to a value in the follow-
ing range:
Lost data
1000 500
Added data
New. Pushing the New bezel button will display a standard waveform selection
submenu. You can select a standard waveform from five waveform types (Sine,
Square, Pulse, Ramp, and Noise). For example, selecting Sine will write a sine
waveform into Edit Memory. The waveform has the number of points specified by
the Number of Points bezel menu. If waveform data is already stored in the Edit
Memory, the existing waveform data will be lost, and the new waveform will over-
write the old data.
Operations Submenu (Line, Data, and Cut). For each of the Operations submenus,
you must push the Execute bezel button to implement the edit operation.
Using the Cursors. You can use cursors to edit a waveform. To use cursors, select
the Operations submenu in the Edit menu. Figure E-4 is a sample of Line edit
screen.
In the Line edit screen, there are two cursor types: X1 cursor and X2 cursor. Use
the From X1 or To X2 bezel button to select which cursor to move. To move the
X1 cursor, push the From X1 bezel button and then turn the general purpose knob.
Or, you can enter a value for the point X1 using the numeric keypad. Entering a
value and then pushing the front-panel Enter button will move the cursor to the
specified point. To move the X2 cursor, push the To X2 bezel button and then turn
the knob or enter a value.
After specified two points, push the Execute bezel button to implement the edit
operation. The Line edit is applied to the portion between the two cursors (X1 and
X2).
When you select Operations > Data, only one cursor is displayed. The edit oper-
ation is applied to the specified point.
When you select Operations > Cut, two cursors are displayed like Line edit. The
edit operation is applied to the portion between the two cursors.
Line (Line Edit). The Line edits by linearly interpolating from a specified point in
the waveform currently edited to another specified point as shown in Figure E-5.
Data (Edit by Data Point). The Data edits a specified point in the waveform cur-
rently being edited.
If you enter a number that exceeds the number of points in the current waveform,
the entered value will be automatically changed to the number of points in the cur-
rent waveform.
If you push the Execute bezel button in the Data operation, the instrument will
auto-increment to the next point. For example, you specify a data point X and then
push Execute, the instrument will automatically move from point X to X + 1 in
anticipation of your next input.
Cut (Cut by Data Points). The Cut deletes an area between specified points in the
waveform. When Cut is selected, two values can be input (From X1 and To X2).
See Figure E-7.
Read from... Push the front-panel Edit button and then push the Read from... >
Memory bezel menu to load a waveform file from the internal memory or a USB
memory into Edit Memory.
Paste at Beginning. The Paste at Beginning inserts the contents of the user wave-
form memory (User1, User2, User3, or User4), USB memory, or the current
contents of Edit Memory at the beginning of the waveform that is currently being
edited. When this operation is executed, the Number of Points setting is automati-
cally modified. If this operation would cause the waveform to exceed 131,072
points, the waveform insertion will not be executed.
1000 1000
1000 2000
Paste at End. The Paste at End appends the contents of the user waveform
memory (User1, User2, User3, or User4), USB memory, or the current contents of
edit memory at the end of the waveform currently being edited. When this opera-
tion is executed, the Number of Points setting is automatically modified. If this
operation would cause the waveform to exceed 131,072 points, the waveform
append will not be executed.
1000 1000
Waveform after executing Paste at Beginning Stored waveform is pasted at the end of the
waveform being edited.
1000 2000
Write to... The currently edited waveform is in Edit Memory. If the instrument
power is turned off, the contents of Edit Memory will be lost. To allow this wave-
form to be used the next time the power is turned on, the contents of Edit Memory
must be saved into the user waveform memory or a USB memory.
Utility Menu The Utility menu provides access to utilities used by the arbitrary/function gener-
ator such as language selection, instrument diagnostics, and user preferences.
Connecting to a GPIB Network. The GPIB Interface can be used for remotely con-
trolling the arbitrary/function generator from an external device (such as a PC).
Refer to Syntax and Commands on page 2-1 for information about remote control
commands.
Use a BNC cable to connect the front-panel Trigger Output connector of the
master unit and the Trigger Input connector of the slave unit.
Use another BNC cable to connect the EXT REF OUTPUT connector on the
rear panel of the master unit and the EXT REF INPUT connector of the slave
unit.
NOTE. The EXT REF OUTPUT connector is not present on the AFG3021B and
AFG3022B rear panel.
1. Push the front-panel Utility button, and then push the System bezel button to
display the System menu.
2. Set the master unit as follows:
Trigger Out – Sync
Clock Ref – Internal
3. Set the slave unit as follows:
Clock Ref – External
4. Select Burst as the Run Mode for both the master and slave units.
5. Push the -more- bezel button of the slave unit, and select External as (trigger)
Source.
To synchronize multiple instruments, you must stop running output signals
once before triggering using the Burst mode.
Power-on Setting. You can select the arbitrary/function generator settings that are
restored when the instrument is powered on. By default, the arbitrary/function gen-
erator is set to restore the default settings at power-on. To change the power-on set-
tings, use the Utility > System > Power On bezel menu. To restore the last
powered-off settings next time you power on the instrument, select Last.
Secure. The Secure function erases all the waveform/setup data in the internal
memory. This is sometimes useful when you are storing data that is confidential
and you must transport the instrument for servicing or demonstrations.
CAUTION. Executing Secure will erase all setups and waveform data files in the
internal memory. Make sure you want to remove all data before execution. You
cannot recover the deleted files.
Diagnostics and Calibration. From the Utility menu, you can perform the self test
and self calibration routine.
The self test can be performed by selecting the Utility > -more- > Diagnos-
tics/Calibration > Execute Diagnostics bezel menu. The test checks whether the
instrument is operating correctly. These diagnostics can be helpful when repairing
the instrument.
The self calibration allows the instrument to operate with correct precision.
Backup/Restore. The Backup function is provided for copying the current arbi-
trary/function generator information (instrument setups or user-defined wave-
forms) to a USB memory with a single button push. Pushing the Backup Internal
-> USB Memory button will copy the internal memory contents to a USB memory.
The Restore function is provided for copying the contents of USB memory to the
internal memory.
Firmware Update. You can use the Utility menu to update your arbitrary/function
generator instrument firmware. If Tektronix offers a newer version of firmware,
download the firmware file to your USB memory from the Tektronix Web site.
1. Go to www.tektronix.com.
2. Download a newer version of firmware to your PC.
3. Unzip the downloaded file, and copy the file to your USB memory.
4. Connect the USB memory to your arbitrary/function generator.
5. Push the front-panel Utility button.
6. Push the -more- bezel button twice, and then select Firmware Update.
7. Select the downloaded firmware file and then push the Execute bezel button.
8. After the update, power the instrument off and then back on to activate the new
firmware.
NOTE. To check your instrument firmware version, push the front-panel Utility
button. The version information is displayed on the screen.
Security Menu. Use the Security menu to limit access to the following menus:
Firmware update
Service menu. (Refer to the service manual for information about the service
menu.)
The access protection is set to off by default. To turn the access protection on, do
the following steps:
1. Push the front-panel Utility button, and then select Security Menu.
2. Select Access Protection to display the password input page.
3. Enter your password.
Use the general purpose knob to select the characters and push the Enter
Character bezel button after each selection. As you enter the characters of
your password, they are displayed as a series of asterisks (*******) on the
password input page.
If no specific password has been previously defined, use the default password
DEFAULT.
4. Select OK to turn the access protection on.
You cannot perform the firmware update without entering the password.
To Change the Password. Before the password is changed for the first time, the
password is DEFAULT. To change the password, do the following steps:
1. Push the front-panel Utility button, and then select Security Menu.
2. Select Change Password to display the password input page.
3. Enter your current password.
Use the general purpose knob to select the characters and push the Enter
Character bezel button after each selection. Then select OK to display the
New Password input page.
4. Enter a new password.
A password must have at least four characters, and not more than 12 characters.
When you enter a new password, the entered characters are displayed on the
screen.
5. Select OK to activate the new password.
NOTE. To activate or deactivate the access protection, you must enter the
password you set. If you forget the password, you must return the instrument to
Tektronix to reset the password.
File Operations
This section describes the basic file operations such as browsing files and saving
or recalling the instrument setups or waveform data. The instrument setups or the
waveform data can be saved in or recalled from files in the internal memory or a
USB memory.
Browsing Waveform Files To browse for a waveform file in the internal memory or in a USB memory, use
the Arb Waveform Menu. You can select either Internal or USB as a memory
type. Figure E-10 is a screen display example when USB is selected.
You can select a waveform to be output. The specified waveform is output if the
output is enabled.
USB Memory. When you select USB from the Memory bezel menu, a directory of
folder and files on the USB memory are displayed on the screen. You can select a
folder or file using the general purpose knob to scroll up and down the rows of the
list. The directory of contents are listed in alphabetical order on the screen.
The arbitrary/function generator displays the directory with an index number (the
instrument numbers the directory contents from 1 to 500 files). You can also enter
an item index number using the numeric keypad to get close to the item you want.
The currently selected item is highlighted. You can open a directory by selecting
that row and then pushing the Change Directory bezel button. To open a file,
select that row and then push OK.
Browsing Waveform Files using Edit Menu. You can also browse through wave-
forms using the Edit Menu. Select a file you want to edit and then push the Read
bezel button. The specified waveform is loaded to the Edit Memory. You can now
edit the waveform.
Edit Memory. The currently edited waveform is written to the Edit Memory.
Written data in Edit Memory will be lost if the instrument is powered off. To allow
this waveform to be used the next time the instrument is turned on, the Edit
Memory waveform must be saved into the internal or a USB memory. To save a
waveform file to the internal or USB memory, use the Write to... submenu.
Saving a Waveform File Use the Edit Menu to save waveform data as a file in the internal memory or a USB
memory. To save a waveform data file, do the following:
NOTE. When you lock a directory, a lock icon does not appear. Once you lock a
directory, you cannot create a new file, new directory, or delete existing files.
To unlock a file or directory, select a locked file or directory and then push the
Lock/Unlock bezel button. If the lock icon disappears, it indicates that the file
is unlocked.
To delete a file or directory, select a file or directory and then push the Erase
bezel button.
Entering a File Name. When you select Write As from the Write to... submenu, the
character entry box is displayed as shown in Figure E-11.
File name box
English alphabet characters are displayed below the file name box. A selected char-
acter is highlighted. You can move the highlighted selection using the general pur-
pose knob. To enter the desired character, push the Enter Character bezel button
or the front-panel Enter button. The selected character is displayed in the file name
box.
To move the cursor in the file name box, use the arrow keys.
To delete a character in the file name box, push the front-panel BKSP key.
To insert a character in the file name box, move the cursor using the arrow
keys, then enter a character.
When the filename is specified, push the OK bezel button. To cancel the entry,
push the front-panel Cancel button.
If you select Make Directory, you can create a new directory. The created direc-
tory name will be listed. The file listings are in alphabetical order. The specified
filename will be highlighted.
NOTE. File names are displayed only in English characters regardless of current
instrument language selection. If you use non-English characters to name a file,
these characters are replaced by Roman symbols such as #, $,% on the display
screen.
Browsing Instrument To browse instrument setup files in the internal memory or in a USB memory, push
Setup Files the front-panel Recall button, and then push the Memory bezel button to specify
Internal or USB as a memory type. Figure E-12 is an example of screen when
Internal is selected.
Select a desired setup file, and then push Recall. The selected setup file is recalled.
Saving an Instrument Use the front-panel Save button to save instrument setups in the internal or in a
Setup File USB memory.
Entering a File Name. When you select Save As, the file name box is displayed as
shown in Figure E-13.
English alphabet characters are displayed below the file name box. A selected char-
acter is highlighted. You can move the highlighted selection using the general pur-
pose knob. To enter the desired character, push the Enter Character bezel button
or the front-panel Enter button. The selected character is displayed in the file name
box.
To move the cursor in the file name box, use the arrow keys.
To delete a character in the file name box, push the front-panel BKSP key.
To insert a character in the file name box, move the cursor using the arrow
keys, then enter a character.
When the filename is specified, push the OK bezel button. To cancel the entry,
push the front-panel Cancel button.
If you select Make Directory, you can create a new directory. The created direc-
tory name will be listed. The file listings are in alphabetical order. The specified
filename will be highlighted.
File Management The arbitrary/function generator checks for available space on the USB memory
Conventions before saving files, and displays a warning message if there is not enough memory
for the files you are saving.
The arbitrary/function generator does not have the internal calendar. If you create
a file using the file saving menus such as Save As or Write to, the date and time
information is not displayed.
If a file is created by other tools such as ArbExpress software, the date and time
information is displayed on the arbitrary/function generator screen.
MMEMory:LOAD:STATe 2-29 P
MMEMory:LOAD:TRACe 2-29
MMEMory:MDIRectory 2-30 Password
MMEMory:STORe:STATe 2-31 How to change E-29
Paste at Beginning, Edt menu E-21
MMEMory:STORe:TRACe 2-31
Paste at End, Edit menu E-22
MMEMory:LOCK[:STATe] 2-30
Phase | Delay button, shortcut button 1-9
Modulation Parameter Menu E-7
Power button 1-3
More Waveform Menu E-6
Power cord options A-1
More... button 1-8
Power On, Utility menu E-13, E-24
Power-on events 3-15
N Power-on setting E-27
New, Edit menu E-16 Programmer Manual, part number A-3
Noise Programming examples 4-1
More waveform menu E-6 *PSC 2-36
Noise Add Pulse button 1-8
Output menu E-12 Pulse menu E-4
Number of Points, Edit menu E-16
Numeric input 1-15
Q
O QCR 3-8
QENR 3-10
OCR 3-7 QEVR 3-8
OENR 3-9 Query errors 3-15
OEVR 3-7 Questionable Condition Register 3-8
Offset/Low button, shortcut button 1-9 Questionable Enable Register 3-10
*OPC 2-32 Questionable Event Register 3-8
Operation complete events 3-16 Queues 3-10
Operation Condition Register 3-3, 3-7 Quick Start User Manual, part number A-2
Operation Enable Register 3-3, 3-9
Operation Event Register 3-3, 3-7
Operations submenu, Edit menu E-17
R
*OPT? 2-32 Radio button E-1
Option buttons E-1 Ramp button 1-8
Optional accessories A-2 Ramp menu E-4
Options A-1 *RCL 2-36
Output a user-defined waveform E-5 Read from..., Edit menu E-20
Output menu E-12 Rear panel 1-19
How to access E-2 Recall button 1-6
Output Queue 3-10 Recall menu E-13
Output status 1-11 Recover Lead Delay, Pulse menu E-4
Output status, screen interface 1-11 Registers 3-4
OUTPut[1|2]:IMPedance 2-33 Request control events 3-16
OUTPut[1|2]:POLarity 2-34 *RST 2-37
OUTPut[1|2][:STATe] 2-34 Run Mode buttons 1-7
OUTPut:TRIGger:MODE 2-35
S
*SAV 2-37
Z
Zoom Fit, Edit menu E-15