Tektronix AWG410, AWG420, AWG430, AWG510, AWG520 Programmer Manual

...
Programmer Manual
AWG400/500/600 Series Arbitrary Waveform Generator
070-A810-50
This document supports program version 3.0 of AWG400 Series, version 4.0 of AWG500 Series and program version 4.0 of AWG600 Series.
www.tektronix.com
T ektronix 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.
T ektronix Japan, Ltd., 5–9–31 Kitashinagawa, Shinagawa–ku, Tokyo 141–0001 Japan T ektronix, Inc., P.O. Box 500, Beaverton, OR 97077
TEKTRONIX and TEK are registered trademarks of T ektronix, Inc.
WARRANTY
T ektronix warrants that this product will be free from defects in materials and workmanship for a period of one (1) year from the date of shipment. If any such product proves defective during this warranty period, T ektronix, 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.
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 T ektronix, with shipping charges prepaid. T ektronix shall pay for the return of the product to Customer if the shipment is to a location within the country in which the T ektronix 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. T ektronix shall not be obligated to furnish service under this warranty a) to repair damage resulting from attempts by personnel other than T ektronix representatives to install, repair or service the product; b) to repair damage resulting from improper use or connection to incompatible equipment; or c) 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 THIS PRODUCT IN LIEU OF ANY OTHER WARRANTIES, EXPRESSED 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 CUST OMER 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

Getting Started
Syntax and Commands
List of Tables vi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Figures viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preface xi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Getting Started 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Manual Overview 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting Up Remote Communications Using GPIB 1–4. . . . . . . . . . . . . . . . . . . . . . .
Setting Up Remote Communications Using Ethernet 1–8. . . . . . . . . . . . . . . . . . . . .
Command Syntax 2–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SCPI Commands and Queries 2–2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IEEE 488.2 Common Commands 2–9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Constructed Mnemonics 2–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Syntax Diagrams 2–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command Groups 2–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Groups 2–17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command Quick Reference 2–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command Summaries 2–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command Descriptions 2–31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABORt (No Query Form) 2–31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ABSTouch (No Query Form) 2–32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A WGControl:CLOCk:SOURce (?)
AWG400/500 series Only 2–37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AWGControl:DOUTput<x>[:STATe] (?) 2–37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A WGControl:ENHanced:SEQuence[:JMODe] (?) 2–39. . . . . . . . . . . . . . . . . . . . . . .
AWGControl:EVENt[:LOGic][:IMMediate] (No Query Form) 2–39. . . . . . . . . . . . .
AWGControl:EVENt:SOFT ware[:IMMediate] (No Query Form) 2–40. . . . . . . . . . .
AWGControl:EVENt:TABLe[:IMMediate] (No Query Form) 2–41. . . . . . . . . . . . . .
A WGControl:FG:FREQuency[:CW|:FIXed] (?) 2–41. . . . . . . . . . . . . . . . . . . . . . . . .
A WGControl:FG<n>:FUNCtion[:SHAPe] (?) 2–42. . . . . . . . . . . . . . . . . . . . . . . . . .
A WGControl:FG<n>:PHASe[:ADJust] (?)
AWG420, AWG430 and AWG520 Only 2–44. . . . . . . . . . . . . . . . . . . . . . . . . . .
A WGControl:FG<n>:POLarity (?) 2–45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A WGControl:FG<n>:PULSe:DCYCle (?) 2–46. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AWGControl:FG[:STATe] (?) 2–47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A WGControl:FG<n>:VOLTage[:LEVel][:IMMediate][:AMPLitude] (?) 2–48. . . . . .
A WGControl:FG<n>:VOLTage[:LEVel][:IMMediate]:OFFSet (?) 2–49. . . . . . . . . .
A WGControl:RMODe (?) 2–50. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AWGControl:RST ate? (Query Only) 2–51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AWGControl:RUN[:IMMediate] (No Query Form) 2–51. . . . . . . . . . . . . . . . . . . . . .
AWGControl:SREStore (No Query Form) 2–52. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AWGControl:SSAVe (No Query Form) 2–53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AWGControl:STOP[:IMMediate] (No Query Form) 2–53. . . . . . . . . . . . . . . . . . . . .
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
i
Table of Contents
*CAL? (Query Only) 2–54. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CALibration[:ALL] (?) 2–55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
*CLS (No Query Form) 2–56. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DIAGnostic:DATA? (Query Only) 2–56. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DIAGnostic[:IMMediate] (?) 2–57. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DIAGnostic:SELect (?) 2–58. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DISPlay:BRIGhtness (?)
AWG500/600 series Only 2–59. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DISPlay:ENABle (?)
AWG400 series Only 2–59. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DISPlay:HILight:COLor (?)
AWG400 series Only 2–60. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
*ESE (?) 2–61. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
*ESR? (Query Only) 2–62. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
HCOPy:DESTination (No Query Form) 2–62. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
HCOPy:DEVice:COLor (?)
AWG400 series Only 2–63. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
HCOPy:DEV ice:LANGuage (?) 2–63. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
HCOPy[:IMMediate] (No Query Form) 2–64. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
HCOPy:SDUMp[:IMMediate] (No Query Form) 2–65. . . . . . . . . . . . . . . . . . . . . . . .
*IDN? (Query Only) 2–65. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:CATalog? (Query Only) 2–66. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:CDIRectory (?) 2–67. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:CLOSe (No Query Form) 2–67. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:COPY (No Query Form) 2–68. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:DATA (?) 2–69. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:DELete (No Query Form) 2–69. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:FEED (?) 2–70. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:INITialize (No Query Form) 2–71. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:MDIRectory (No Query Form) 2–72. . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:MOVE (No Query Form) 2–72. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:MSIS (?) 2–73. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:NAME (?) 2–74. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MMEMory:OPEN (No Query Form) 2–75. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
*OPC (?) 2–76. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
*OPT? (Query Only) 2–76. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OUTPut<x>:FILT er[:LPASs]:FREQuency (?) 2–77. . . . . . . . . . . . . . . . . . . . . . . . . .
OUTPut<x>:ISTate (?)
AWG400 series(except Opt05) , AWG510 and AWG610 Only 2–78. . . . . . . . . .
OUTPut<x>[:STATe] (?) 2–79. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
*PSC (?) 2–80. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
*RST (No Query Form) 2–81. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
[SOURce<x>]:COMBine:FEED (?)
AWG400/500 series Only 2–81. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
[SOURce<x>]:FREQuency[:CW|FIXed] (?) 2–83. . . . . . . . . . . . . . . . . . . . . . . . . . . .
[SOURce<x>]:FUNCtion:USER (?) 2–84. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
[SOURce<x>]:MARKer[1|2]:DELay (?)
AWG500/600 series Only 2–85. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
[SOURce<x>]:MARKer[1|2]:VOLTage[:LEVel][:IMMediate]:HIGH (?)
AWG500/600 series Only 2–86. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
[SOURce<x>]:MARKer[1|2]:VOLTage[:LEVel][:IMMediate]:LOW (?)
AWG500/600 series Only 2–87. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Table of Contents
SOURce<x>:POWer[:LEVel][:IMMediate][:AMPLitude] (?)
AWG400/500 series Only 2–88. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
[SOURce<x>]:ROSCillator:SOURce (?) 2–89. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SOURce[2|3|5|6]:SKEW (?)
AWG400 series Only 2–90. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
[SOURce<x>]:VOLT age[:LEVel][:IMMediate][:AMPLitude] (?) 2–90. . . . . . . . . . .
SOURce5:VOLT age[:LEVel][:IMMediate]:HIGH (?)
AWG500 series Only 2–91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SOURce5:VOLT age[:LEVel][:IMMediate]:LOW (?)
AWG500 series Only 2–92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
[SOURce<x>]:VOLT age[:LEVel][:IMMediate]:OFFSet (?) 2–93. . . . . . . . . . . . . . . .
*SRE (?) 2–94. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ST ATus:OPERation:CONDition? (Query Only) 2–95. . . . . . . . . . . . . . . . . . . . . . . . .
ST ATus:OPERation:ENABle (?) 2–96. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
STATus:OPERation[:EVENt]? (Query Only) 2–96. . . . . . . . . . . . . . . . . . . . . . . . . . .
STATus:PRESet (No Query Form) 2–97. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ST ATus:QUEStionable:CONDition? (Query Only) 2–97. . . . . . . . . . . . . . . . . . . . . .
ST ATus:QUEStionable:ENABle (?) 2–98. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
STATus:QUEStionable[:EVENt]? (Query Only) 2–99. . . . . . . . . . . . . . . . . . . . . . . . .
STATus:QUEue[:NEXT]? (Query Only)
AWG500/600 series Only 2–99. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
*STB? (Query Only) 2–100. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYST em:BEEPer[:IMMediate] (No Query Form) 2–101. . . . . . . . . . . . . . . . . . . . . . .
SYST em:COMMunicate:LAN:DHCP[:CLIent]:LEASe:TIME (?)
AWG400 series Only 2–101. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYSTem:COMMunicate:LAN:DHCP[:CLIent][:STATe] (?)
AWG400 series Only 2–102. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYSTem:COMMunicate:LAN:FTP[:SERVer][:STATe] (?) 2–103. . . . . . . . . . . . . . . .
SYST em:COMMunicate:LAN:FTP[:SERVer]:VERSion (?) 2–103. . . . . . . . . . . . . . .
SYST em:COMMunicate:LAN:GATeway[1|2|3]:ADDRess (?) 2–104. . . . . . . . . . . . . .
SYST em:COMMunicate:LAN:NFS:TLIMit (?) 2–105. . . . . . . . . . . . . . . . . . . . . . . . .
SYST em:COMMunicate:LAN:PING? (Query Only) 2–105. . . . . . . . . . . . . . . . . . . . .
SYST em:COMMunicate:LAN:RDEVice[1|2|3]:ADDRess (?) 2–106. . . . . . . . . . . . . .
SYST em:COMMunicate:LAN:RDEVice[1|2|3]:FSYStem (?) 2–107. . . . . . . . . . . . . .
SYST em:COMMunicate:LAN:RDEVice[1|2|3]:NAME (?) 2–107. . . . . . . . . . . . . . . .
SYST em:COMMunicate:LAN:RDEVice[1|2|3]:PROTocol (?) 2–108. . . . . . . . . . . . . .
SYSTem:COMMunicate:LAN:RDEVice[1|2|3][:STATe] (?) 2–109. . . . . . . . . . . . . . .
SYST em:COMMunicate:LAN[:SELF]:ADDRess (?) 2–109. . . . . . . . . . . . . . . . . . . . .
SYST em:COMMunicate:LAN[:SELF]:MADDress? (Query Only)
AWG400 series Only 2–110. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYST em:COMMunicate:LAN[:SELF]:SMASk (?) 2–1 1 1. . . . . . . . . . . . . . . . . . . . . .
SYSTem:DATE (?) 2–112. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYST em:ERRor? (Query Only)
AWG500/600 series Only 2–113. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYST em:ERRor[:NEXT]? (Query Only)
AWG400 series Only 2–114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYST em:KDIRrection (?) 2–115. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYST em:KEYBoard[:TYPE] (?) 2–115. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYST em:KLOCk (?) 2–116. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYST em:SECurity:IMMediate (No Query Form) 2–117. . . . . . . . . . . . . . . . . . . . . . . .
SYST em:TIME (?) 2–117. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYST em:UPTime? (Query Only) 2–118. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SYST em:VERSion? (Query Only) 2–119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
iii
Table of Contents
Status and Events
*TRG (No Query Form) 2–119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TRIGger[:SEQuence][:IMMediate] (No Query Form) 2–120. . . . . . . . . . . . . . . . . . . .
TRIGger[:SEQuence]:IMPedance (?) 2–120. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TRIGger[:SEQuence]:LEVel (?) 2–121. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TRIGger[:SEQuence]:POLarity (?) 2–121. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TRIGger[:SEQuence]:SLOPe (?) 2–122. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TRIGger[:SEQuence]:SOURce (?) 2–123. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TRIGger[:SEQuence]:TIMer (?) 2–123. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
*TST? (Query Only) 2–124. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
*WAI (No Query Form) 2–125. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Retrieving Response Messages 2–127. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Transfer 2–129. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data File 2–129. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About Waveform and Pattern Files 2–130. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Data Transfer Procedures 2–138. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status and Event Reporting 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status Reporting Structure 3–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Registers 3–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status Registers 3–4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Enable Registers 3–8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Queues 3–10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status and Event Processing Sequence 3–1 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I/O Status and Event Screen 3–13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Synchronizing Execution 3–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Messages 3–14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Messages and Codes 3–15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command Errors 3–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Execution Errors 3–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Device Specific Errors 3–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Query Errors 3–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power-On Events 3–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User Request Events 3–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Request Control Events 3–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operation Complete Events 3–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Device Errors 3–23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Examples
Appendices
iv
Programming Examples 4–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix A: Character Charts A–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix B: GPIB Interface Specification B–1. . . . . . . . . . . . . . . . . . . . . .
Interface Functions B–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Interface Messages B–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendix C: Network Interface Specification C–1. . . . . . . . . . . . . . . . . . .
Appendix D: SCPI Conformance Information D–1. . . . . . . . . . . . . . . . . . .
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Glossary and Index
Table of Contents
Appendix E: Factory Initialization Settings E–1. . . . . . . . . . . . . . . . . . . . .
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
v
Table of Contents
List of Tables
Table 2–1: BNF symbols and meanings 2–1. . . . . . . . . . . . . . . . . . . . . . . .
Table 2–2: Query response examples 2–3. . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–3: Parameter types used in syntax descriptions 2–4. . . . . . . . . .
Table 2–4: Functional groups in the AWG command set 2–17. . . . . . . . . .
Table 2–5: AWG Control commands 2–20. . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–6: Calibration commands 2–21. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–7: Diagnostic commands 2–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–8: Display commands 2–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–9: Hardcopy commands 2–22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–10: Mass storage in AWG400/500/600 series 2–23. . . . . . . . . . . . .
Table 2–11: Mass Memory commands 2–23. . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–12: Output channel 2–24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–13: Output commands 2–24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–14: Available source and markers 2–25. . . . . . . . . . . . . . . . . . . . . .
Table 2–15: Source commands 2–26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–16: Status commands 2–27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–17: Synchronization commands 2–27. . . . . . . . . . . . . . . . . . . . . . .
Table 2–18: System commands 2–28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–19: Trigger commands 2–30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–20: Argument and available AWG 2–32. . . . . . . . . . . . . . . . . . . . .
Table 2–21: Selecting run modes 2–50. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 2–22: Self-test routines 2–58. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–1: SBR bit functions 3–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–2: SESR bit functions 3–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–3: OCR bit functions 3–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–4: QCR bit functions 3–7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–5: Definition of event codes 3–15. . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–6: Command errors 3–16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–7: Execution errors 3–18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–8: Device specific errors 3–20. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–9: Query errors 3–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–10: Power-on events 3–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–11: User request events 3–21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 3–12: Request control events 3–22. . . . . . . . . . . . . . . . . . . . . . . . . . . .
vi
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Table of Contents
Table 3–13: Operation complete events 3–22. . . . . . . . . . . . . . . . . . . . . . . .
Table 3–14: Device errors (AWG400 series) 3–23. . . . . . . . . . . . . . . . . . . . .
Table 3–15: Device errors (AWG500/600 series) 3–30. . . . . . . . . . . . . . . . .
Table A–1: The AWG character set A–1. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table A–2: ASCII & GPIB code chart A–2. . . . . . . . . . . . . . . . . . . . . . . . . .
Table B–1: GPIB interface function implementation B–1. . . . . . . . . . . . .
Table B–2: AWG standard interface message B–3. . . . . . . . . . . . . . . . . . .
Table D–1: SCPI conformance information(AWG400 series) D–1. . . . . .
Table D–2: SCPI conformance information(AWG500/600 series) D–4. . .
Table E–1: Factory initialization settings (AWG400 series) E–1. . . . . . . .
Table E–2: Factory initialization settings (AWG500/600 series) E–4. . . .
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
vii
Table of Contents
List of Figures
Figure 1–1: Common message elements 1–1. . . . . . . . . . . . . . . . . . . . . . . .
Figure 1–2: Functional groupings and alphabetical list of commands 1–2
Figure 1–3: Basic operation of status and events reporting 1–3. . . . . . . .
Figure 1–4: The floppy disk 1–3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 1–5: GPIB connector location 1–4. . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 1–6: How to stack GPIB connectors 1–5. . . . . . . . . . . . . . . . . . . . .
Figure 1–7: Typical GPIB network configurations 1–6. . . . . . . . . . . . . . .
Figure 1–8: Selecting the GPIB configuration and address 1–7. . . . . . . .
Figure 1–9: Ethernet port location (AWG400 series) 1–8. . . . . . . . . . . . . .
Figure 1–10: Ethernet port location (AWG500/600 series) 1–8. . . . . . . . .
Figure 1–11: Setting the Network parameters 1–9. . . . . . . . . . . . . . . . . . .
Figure 1–12: Message box to indicate the establishment of communication . .
1–10
Figure 2–1: Example of SCPI subsystem hierarchy tree 2–2. . . . . . . . . . .
Figure 2–2: Example of abbreviating a command 2–5. . . . . . . . . . . . . . . .
Figure 2–3: Example of chaining commands and queries 2–6. . . . . . . . . .
Figure 2–4: Example of omitting root and lower-level nodes in a chained
message 2–6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–5: Typical syntax diagrams 2–15. . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–6: ABSTouch arguments and associated controls 2–35. . . . . . . . .
Figure 2–7: ABSTouch arguments and Front panel key area 2–36. . . . . . .
Figure 2–8: ABSTouch arguments and Trigger, Output controls 2–36. . . .
Figure 2–9: Retrieving response messages 2–127. . . . . . . . . . . . . . . . . . . . . .
Figure 2–10: The Waveform file format 2–131. . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–11: The Pattern File format 2–132. . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–12: The Sequence File format 2–134. . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–13: The Equation File format 2–136. . . . . . . . . . . . . . . . . . . . . . . . .
Figure 2–14: The Code Convert File format 2–137. . . . . . . . . . . . . . . . . . . . .
Figure 3–1: Error and Event handling process overview 3–2. . . . . . . . . .
Figure 3–2: The Status Byte Register (SBR) 3–5. . . . . . . . . . . . . . . . . . . . .
Figure 3–3: The Standard Event Status Register (SESR) 3–6. . . . . . . . . .
Figure 3–4: The Operation Condition Register (OCR) 3–7. . . . . . . . . . . .
Figure 3–5: The Questionable Condition Register (QCR) 3–7. . . . . . . . .
Figure 3–6: The Event Status Enable Register (ESER) 3–8. . . . . . . . . . . .
viii
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Table of Contents
Figure 3–7: The Service Request Enable Register (SRER) 3–9. . . . . . . . .
Figure 3–8: The Operation Enable Register (OENR) 3–9. . . . . . . . . . . . .
Figure 3–9: The Questionable Enable Register (QENR) 3–9. . . . . . . . . . .
Figure 3–10: Status and Event processing sequence — Operation status
block 3–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 3–11: Status and Event processing sequence — Questionable status
block 3–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 3–12: Status and Event processing sequence — Standard/Event
status block 3–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 3–13: Status and Event screen 3–13. . . . . . . . . . . . . . . . . . . . . . . . . .
Figure 4–1: Equipment needed to run the GPIB example programs 4–1.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
ix
Table of Contents
x
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Preface
This is the programmer manual for the AWG400/500/600 Series Arbitrary Waveform Generators. This manual provides information necessary for operating the instrument over both the General Purpose Interface Bus (GPIB) and Ethernet interfaces.
This manual provides the following information: H The Getting Started section describes how to connect and set up the
waveform generator for remote operation.
H The Syntax and Commands section defines the command syntax and
processing conventions and describes each command in the waveform generator command set.
H The Status and Events section explains the status information and event
messages reported by the waveform generator.
H The Programming Examples section describes how to use the Sample
Program floppy disk supplied with the waveform generator.
H The Appendices section contains various tables of reference information.
Related Manuals
H The Glossary and Index section contains a glossary of common terms and an
index to this manual.
Other documentation for the waveform generator includes:
H The AWG410, 420 & AWG430 200MHz Arbitrary Waveform Generator User
Manual (Tektronix part number 070-A809-50) describes the operation of the
instrument.
H The AWG510 & AWG520 Arbitrary Waveform Generator User Manual
(Tektronix part number 071-0099-50) describes the operation of the instrument.
H The AWG610 Arbitrary Waveform Generator User Manual (Tektronix part
number 071-0554-50) describes the operation of the instrument.
H The AWG510 & AWG520 Arbitrary Waveform Generator Service Manual
(Tektronix part number 071-0101-50) provides information for maintaining and servicing the waveform generator.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
xi
Preface
H The AWG610 Arbitrary Waveform Generator Service Manual (Tektronix part
number 071-0556-50) provides information for maintaining and servicing
the waveform generator.
xii
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual

Getting Started

Getting Started
The AWG400/500/600 Series Arbitrary Waveform Generator has GPIB and 10Base–T/100Base–TX (AWG400 series only) Ethernet interface capability. You can write computer programs that remotely set the front panel controls or that transfer waveform data.
To help you get started with programming the waveform generator, this section includes the following subsections:
H Manual Overview – summarizes the type of programming information
contained in each major section in this manual.
H Setting Up Remote Communications Using GPIB – describes how to connect
the waveform generator to a controller through the GPIB interface, and how to set the appropriate front panel controls.
H Setting Up Remote Communications Using Ethernet – describes how to
connect the waveform generator to a controller using the Ethernet interface and how to set the appropriate front panel controls.
Manual Overview
Syntax and Commands
Command parts
FUNCtion:USER
Syntax diagram
FUNCtion
Header
Mnemonics
USER:
A summary of the information provided in each major section of this manual follows:
The Command Syntax subsection, which begins on page 2–1, describes the structure and content of the messages your program sends to the waveform generator. You can use the Standard Commands for Programmable Instruments (SCPI) and IEEE 488.2 Common Commands. Figure 1–1 is an example of the syntax and command parts diagrams used in the Command Syntax subsection.
Comma
"FILE1","FLOPpy"
ArgumentsSpace
<space>
<file_name>
,
<msus>
Figure 1-1: Common message elements
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
1-1
Getting Started
The Command Syntax subsection also describes the result of each command, and provides examples of how you might use it. The Command Groups subsection, which begins on page 2–17, provides a command list by functional area. The Command Descriptions subsection, which begins on page 2–31, arranges commands alphabetically. Figure 1–2 illustrates the two kinds of command lists.
Trigger
Diagnostic Commands
Calibration Commands
D D D
AWG Control Commands
C C
AWGControl:DOUTput:[:STATe]
C
AWGControl:EVENt:LOGic[:IMMediate] AWGControl:RMODe AWGControl:RSTate? AWGControl:RUN[:IMMediate]
Commands Grouped in Functional Areas Commands Listed Alphabetically
TRIGg
and
AWGControl:RMODe
AWGControl:EVENt:LOGic[:IMMediate]
S
G
E
AWGControl:DOUTput[:STATe]
S
G
Syntax: . . .
Group: . . .
E
Examples: . . .
Figure 1-2: Functional groupings and alphabetical list of commands
Status and Events
Reporting
The program may request information from the waveform generator. The waveform generator provides information in the form of status and error messages. Figure 1–3 on page 1–3 illustrates the basic operation of this system.
The Status and Events Reporting subsection, which begins on page 3–1, describes how to use the status reporting functions that conform to SCPI and IEEE–488.2 in your programs.
1-2
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Your program requests status and event reports.
Controller
Your program requests
status and event reports.
Controller
Getting Started
AWG sends status and event reports.
Waveform generator (rear panel)
GPIB cable
AWG sends status and event reports.
Waveform generator (rear panel)
Programming Examples
Transceiver cable
LAN (Ethernet) or Hub
Transceiver cable
Figure 1-3: Basic operation of status and events reporting
The Programming Examples section, which begins on page 4–1, provides some sample waveform generator programs. A floppy disk (see Figure 1–4) is supplied with this manual. The disk contains a Microsoft Visual C++ and Visual BASIC source-code version of each program.
AWG Example
Programs
Figure 1-4: The floppy disk
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
1-3
Getting Started
Setting Up Remote Communications Using GPIB
For remote operations, the instrument must be connected to the controller. The waveform generator has a 24-pin GPIB connector on its rear panel, as shown
in Figure 1–5. This connector has a D-type shell and conforms to IEEE Std 488.1-1987.
Attach an IEEE Std 488.1-1987 GPIB cable (Tektronix Part Number 012-0991-xx) to the GPIB connector.
GPIB connector
Figure 1-5: GPIB connector location
1-4
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Stack GPIB connectors, if needed, as shown in Figure 1–6.
Getting Started
Figure 1-6: How to stack GPIB connectors
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
1-5
Getting Started
GPIB Requirements
Follow these rules when you use your waveform generator with a GPIB network: H Assign a unique device address to each device on the bus. Two devices can
not share the same device address.
H Do not connect more than 15 devices to one bus. H Connect one device for every 2 meters (6 feet) of cable used. H Do not use more than 20 meters (65 feet) of cable to connect devices to a
bus. H While using the network, turn on at least two-thirds of the devices on the
network. H Connect the devices on the network in a star or linear configuration, as
shown in Figure 1–7. Do not use loop or parallel configurations.
GPIB Device
GPIB Device
GPIB Device
GPIB Device
GPIB Device
Setting the GPIB
Parameters
GPIB Device
GPIB Device
Figure 1-7: Typical GPIB network configurations
NOTE. Appendix C: Network Interface Specification provides more information about the GPIB configuration of the waveform generator.
You must set the GPIB parameters of the waveform generator to match the configuration of the bus. Follow the steps below to set up the waveform generator for the GPIB interface.
1. Press the UTILITY button to display the Utility screen.
2. Press the Comm menu button at the bottom of the screen.
3. Move the cursor to the Remote Control field using the up/down (/) arrow
buttons, then select GPIB using the left/right (/) arrow buttons.
4. Move the cursor to the GPIB Configuration field using the up/down (/↓)
arrow buttons, then select Talk/Listen using either the general purpose knob
or the left/right (←/→) arrow buttons. See Figure 1–8 on page 1–7.
1-6
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Getting Started
5. Move the cursor to the GPIB Address field using the down (↓) arrow
button. Set the address using either the general purpose knob or the keypad.
Figure 1-8: Selecting the GPIB configuration and address
The waveform generator is set up for bidirectional communication with your controller. Do the following to isolate the waveform generator from the bus:
Select Off Bus in the GPIB Configuration field.
This selection disables all communication with the controller.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
1-7
Getting Started
Setting Up Remote Communications Using Ethernet
NOTE. For remote operations, the instrument must be connected to the controller.
The waveform generator has an Ethernet (10Base–T/100Base–Tx) port on the rear panel (100Base–Tx is AWG400 series only) as shown in Figures 1–9 and 1–10.
Attach an Ethernet cable to the Ethernet port.
EthernetĂport
1-8
Figure 1-9: EthernetĂport location (AWG400 series)
EthernetĂport
Figure 1-10: EthernetĂport location (AWG500/600 series)
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Getting Started
Setting the Network
Parameters
You must set the network parameters of the waveform generator to match the configuration of the network. After you have set these parameters, you can control the waveform generator through the Ethernet interface.
1. Press the UTILITY button to display the Utility screen.
2. Press the Comm menu button at the bottom of the screen.
3. Move the cursor to the Remote Control field using the up/down (/) arrow buttons, then select Network using the left/right (/) arrow buttons.
4. Move the cursor to the Network IP Address field using the up/down (/↓)
arrow buttons, then set the address using the keypad. See Figure 1–11 on page 1–9.
5. If necessary, use the Subnet Mask field to set the address.
6. If necessary, use the Destination Network and Gateway Address fields to
set the destination network and the address. You need to set the gateway address when the remote computers are
connecting to another network that is connected to the network via gateway. You can set up to three gateways.
Setting the FTP server to Enabled for access to the hard disk system of the instrument from a remote computer.
If you are not familiar with the network setup, consult with your network administrator.
Network parameters
Figure 1-11: Setting the Network parameters
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
1-9
Getting Started
Testing the Network
Connection
After completing the connection and settings, verify that the waveform generator can recognize the network and the remote computers, or if the network can recognize the waveform generator . Following these steps to use the ping command to verify that the instrument can communicate with the network:
1. Press the UTILITY button to display the Utility screen.
2. Press the Network or Comm bottom menu button.
3. Press the Execute Ping side button to display a dialog box.
4. Enter the IP address of the remote computer in the dialog box, and then push
the OK side button. The ping command sends a packet to the remote computer specified by the
IP address. When the computer receives the packet, it sends the packet back to the sender (waveform generator).
When the waveform generator can communicate with the remote computer through the network the message in Figure 1–12 displays. If communication failed, the message box displays an error message such as ”no response from...”.
5. Repeat steps 2 and 3 to verify the connection for other remote computers on
the network.
AWG400 series AWG500/600 series
Figure 1-12: Message box to indicate the establishment of communication
1-10
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual

Syntax and Commands

Loading...
+ 214 hidden pages