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

Command Syntax
This section contains general information about command structure and syntax usage. You should familiarize yourself with this material before using the waveform generator command descriptions.
This manual describes commands and queries using Backus-Naur Form (BNF) notation. Table 2–1 defines standard BNF symbols.
Table 2-1: BNF symbols and meanings
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
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-1
Command Syntax
SCPI Commands and Queries
The waveform generator uses a command language based on the SCPI standard. 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 program­ming messages, instrument responses and data formats that operate across all SCPI instruments, regardless of manufacturer.
The SCPI language is based on a hierarchical or tree structure that represents a subsystem (see Figure 2–1). The top level of the tree is the root node; it is followed by one or more lower-level nodes.
TRIGger
SEQuence
POLarity
SOURceLEVel
Root node
LowerĆlevel nodes
Figure 2-1: Example of SCPI subsystem hierarchy tree
You can create commands and queries from these subsystem hierarchy trees. Commands specify actions for the instrument to perform. Queries return measurement data and information about parameter settings.
2-2
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Syntax
Creating Commands
Creating Queries
Query Responses
SCPI commands are created by stringing together the nodes of a subsystem hierarchy and separating each node by a colon.
In Figure 2–1 on page 2–2, TRIGger is the root node and SEQuence, LEVel, POLarity, and SOURce 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 parame­ters; you must include a value for these parameters. The command descriptions, which begin on page 2–31, list the valid values for all parameters.
For example, TRIGger:SEQuence:SOURce EXTernal is a valid SCPI command created from the hierarchy tree in Figure 2–1 on page 2–2.
To create a query, start at the root node of a tree structure, move down to the end of a branch, and add a question mark. TRIGger:SEQuence:SOURce? is an example of a valid SCPI query using the hierarchy tree in Figure 2–1 on page 2–2.
The query causes the waveform generator to return information about its status or settings. When a query is sent to the waveform generator, only the values are returned. When the returned value is a mnemonic, it is noted in abbreviated format, as shown in Table 2–2.
Table 2-2: Query response examples
Query Response
SOURce:VOLTage:AMPLitude? 1.000
AWGControl:RMODe? CONT
A few queries also initiate an operation action before returning information. For example, the *CAL? query runs a calibration.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-3
Command Syntax
Parameter Types
Parameters are indicated by angle brackets, such as <file_name>. There are several different types of parameters, as listed in Table 2–3. The parameter type is listed after the parameter. Some parameter types are defined specifically for the AWG400/500/600 series command set and some are defined by SCPI.
Table 2-3: Parameter types used in syntax descriptions
Parameter Type Description Example
arbitrary block A block of data bytes #512234xxxxx...
where 5 indicates that the following 5 digits (12234) specify the length of the data in bytes; xxxxx... indicates the data
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 may
be type NR1, NR2, or NR3
string Alphanumeric characters (must be
within quotation marks)
See NR1, NR2, NR3 examples in this table
Testing 1, 2, 3"
2-4
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Syntax
Special Characters
Abbreviating Commands,
Queries, and Parameters
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.
You can abbreviate most SCPI commands, queries, and parameters to an accepted 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–2. The accepted short form and the long form are equivalent and request the same action of the instrument.
Long form of a
command
Accepted short form
of a command
ce1:FREQuency 100
SOUR
Minimum information needed
for accepted short form
SOUR1:FREQ 100
Figure 2-2: Example of abbreviating a command
NOTE. The numeric suffix of a command or query may be included in either the long form or short form; the AWG400/500/600 series will default to “1” if no suffix is used.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-5
Command Syntax
Chaining Commands and
Queries
You can chain several commands or queries together into a single message. To 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–3 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.
:SOUR:FREQ:FIXĂ100;:OUTP:STATĂON;:SOUR:VOLT:AMPL?;:TRIG:SEQ:LEV?
First command Second command Second query
The response from this chained message might be:
Response from first query Response from second query
First query
100;1.2
Figure 2-3: Example of chaining commands and queries
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–4, the second command has the same root node (SEQuence) as the first command, so these nodes can be omitted.
:TRIG:SEQ:LEVĂ2.5;:TRIG:SEQ:SLOP POS;:TRIG:SEQ:SOURĂEXT
Identical root and lowerĆlevel nodes
:TRIG:SEQ:LEVĂ2.5;SLOPĂPOS;SOURĂEXT
First command Additional commands
(omitted the root nodes)
Figure 2-4: Example of omitting root and lowerĆlevel nodes in a chained message
2-6
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Syntax
Unit 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.
You can omit the unit, but you must include the SI unit prefix. You can use either upper or lowercase units.
V or v for voltage Hz, HZ, or hz for frequency ohm, OHM, or Ohm for impedance s or S for time dbm, DBM, or Dbm for power ratio (AWG400/500 series only)
In the case of angle, you can use RADian and DEGree. The default unit is RADian.
The SI prefixes, which must be included, are shown below. Note that either lower or upper case prefixes can be used.
SI prefix * p/P n/N u/U m/M k/K m/M g/G
Corresponding power 10
* Note that the prefix m/M indicates 10-3when the decimal numeric argument denotes
voltage or time, but indicates 106when it denotes frequency.
* Note that the prefix u/U is used instead of "m".
-12
10
-9
10
-6
10
-3
10
3
10
6
10
Use mV for V, and MHz for Hz.
9
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-7
Command Syntax
General Rules
Here are three general rules for using SCPI commands, queries, and parameters: H 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.’
H You can use upper case, lower case, or a mixture of both cases for all
commands, queries, and parameters.
:OUTPUT:FILTER:LPASS:FREQUENCYĂ200MHZ
is the same as
output:filter:lpass:frequencyĂ200MHz
and
OUTPUT:filter:LPASS:frequencyĂ200MHz
NOTE. Literal strings (quoted) are case sensitive. For example: file names.
H No embedded spaces are allowed between or within nodes.
correct: OUTPUT:FILTER:LPASS:FREQUENCYĂ200MHZ incorrect: OUTPUT: FILTER: LPASS:FREQUENCYĂ200MHZ
2-8
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
IEEE 488.2 Common Commands
ANSI/IEEE Standard 488.2 defines the codes, formats, protocols, and usage of common commands and queries used on the interface between the controller and the instruments. The waveform generator complies with this standard.
The syntax for an IEEE 488.2 common command is an asterisk (*) followed by a command and, optionally, a space and parameter value. The syntax for an IEEE 488.2 common query is an asterisk (*) followed by a query and a question mark. All of the common commands and queries are included in the Syntax and Commands section of this manual. The following are examples of common commands:
H *ESE 16
H *CLS
The following are examples of common queries:
H *ESR?
Command Syntax
H *IDN?
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-9
Command Syntax
Constructed Mnemonics
Some command headers list a range of mnemonics. When constructing the command, you select one mnemonic from the list. You then use the mnemonic in the command just as you do any other mnemonic. Mnemonic ranges can be presented in any of the following formats:
MNEMonic[a|b|c]. The values a, b, and c represent the actual list of valid selections. You cannot list more than one value.
For example, for the command SYSTem:COMMunicate:LAN:GATeĆ way[1|2|3]:ADDRess, the gateway mnemonic could be any of the follow­ing:GATeway1, GATeway2, or GATeway3. Therefore, a valid usage of this command would be: SYSTem:COMMunicate:LAN:GATeway1:ADDRess.
MNEMonic<n>. The value of <n> is the upper range of valid suffixes. If the numeric suffix is omitted, the waveform generator uses the default value of “1”.
Source Channel
Mnemonics
These commands specify the source channel to use as a mnemonic in the header.
Symbol Meaning AWG410 AWG420 AWG430 AWG510 AWG520 AWG610
SOURce1 CH1 signal of waveĆ
form generator
SOURce2 CH2 signal of waveĆ
form generator
SOURce3 CH3 signal of waveĆ
form generator
SOURce4 CH1 digital data Op03
SOURce5 CH2 digital data
SOURce6 CH3 digital data
SOURce7 CH1
noise ADD signal
Noise ADD signal
SOURce8 CH1
Ext. ADD signal
SOURce9 CH2
noise ADD signal
SOURce10 CH2
Ext. ADD signal
O O O O O O
X O O X O X
X X O X X X
Op03
only
X
X X
O O O
O O O O O X
X O O X X X
X O O X X X
only
Op03
only
Op03
only
Op03
only
Op03
only
X X X
Op03
only
X X X
O O X
Op03
only
X
2-10
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Symbol AWG610AWG520AWG510AWG430AWG420AWG410Meaning
SOURce11 CH3
noise ADD signal
SOURce12 CH3
Ext. ADD signal
O:usable X:not used OpXX:usable OptXX only
Command Syntax
X X O X X X
X X O X X X
Output Channel
Mnemonics
These commands specify the output channel to use as a mnemonic in the header.
Symbol Meaning AWG410 AWG420 AWG430 AWG510 AWG520 AWG610
OUTPut1 CH1 analog
signal output
OUTPut2 CH2 analog
signal output
OUTPut3 CH3 analog
signal output
OUTPut4 CH1 digital
data output
OUTPut5 CH2 digital
data output
digital data output
OUTPut6 CH3 digital
data output
OUTPut7 Noise ADD
signal
O:usable X:not used OpXX:usable OptXX only
O O O O O O
X O O X O X
X X O X X X
Op03
only
X
Op03
only
Op03
only
X X
Op03
only
Op03
only
Op03
X X X
Op03
only
X X X
Op03
only
X
only
X X X O O X
Direct D/A Output
Mnemonics
These commands specify the direct D/A converter output to use as a mnemonic in the header.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-11
Command Syntax
Symbol Meaning AWG410 AWG420 AWG430 AWG510 AWG520 AWG610
DOUTput1 Direct output from
CH1 D/A converter
DOUTput2 Direct output from
CH2 D/A converter
DOUTput3 Direct output from
CH3 D/A converter
O:usable X:not used
O O O O O O
X O O X O X
X X O X X X
Gateway Mnemonics
Marker Mnemonics
Remote Device
Mnemonics
These commands specify the gateway to use as a mnemonic in the header.
Symbol Meaning
GATeway1 Gateway 1
GATeway2 Gateway 2
GATeway3 Gateway 3
These commands specify the marker to use as a mnemonic in the header.
Symbol Meaning
MARKer1 The signal for the marker 1 (AWG500/600 series only)
MARKer2 The signal for the marker 2 (AWG500/600 series only)
These commands specify the remote device to use as a mnemonic in the header.
Symbol Meaning
RDEVice1 Network drive 1
2-12
RDEVice2 Network drive 2
RDEVice3 Network drive 3
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Syntax
Source to Output
Connections
AWG400 Series
CH1
(Analog Data) SOURce1
(Digital Data) (SOURce4)
(Ext add in) SOURce8
CH2
(Analog Data) SOURce2
(Digital Data) (SOURce5)
(Noise) SOURce9
The following illustrations shows the source to output connections for the AWG400 series, AWG510, AWG520, and AWG610 instruments.
OUTPut1 (Analog Output)
DOUTput1 (Analog Output)
OUTPut4 (Digital Output)
(Noise) SOURce7
OUTPut2 (Analog Output)
DOUTput2 (Analog Output)
OUTPut5 (Digital Output)
(Ext add in) SOURce10
CH3
(Analog Data) SOURce3
(Digital Data) (SOURce6)
(Noise) SOURce11
(Ext add in) SOURce12
AWG510
Channel1 SOURce1
Waveform
External SOURce8
Noise SOURce7 OUTPut7
Pattern SOURce5 (W/Option03)
OUTPut3 (Analog Output)
DOUTput3 (Analog Output)
OUTPut6 (Digital Output)
OUTPut1
DOUTput1
OUTPut5
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-13
Command Syntax
AWG520
Channel1 SOURce1
Waveform
External SOURce8
OUTPut1
DOUTput1
AWG610
Noise SOURce7
Channel2 SOURce2 Waveform
Pattern SOURce5 (W/Option03)
Channel1 SOURce1
Waveform
OUTPut7
OUTPut2
DOUTput2
OUTPut5
OUTPut1
Doubt1
2-14
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Syntax Diagrams
Command Syntax
The syntax of each command and query is explained by both syntax diagrams and BNF notation. Figure 2–5 shows some typical syntax diagram structures. The syntax diagrams are described by the following symbols and notation:
H Oval symbols contain literal elements, such as a command or query header
and a nonquoted string argument.
H Circle symbols contain separators or special symbols, such as (:), (,), and (?). H Box symbols contain the defined element, such as <NR1>. H Arrow symbols connect elements to show the paths that can be taken through
the diagram and, thereby, the order in which the elements can be sent in a command structure.
H Parallel paths show that only one of the paths can be taken in the command.
See diagram 1 in Figure 2–5.
H A loop around an element(s) shows the element can be repeated. See
diagram 2 in Figure 2–5.
H A path around a group of elements shows that those elements are optional.
See diagram 3 in Figure 2–5.
NOTE. The unit and SI prefix that can be added to decimal numeric arguments are not described in the syntax diagram. See Unit and SI Prefix on page 2–7.
Diagram 1
Diagram 2
Diagram 3
Figure 2-5: Typical syntax diagrams
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-15
Command Syntax
2-16
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Groups
This section lists commands in two ways, by functional groups and alphabetical­ly. The functional group list starts below. The alphabetical list provides more detail on each command and starts on page 2–31.
The GPIB interface of AWG400 Series conforms to SCPI (Standard Commands for Programmable Instruments) 1999.0 and IEEE Std 488.2–1987, except where noted.
The GPIB interface of AWG500/600 Series conforms to SCPI (Standard Commands for Programmable Instruments) 1995.0 and IEEE Std 488.2–1987, except where noted.
Functional Groups
Table 2–4 lists the functional groups into which the AWG400/500/600 Series Arbitrary Waveform Generator (AWG) commands are classified.
Table 2-4: Functional groups in the AWG command set
Group Function
AWG Control Control operating mode
Calibration Perform calibration
Diagnostic Control selfĆtest routines
Display Control the presentation of information on the front panel display
Hardcopy Dump the whole display into the file on the mass storage
Mass Memory Control file operations on the mass storage
Output Control the characteristics of the waveform output port
Source Set waveform and marker output parameters, such as frequency and level
Status Set and query the registers and queues of the reporting system
Synchronization Control operation complete and pending command execution
System Control miscellaneous instrument functions such as LAN, security, and time
Trigger Synchronize the waveform generator actions with events
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-17
Command Groups
Command Quick Reference
The next page lists all the commands in each functional group and can be copied for use as a quick reference. The minimum accepted character string for each command is shown in uppercase characters.
AWG Control commands
AWGControl:CLOCk:SOURce (?) AWGControl:DOUTput<x>:STATe (?) AWGControl:ENHanced:SEQuence:JMODe(?) AWGControl:EVENt:LOGic:IMMediate AWGControl:EVENt:SOFTware:IMMediate AWGControl:EVENt:TABLe:IMMediate AWGControl:FG:FREQuency:CW|:FIXed (?) AWGControl:FG<n>:FUNCtion:SHAPe (?) AWGControl:FG<n>:PHASe:ADJust (?) AWGControl:FG<n>:POLarity (?) AWGControl:FG<n>:PULSe:DCYCle (?) AWGControl:FG:STATe (?) AWGControl:FG<n>:VOLTage:LEVel:IMMediate:AMPLitude (?) AWGControl:FG<n>:VOLTage:LEVel:IMMediate:OFFSet (?) AWGControl:RMODe (?) AWGControl:RSTate? AWGControl:RUN:IMMediate AWGControl:SREStore AWGControl:SSAVe AWGControl:STOP:IMMediate
Calibration commands
*CAL? CALibration:ALL (?)
Diagnostic commands
DIAGnostic:DATA? DIAGnostic:IMMediate (?) DIAGnostic:SELect (?) *TST?
Display commands
ABSTouch DISPlay:BRIGhtness (?) DISPlay:ENABle (?) DISPlay:HILight:COLor (?)
Hardcopy commands
HCOPy:DESTination HCOPy:DEVice:COLor (?) HCOPy:DEVice:LANGuage (?) HCOPy:IMMediate HCOPy:SDUMp:IMMediate
Mass memory commands
MMEMory:CATalog? MMEMory:CDIRectory (?) MMEMory:CLOSe MMEMory:COPY
MMEMory:DATA (?) MMEMory:DELete MMEMory:FEED (?) MMEMory:INITialize MMEMory:MDIRectory MMEMory:MOVE MMEMory:MSIS (?) MMEMory:NAME (?) MMEMory:OPEN
Output commands
OUTPut<x>:FILTer:LPASs:FREQuency (?) OUTPut<x>:ISTATe (?) OUTPut<x>:STATe (?)
Source commands
SOURce<x>:COMBine:FEED (?) SOURce<x>:FREQuency:CW|:FIXed (?) SOURce<x>:FUNCtion:USER (?) SOURce<x>:MARKer<y>:DELay (?) SOURce<x>:MARKer<y>:VOLTage:LEVel:IMMediate:HIGH (?) SOURce<x>:MARKer<y>:VOLTage:LEVel:IMMediate:LOW (?) SOURce<x>:POWer:LEVel:IMMediate:AMPLitude (?) SOURce<x>:ROSCillator:SOURce (?) SOURce<x>:SKEW (?) SOURce<x>:VOLTage:LEVel:IMMediate:AMPLitude (?) SOURce5:VOLTage:LEVel:IMMediate:HIGH (?) SOURce5:VOLTage:LEVel:IMMediate:LOW (?) SOURce<x>:VOLTage:LEVel:IMMediate:OFFSet (?)
Status commands
*CLS *ESE (?) *ESR? *PSC (?) *SRE (?) STATus:OPERation:CONDition? STATus:OPERation:ENABle (?) STATus:OPERation:EVENt? STATus:PRESet STATus:QUEStionable:CONDition? STATus:QUEStionable:ENABle (?) STATus:QUEStionable:EVENt? *STB?
Synchronization commands
*OPC (?) *WAI
2-18
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Groups
System commands
*IDN? *OPT? *RST SYSTem:BEEPer:IMMediate SYSTem:COMMunicate:LAN:DHCP:CLIent:LEASe:TIME (?) SYSTem:COMMunicate:LAN:DHCP:CLIent:STATe (?) SYSTem:COMMunicate:LAN:FTP:SERVer:STATe (?) SYSTem:COMMunicate:LAN:FTP:SERVer:VERSion (?) SYSTem:COMMunicate:LAN:GATeway<x>:ADDRess (?) SYSTem:COMMunicate:LAN:NFS:TLIMit (?) SYSTem:COMMunicate:LAN:PING? SYSTem:COMMunicate:LAN:RDEVice<x>:ADDRess (?) SYSTem:COMMunicate:LAN:RDEVice<x>:FSYStem (?) SYSTem:COMMunicate:LAN:RDEVice<x>:NAME (?) SYSTem:COMMunicate:LAN:RDEVice<x>:PROTocol (?) SYSTem:COMMunicate:LAN:RDEVice<x>:STATe (?) SYSTem:COMMunicate:LAN:SELF:ADDRess (?) SYSTem:COMMunicate:LAN:SELF:MADDress (?) SYSTem:COMMunicate:LAN:SELF:SMASk (?)
SYSTem:DATE (?) SYSTem:ERRor:NEXT? SYSTem:KDIRection (?) SYSTem:KEYBoard:TYPE (?) SYSTem:KLOCk (?) SYSTem:SECurity:IMMediate SYSTem:TIME (?) SYSTem:UPTime? SYSTem:VERSion?
Trigger commands
ABORt *TRG TRIGger:SEQuence:IMMediate TRIGger:SEQuence:IMPedance (?) TRIGger:SEQuence:LEVel (?) TRIGger:SEQuence:POLarity (?) TRIGger:SEQuence:SLOPe (?) TRIGger:SEQuence:SOURce (?) TRIGger:SEQuence:TIMer (?)
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-19
Command Groups
Command Summaries
Tables 2–5 through 2–19 describe each command in each of the 12 functional groups.
AWG Control Commands
The AWG Control commands control operating modes. This command group is not SCPI approved.
Table 2-5: AWG Control commands
Header Description
AWGControl:CLOCk:SOURce(?) Select the clock source (AWG400/500 series only)
AWGControl:DOUTput<x> [:STATe] (?)
AWGControl:ENHanced:SEQuence [:JMODe] (?)
AWGControl:EVENt[:LOGic] [:IMMediate]
AWGControl:EVENt:SOFTware [:IMMediate]Ă<line>
AWGControl:EVENt:TABLe [:IMMediate]
AWGControl:FG:FREQuency [:CW|:FIXed] (?)
AWGControl:FG<n>:FUNCtion [:SHAPe] (?)
Output the raw D/A converter output
Select the jump mode
Generate the event signal for logic jump
Jump to the specified line in the sequence file
Generate the event signal for table jump
Set the frequency of the function waveform
Select the function or type of waveform (square wave, sine wave, etc.)
2-20
AWGControl:FG<n>:PHASe [:ADJust] (?)
AWGControl:FG<n>:POLarity (?) Set the polarity of the function waveform
AWGControl:FG<n>:PULSe :DCYCle (?)
AWGControl:FG[:STATe] (?) Turn the function generator mode on or off
AWGControl:FG<n>:VOLTage [:LEVel][:IMMediate] [:AMPLitude] (?)
AWGControl:FG<n>:VOLTage [:LEVel][:IMMediate]:OFFSet(?)
AWGControl:RMODe (?) Select the run mode, such as triggered or gated
AWGControl:RSTate? Query the current running status
AWGControl:RUN[:IMMediate] Enable the output
AWGControl:SREStore Restore the settings from the specified file
Set the phase of the function waveform (AWG420, AWG430 and AWG520 only)
Set the duty cycle of the pulse waveform
Set the peak-to-peak voltage of the function waveform
Set the offset voltage of the function waveform
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Groups
Table 2-5: AWG Control commands (Cont.)
Header Description
AWGControl:SSAVe Store the settings to the specified file
AWGControl:STOP[:IMMediate] Stop the output
Calibration Commands
Diagnostic Commands
The Calibration commands calibrate the waveform generator.
Table 2-6: Calibration commands
Header Description
*CAL? Perform calibration
CALibration[:ALL] (?) Perform calibration
The Diagnostic commands control self-test diagnostic routines.
Table 2-7: Diagnostic commands
Header Description
DIAGnostic:DATA? Query results of selfĆtest
DIAGnostic[:IMMediate] (?) Start the selfĆtest
DIAGnostic:SELect (?) Select the selfĆtest routine
*TST? Perform selfĆtest
Display Commands
The Display commands mimic manipulation of front-panel controls and set the presentation of textual information on the front panel display.
Table 2-8: Display commands
Header Description
ABSTouch Perform the function corresponding to the
frontĆpanel control selected
DISPlay:BRIGhtness (?) Control brightness of the display (AWG500/600
series only)
DISPlay:ENABle (?) Control ON/OFF of the display (AWG400 series
only)
DISPlay:HILight:COLor (?) Control hilight of the display (AWG400 series only)
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-21
Command Groups
Hardcopy Commands
The Hardcopy commands are used to print the entire display to a specified file rather than printing to an external device.
The hardcopy commands used in this application do not conform to the 1999 and 1995 SCPI hardcopy standard. (The SCPI standards state that the MMEMory:OPEN and MMEMory:CLOSe commands are used to open and close the file specified by MMEMory:NAME, to accommodate feeding data from the HCOPy subsystem. This state-dependent style of feeding data is not used in the waveform generator.) Instead, the hardcopy commands are implemented in a way that more closely resembles previous waveform generator usage. The waveform generator implements the hardcopy commands as illustrated in the following example:
MMEMory:NAME "SAMPLE1.BMP" MMEMory:OPEN HCOPy:DESTination "MMEM" HCOPy MMEM:CLOSe
The above command sequence can be written as follows for the waveform generator:
MMEMory:NAME "SAMPLE1.BMP" HCOPy
In this case, the entire display will be written to the SAMPLE1.BMP file.
Table 2-9: Hardcopy commands
Header Description
HCOPy:DESTination Set the destination
HCOPy:DEVice:COLor (?) Select the color, or monochrome (AWG400 series
only)
HCOPy:DEVice:LANGuage (?) Select the data format
HCOPy[:IMMediate] Initiate the plot, or print immediately
HCOPy:SDUMp[:IMMediate] Plot or print the whole display
2-22
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Groups
Mass Memory Commands
The Mass Memory commands provide mass storage capabilities.
Selecting Mass Memory Devices. The waveform generator supports the devices listed below. The network drives can be specified with the SYSTem command group.
Table 2-10: Mass storage in AWG400/500/600 series
String argument Description
MAIN Internal hard disk drive
FLOP or FLOPPY Internal floppy disk drive
NET1 Network drive 1
NET2 Network drive 2
NET3 Network drive 3
File Names. The <file_name> parameter is described in some Mass Memory commands with a string. The content of the string depends on the format needs of the mass storage media. In particular, the file name may contain characters for specifying subdirectories (e.g. “/”) and the period separator (“.”). The instrument checks the file format when reading, and processes the file based on its content, regardless of the file extention.
Table 2-11: Mass Memory commands
Header Description
MMEMory:CATalog? Query information on the mass storage media
MMEMory:CDIRectory (?) Change the default directory for a file system MMEMory:CLOSe Close the file specified in NAME
MMEMory:COPY Copy an existing file to a new file
MMEMory:DATA (?) Load data into the file
MMEMory:DELete Remove a file MMEMory:FEED (?) Feed data into the file specified in NAME
MMEMory:INITialize Initialize the specified mass storage
MMEMory:MDIRectory Make a directory
MMEMory:MOVE Move an existing file to another file
MMEMory:MSIS (?) Select the current mass storage
MMEMory:NAME (?) Set the file name to be opened or closed MMEMory:OPEN Open the file specified in NAME
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-23
Command Groups
Output Commands
The Output commands control the characteristics of the waveform output port. In Table 2–13, OUTPut<x> refers to the waveform output channel, where <x> represents a related channel number shown in Table 2–12.
Table 2-12: Output channel
Symbol Meaning AWG410 AWG420 AWG430 AWG510 AWG520 AWG610
OUTPut1 CH1 analog
signal output
OUTPut2 CH2 analog
signal output
OUTPut3 CH3 analog
signal output
OUTPut4 CH1 digital
data output
OUTPut5 CH2 digital
data output
digital data output
OUTPut6 CH3 digital
data output
OUTPut7 Noise ADD
signal
O O O O O O
X O O X O X
X X O X X X
Op03
only
X
Op03
only
Op03
only
X X
Op03
only
Op03
only
Op03
X X X
Op03
only
X X X
Op03
only
X
only
X X X O O X
O:usable X:not used OpXX:usable OptXX only
Table 2-13: Output commands
Header Description
OUTPut<x>:FILTer[:LPASs] :FREQuency (?)
OUTPut<x>[:STATe] (?) Control whether the output terminal is open or
OUTPut<x>:ISTate (?) Set the inverted output on or off
Determine the cutoff frequency of the low pass filter
closed
2-24
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Groups
Source Commands
The Source commands set waveform and marker output parameters, such as frequency and level. SOURce<x> and MARKer<y> in these commands have the meanings shown in Table 2–14.
Table 2-14: Available source and markers
Symbol Meaning AWG410 AWG420 AWG430 AWG510 AWG520 AWG610
SOURce1 CH1 signal of waveĆ
form generator
SOURce2 CH2 signal of waveĆ
form generator
SOURce3 CH3 signal of waveĆ
form generator
SOURce4 CH1 digital data Op03
SOURce5 CH2 digital data
SOURce6 CH3 digital data
SOURce7 CH1
noise ADD signal
Noise ADD signal
SOURce8 CH1
Ext. ADD signal
SOURce9 CH2
noise ADD signal
SOURce10 CH2
Ext. ADD signal
SOURce11 CH3
noise ADD signal
SOURce12 CH3
Ext. ADD signal
Marker1 Marker 1 signal
Marker2 Marker 2 signal
O O O O O O
X O O X O X
X X O X X X
Op03
only
X
only
Op03
only
X X
Op03
only
Op03
only
Op03
X X X
Op03
only
X X X
Op03
only
X
only
O O O
O O X
O O O O O X
X O O X X X
X O O X X X
X X O X X X
X X O X X X
X X X O O O X X X O O O
O:usable X:not used OpXX:usable OptXX only
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-25
Command Groups
Table 2-15: Source commands
Header Description
[SOURce<x>]:COMBine:FEED (?) Add or release noise or external signal to the output
(AWG400/500 series only)
[SOURce<x>]:FREQuency [:CW|:FIXed](?)
[SOURce<x>]:FUNCtion:USER (?) Specify the userĆdefined waveform or pattern file
[SOURce<x>]:MARKer[1|2] :DELay (?)
[SOURce<x>]:MARKer[1|2] [:LEVEL][:IMMediate]:HIGHĂ(?)
[SOURce<x>]:MARKer[1|2] [:LEVEL][:IMMediate]:LOWĂ(?)
SOURce<x>:POWer[:LEVel] [:Immediate][:AMPLitude] (?)
[SOURce<x>]:ROSCillator :SOURce (?)
SOURce<x>:SKEW (?) Set the SKEW (AWG400 series only)
[SOURce<x>]:VOLTage[:LEVel] [:Immediate][:AMPLitude] (?)
SOURce5:VOLTage[:LEVel] [:Immediate]:HIGH (?)
Set sampling frequency for outputting waveform
Set the marker delay relative to waveform output
(AWG400/500 series only)
Set high level for marker output
(AWG400/500 series only)
Set low level for marker output
(AWG400/500 series only)
Set the level for the noise generator output
(AWG400/500 series only)
Select the reference oscillator source
Set the actual magnitude of the output signal
Set the high level of a digital pattern signal
(AWG500 series Opt 03 only)
2-26
SOURce5:VOLTage[:LEVel] [:Immediate]:LOW (?)
[SOURce<x>]:VOLTage[:LEVel] [:Immediate]:OFFSet (?)
Set the low level of a digital pattern signal
(AWG500 series Opt 03 only)
Set the offset that is added to the output signal
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Groups
Status Commands
The external controller uses the Status commands to coordinate operation between the waveform generator and other devices on the bus. The Status commands set and query the registers/queues of the waveform generator event/status reporting system. For more information about the registers and queues described in Table 2–16, refer to the Status and Event Reporting section on page 3–1.
Table 2-16: Status commands
Header Description
*CLS Clear all the event registers and queues
*ESE (?) Set and query ESER
*ESR? Query SESR
*PSC (?) Set powerĆon status clear flag
*SRE (?) Set and query SRER
STATus:OPERation:CONDition? Query the contents of OCR
STATus:OPERation:ENABle (?) Set the enable mask of OENR
STATus:OPERation[:EVENt]? Query the contents of OEVR
STATus:PRESet Preset OENR and QENR
Synchronization
Commands
STATus:QUEStionable:CONDition? Query the contents of QCR
STATus:QUEStionable:ENABle (?) Set the enable mask of QENR
STATus:QUEStionable[:EVENt]? Query the contents of QEVR
*STB? Query SBR
The external controller uses the Synchronization commands to prevent external communications from interfering with waveform generator operation.
Table 2-17: Synchronization commands
Header Description
*OPC (?) Generate or return the operation complete message
*WAI Hold off all commands until all pending operations
complete
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-27
Command Groups
System Commands
The System commands control miscellaneous instrument functions, such as LAN communication, security, and time.
Table 2-18: System commands
Header Description
*IDN? Query ID information about the waveform generator
*OPT? Query installed options
*RST Reset the waveform generator
SYSTem:BEEPer[:IMMediate] Generate an audible tone
SYSTem:COMMunicate:LAN:DHCP [:CLIent][:LEASe:TIME (?)
SYSTem:COMMunicate:LAN:DHCP [:CLIent]:STATe] (?)
SYSTem:COMMunicate:LAN:FTP [:SERVer][:STATe] (?)
SYSTem:COMMunicate:LAN:FTP [:SERVer]:VERSion (?)
SYSTem:COMMunicate:LAN :GATeway:ADDRess (?)
Control the lease time of DHCP client function
(AWG400 series only)
Control the DHCP client function
(AWG400 series only)
Control the FTP server function
Change the FTP version
Set IP address of the gateway
SYSTem:COMMunicate:LAN :NFS:TLIMit (?)
SYSTem:COMMunicate:LAN:PING? Execute PING test for the specified IP address
SYSTem:COMMunicate:LAN :RDEVice[1|2|3]:ADDRess (?)
SYSTem:COMMunicate:LAN :RDEVice[1|2|3]:FSYStem (?)
SYSTem:COMMunicate:LAN :RDEVice[1|2|3]:NAME (?)
SYSTem:COMMunicate:LAN :RDEVice[1|2|3]:PROTocol (?)
SYSTem:COMMunicate:LAN :RDEVice[1|2|3][:STATe] (?)
SYSTem:COMMunicate:LAN [:SELF]:ADDRess (?)
SYSTem:COMMunicate:LAN [:SELF]:MADDress ?
SYSTem:COMMunicate:LAN [:SELF]:SMASk (?)
SYSTem:DATE (?) Set the internal calender
Set the timeout of NFS
Set IP address of the remote host
Set the mount directory of the remote host
Set the name of the remote host
Set the protocol of the communication between the waveform generator and the remote host
Control whether the communication with the specified remote host is enabled
Set IP address of the waveform generator
Query the MAC address of the waveform generator
(AWG400 series only)
Set the subnet mask of the waveform generator
2-28
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Groups
Table 2-18: System commands (Cont.)
Header Description
SYSTem:ERRor[:NEXT]? Query the next entry from the waveform generator's
error/event queue
SYSTem:KDIRection (?) Set the direction of cursor movement controlled by
the general purpose knob
SYSTem:KEYBoard[:TYPE] (?) Select the keyboard type
SYSTem:KLOCk (?) Lock the front panel and keyboard
SYSTem:SECurity:IMMediate Destroy all data and settings for security
SYSTem:TIME (?) Set the internal clock
SYSTem:UPTime? Query elapsed time from the powerĆon
SYSTem:VERSion? Query the SCPI version number
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-29
Command Groups
Trigger Commands
The Trigger commands
synchronize the waveform generator actions with events.
Table 2-19: Trigger commands
Header Description
ABORt Reset the trigger system
*TRG Generate the trigger event
TRIGger[:SEQuence][:IMMediate] Immediately trigger the sequence operation
TRIGger[:SEQuence]:IMPedance (?)
TRIGger[:SEQuence]:LEVel (?) Set the trigger level
TRIGger[:SEQuence]:POLarity (?)
TRIGger[:SEQuence]:SLOPe (?) Select the slope of the trigger signal
TRIGger[:SEQuence]:SOURce (?) Select the source for the event detector
TRIGger[:SEQuence]:TIMer (?) Set the period of the internal clock
Select the input impedance of the external trigger
Select the polarity of the trigger signal
2-30
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Descriptions
This subsection lists each command and query in the waveform generator command set in alphabetical order. Each command entry includes a command description and command group, related commands (if any), syntax, and arguments. Each entry also includes one or more usage examples.
This subsection fully spells out headers, mnemonics, and arguments with the minimal spelling shown in upper case. For example, to use the abbreviated version of the SOURce:FREQuency command, just type SOUR:FREQ.
The symbol “(?)” follows the command header of commands that can be used as either a command or a query; the symbol “?” follows commands that can only be used as a query. Commands that are command-only or query-only are noted as such.
ABORt (No Query Form)
This command resets the trigger system and places all trigger sequences in the idle state. This command is equivalent to depressing the FORCE TRIGGER button on the front panel in the gated mode.
Group
Related Commands
Syntax
Arguments
Examples
Trigger
TRIGger[:SEQuence][:IMMediate], *TRG
ABORt
ABORt
None
ABORt
resets the trigger system.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-31
Command Descriptions
ABSTouch (No Query Form)
This command performs the functions that are manually set by pressing the corresponding front-panel key and button, or by rotating the corresponding knob. This command works even when the instrument is in the keylock or local lockout states.
Group
Related Commands
Syntax
Arguments
Display
None
ABSTouch <key>[,<state>] ABSTouch <knob>[,<value>]
, <state>
, <value>
ABSTouch
<key>
<space>
<knob>
<key>::= BOTTom[1] | BOTTom2 | BOTTom3 | BOTTom4 | BOTTom5 | BOTTom6 | BOTTom7 | SIDe[1] | SIDe2 | SIDe3 | SIDe4 | SIDe5 | CMENu | RUN | CH1 | CH2 | CH3 | DIGital | DARRow | UARRow | LARRow | RARRow | SETup | APPL | EDIT | UTILity | HARDcopy | TOGGle | SHIFt | ENTer | VMENu | QKEDit | HMENu | TMENu | FTRigger | FEVent | SEVen |MEGa | EIGHt | KILo | NINe | MILLi | FOUR | MICRo | FIVe | NANo | SIX | PICo | ONE|D|TWO|E| THRee|F|ZERo|A|POINt|B|SIGN|C|CLR|G|DELete | INF | RETurn | OUTPut[1] | IOUTput[1] | OUTPut2 | IOUTput2 | OUTPut3 | IOUTput3
2-32
Table 2-20: Argument and available AWG
Argument AWG410 AWG420 AWG430 AWG510 AWG520 AWG610
BOTTom[1] O O O O O O BOTTom2 O O O O O O BOTTom3 O O O O O O BOTTom4 O O O O O O BOTTom5 O O O O O O BOTTom6 O O O O O O BOTTom7 O O O O O O SIDe[1] O O O O O O
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Descriptions
Table 2-20: Argument and available AWG (Cont.)
Argument AWG610AWG520AWG510AWG430AWG420AWG410
SIDe2 O O O O O O SIDe3 O O O O O O SIDe4 O O O O O O SIDe5 O O O O O O CMENu O O O O O O RUN O O O O O O CH1 O O O O O X CH2 X O O X O X CH3 X X O X X X DIGital Op03 Op03 Op03 Op03 Op03 X DARRow O O O O O O UARRow O O O O O O LARRow O O O O O O RARRow O O O O O O SETup O O O O O O APPL O O O O O O EDIT O O O O O O UTILity O O O O O O HARDcopy O O O O O O TOGGle O O O O O O SHIFt O O O O O O ENTer O O O O O O VMENu O O O O O O QKEDit O O O O O O HMENu O O O O O O TMENu O O O O O O FTRigger O O O O O O FEVent O O O O O O SEVen O O O O O O MEGa O O O O O O EIGHt O O O O O O KILo O O O O O O NINe O O O O O O MILLi O O O O O O FOUR O O O O O O MICRo O O O O O O FIVe O O O O O O
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-33
Command Descriptions
Table 2-20: Argument and available AWG (Cont.)
Argument AWG610AWG520AWG510AWG430AWG420AWG410
NANo O O O O O O SIX O O O O O O PICo O O O O O O ONE O O O O O O D O O O O O O TWO O O O O O O E O O O O O O THRee O O O O O O F O O O O O O ZERo O O O O O O A O O O O O O POINt O O O O O O B O O O O O O SIGN O O O O O O C O O O O O O CLR O O O O O O G O O O O O O DELete O O O O O O INF O O O O O O RETurn O O O O O O OUTPut[1] O O O O O O IOUTput[1] OUTPut2 X O O X O X IOUTput2 X OUTPut3 X X O X X X IOUTput3 X X
O:usable X:not used OptXX:usable OptXX only
except Op05 except Op05 except Op05
except Op05 except Op05
except Op05
O X O
X X X
X X X
2-34
<knob>::= OFFSet | LSCale | HSHift | SSCale | LEVel | GPKNob
<state>::= ON | OFF | <NR1>
This argument sets the press and release of the specified front panel key. If you specify ON or nonzero value in this argument, the front panel key is set to press. If you specify OFF or zero value in this argument, the front panel key is set to release. When the argument is not specified, 1 is set.
<value>::= <NR1>
This argument sets the rotating direction and quantities of the specified front
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Descriptions
panel knob. If you specify a positive value in this argument, the knob rotates clockwise. If you specify a negative value in this argument, the knob rotates counterclockwise. When the argument is not specified, 1 is set.
Figure 2–6 shows ABSTouch arguments corresponding to the associated controls.
BOTTom1 – BOTTom7
1
AWG400 Series only
2
AWG400 Series, AWG520 only
SIDe 1
SIDe 2
SIDe 3
SIDe 4
SIDe 5
CMENu
LARRow
DARRow
OUTPut[1]
UARRow
RARRow
See Figure 2-8
IOUTPut[1]
SETup
OUTPut2
2
EDIT
1
IOUTPut2
APPL
UTILity
See Figure 2-7
OUTPut3
1
HARDcopy
1
IOUTPut3
1
Figure 2-6: ABSTouch arguments and associated controls
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-35
Command Descriptions
TOGGle
ENTer
GPKNob
EIGHt KILo
FIVe
SHIFt
SEVen MEGa
FOUR MICRo
NANo
NINe MILLi
SIX PICo
SIGN
THRee F
C ONE D
ZERo A
CLR G
DELete INF
RETurn
TWO E
POINt B
Figure 2-7: ABSTouch arguments and Front panel key area
VMENu
QKEDit
OFFSet
HMENu
HSHift
RUN
1
CH1
1
CH2
2
CH3
1
DIGital
1
AWG400/500 series only
2
AWG400 series only
LSCale
SSCale
Figure 2-8: ABSTouch arguments and Trigger, Output controls
LEVel
TMENu
FTRigger
FEVent
2-36
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Descriptions
Examples
ABSTOUCH SETUP
displays the setup menu that is displayed by pressing the SETUP button on the front panel.
AWGControl:CLOCk:SOURce (?)
AWG400/500 series Only
This command selects the clock source as either Internal or External.
Group
Related Commands
Syntax
AWGControl
AWG Control
SOURce:ROSCillator:SOURce
AWGControl:CLOCk:SOURce { INTernal | EXTernal }
AWGControl:CLOCk:SOURce?
: CLOCk
<space>
INTernal
EXTernal
SOURce:
?
Arguments
INTernal select the internal clock derived from the reference clock as the clock source.
EXTernal select the external clock signal connected to the EXT CLOCK IN on the rear panel.
At *RST, this parameter is set to INTernal.
Examples
AWGControl:CLOCk:SOURce EXTernal
selects the external clock as the clock source.
AWGControl:DOUTput<x>[:STATe] (?)
This command supplies raw output of the waveform generator D/A converter for the specified channel. In AWG500 series the settings of SOURce:VOLTage and
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-37
Command Descriptions
OUTPut:FILTer commands are ignored. In the AWG600 series, the setting OUTPut:FILTer command is ignored.
Group
Related Commands
Syntax
AWGControl
Arguments
AWG Control
SOURce:VOLTage command group, OUTPut:FILTer command group
AWGControl:DOUTput<x>[:STATe] { OFF | ON | <NR1> }
AWGControl:DOUTput<x>[:STATe]?
AWG410 AWG420 AWG430 AWG510 AWG520 AWG610
1 1, 2 1, 2, 3 1 1, 2 1
<space>
DOUTput
:
<x>
OFF or <NR1>+0 provides the D/A converter output normally. ON or <NR1>00 provides raw output of the D/A converter.
OFF
ON
<NR1>
?
Examples
At *RST, this value is set to 0.
AWGControl:DOUTput1:STATe ON
supplies the D/A converter output directly to CH 1.
2-38
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
AWGControl:ENHanced:SEQuence[:JMODe] (?)
This command selects the jump mode in the sequence of the enhanced mode.
Command Descriptions
AWGControl
Group
Syntax
:
Arguments
AWG Control
AWGcontrol:ENHanced:SEQuence[:JMODe] {LOGic | TABLe | SOFTware}
AWGControl:ENHanced:SEQuence[:JMODe]?
ENHanced
:
:
JMODe
SEQuence
<space>
LOGic
TABLe
SOFTware
?
LOGic The jump mode is ”logic”. TABLe The jump mode is ”table”. SOFTware The jump mode is ”software”. At *RST, this value is set to TABLe.
Examples
AWGControl:ENHanced:SEQuence SOFTware
sets the jump mode to software.
AWGControl:EVENt[:LOGic][:IMMediate] (No Query Form)
This command generates a trigger event for the “logic jump” specified in the sequence file. This has the same effect as pressing the FORCE EVENT button on the front panel.
Group
Related Commands
Syntax
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
AWG Control
AWGControl:RUN[:IMMediate], *TRG
AWGControl:EVENt[:LOGic][:IMMediate]
2-39
Command Descriptions
:
AWGControl
Arguments
Examples
:
:
EVENt
LOGic
None
AWGControl:EVENt:LOGic:IMMediate
generates a trigger event for the “logic jump”.
AWGControl:EVENt:SOFTware[:IMMediate] (No Query Form)
This command jumps to a specified line in a sequence file. To enable this command, a sequence file must be loaded and software jump mode must be set in the sequence file.
This command will return a “Settings conflict” error (code:–221) when any of these conditions are present:
1) The waveform generator is not in Enhanced mode.
2) No sequence file is loaded.
3) The Jump Mode setting of the sequence file is not Software.
IMMediate
Group
Related Commands
Syntax
Arguments
It also will return a “Data out of range” error (code:–222) if the <line> argument is less than or equal to zero, or greater than the number of steps of the loaded sequence file.
AWG Control
None
AWGControl:EVENt:SOFTware[:IMMediate]Ă<line>
:
EVENtAWGControl
:
SOFTware
:
<space>
IMMediate
<line>
<line>::=<NR1> is the line number to be jumped to in the sequence file.
2-40
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Descriptions
Examples
AWGControl:EVENt:SOFTware:IMMediate 10
jumps to line 10 in the sequence file.
AWGControl:EVENt:TABLe[:IMMediate] (No Query Form)
This command generates a trigger event for the “table jump” specified in the sequence file when a jump mode of sequence (ENHanced mode) is a Table.
Group
Related Commands
Syntax
Arguments
AWG Control
None
AWGControl:EVENt:TABLe[:IMMediate]
:
TABLe
None
:
EVENtAWGControl
:
IMMediate
Examples
AWGControl:EVENt:TABLe:IMMediate
generates a trigger event for the “table jump”.
AWGControl:FG:FREQuency[:CW|:FIXed] (?)
This command adjusts the frequency of the function waveform on all channels. This query returns the frequency currently set.
CW (Continuous Wave) and FIXed are aliases, and have the same effect.
Group
Syntax
AWG Control
AWGControl:FG:FREQuency[:CW|:FIXed] <NRf>
AWGControl:FG:FREQuency[:CW|:FIXed]?
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-41
Command Descriptions
AWGControl
:
:
Arguments
Examples
FG
:
FREQuency
CW
FIXed
<space>
<NRf> is the output waveform frequency. The range is as follows.
AWG400 series : 1Hz to 10 MHz. AWG500 series : 1Hz to 100 MHz. AWG600 series : 1Hz to 260 MHz.
At *RST, this value is set as follows.
AWG400 series : 1 MHz. AWG500 series : 5 MHz. AWG600 series : 13 MHz.
AWGControl:FG:FREQuency 10MHz
sets the frequency to 10 MHz.
<NRf>
?
AWGControl:FG<n>:FUNCtion[:SHAPe] (?)
This command selects a standard function waveform (as opposed to a waveform file) in the specified channel. This query returns the currently selected standard function waveform.
Group
Syntax
AWG Control
AWGControl:FG<n>:FUNCtion[:SHAPe] <shape>
AWGControl:FG<n>:FUNCtion[:SHAPe] ?
<n>::= channel
2-42
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
AWGControl
Command Descriptions
SINusoid
:
:
FUNCtion
FG
<n>
:
SHAPe
<space>
TRIangle
SQUare
RAMP
PULSe
DC
?
Arguments
Examples
SINusoid selects a sine wave function waveform. TRIangle selects a triangle function waveform. SQUare selects a square wave function waveform. RAMP selects a ramp function waveform. PULSe selects a pulse function waveform. DC selects a DC function waveform.
At *RST, this value is set to SINusoid
AWGControl:FG1:FUNCtion RAMP
sets the CH1 standard function waveform to RAMP.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-43
Command Descriptions
AWGControl:FG<n>:PHASe[:ADJust] (?)
AWG420, AWG430 and AWG520 Only
This command sets the phase of the function waveform on selected channel. This query returns the phase of the function waveform.
AWGControl
Group
Syntax
:
:
Arguments
AWG Control
AWGControl:FG<n>:PHASe[:ADJust] <NRf>
AWGControl:FG<n>:PHASe[:ADJust]?
<n>::= channel
FG
PHASe
<n>
:
ADJust
<space>
<NRf> is the phase of the function waveform. The range is –6.28319 (–360degrees) to +6.28319(+360degrees). Step: AWG400 Frequency Step(degree)
1.000Hz to 20.00kHz 0.036
20.01kHz to 200.0kHz 0.36
200.1kHz to 2.000MHz 3.6
2.001MHz to 4.000MHz 7.2
4.001MHz to 5.000MHz 9
5.001MHz to 8.000MHz 14.4
8.001MHz to 10.00MHz 18
<NRf>
?
2-44
AWG500 Frequency Step(degree)
1.000Hz to 100.0kHz 0.036
100.1kHz to 1.000MHz 0.36
1.001MHz to 5.000MHz 1.8
5.001MHz to 10.00MHz 3.6
10.01MHz to 20.00MHz 7.2
20.01MHz to 25.00MHz 9
25.01MHz to 40.00MHz 14.4
40.01MHz to 50.00MHz 18
50.01MHz to 100.0MHz 36
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
At *RST, this value is set as 0.
Command Descriptions
Examples
AWGControl:FG1:PHASe 0.36DEGree
sets the CH1 phase to 0.36 degrees.
AWGControl:FG<n>:POLarity (?)
This command sets polarity of the function waveform on the selected channel. This query returns polarity currently set.
AWGControl
Group
Syntax
:
AWG Control
AWGControl:FG<n>:POLarity {POSitive | NEGative}
AWGControl:FG<n>:POLarity?
<n>::= channel
FG
<n>
:
Arguments
Examples
<space>
POLarity
?
POSitive sets waveform to positive polarity. NEGative sets waveform to negative polarity.
At *RST, this value is set to POSitive.
AWGControl:FG1:POLarity POSitive
sets the CH1 polarity to positive.
POSitive
NEGative
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-45
Command Descriptions
AWGControl:FG<n>:PULSe:DCYCle (?)
This command sets the duty cycle of the pulse waveform on selected channel. This query returns the duty cycle of the pulse waveform.
AWGControl
Group
Syntax
:
:
Arguments
AWG Control
AWGControl:FG<n>:PULSe:DCYCle <NRf>
AWGControl:FG<n>:PULSe:DCYCle?
<n>::= channel
FG
PULSe
<n>
DCYCle
:
<NRf> is the duty cycle. The range is 0.1 to 99.9%. Step: AWG400 Frequency Step(%)
1.000Hz to 200.0kHz 0.1
200.1kHz to 2.000MHz 1
2.001MHz to 4.000MHz 2
4.001MHz to 5.000MHz 2.5
5.001MHz to 8.000MHz 4
8.001MHz to 10.00MHz 5
<space>
<NRf>
?
2-46
AWG500 Frequency Step(%)
1.000Hz to 1.000MHz 0.1
1.001MHz to 5.000MHz 0.5
5.001MHz to 10.00MHz 1
10.01MHz to 20.00MHz 2
20.01MHz to 25.00MHz 2.5
25.01MHz to 40.00MHz 4
40.01MHz to 50.00MHz 5
50.01MHz to 100.0MHz 10
AWG600 Frequency Step(%)
1.000Hz to 2.600MHz 0.1
2.601MHz to 13.00MHz 0.5
13.01MHz to 26.00MHz 1
26.01MHz to 52.00MHz 2
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
52.01MHz to 65.00MHz 2.5
65.01MHz to 104.0MHz 4
104.1MHz to 130.0MHz 5
130.1MHz to 260.0MHz 10
At *RST, this value is set as 10.0.
Command Descriptions
Examples
AWGControl:FG1:PULSe:DCYCle 20
sets the CH1 duty cycle to 20%.
AWGControl:FG[:STATe] (?)
This command turns the FG(Function Generation) mode on or off. This query returns status indicating whether the waveform generator is set to the function generator mode.
AWG Control
AWGControl:FG[:STATe] { OFF | ON | <NRf> }
AWGControl:FG[:STATe]?
FG
AWGControl
Group
Syntax
:
:
STATe
OFF
Arguments
OFF or <NRf>+0 sets the FG mode to OFF . ON or <NRf>00 sets the FG mode to ON. At *RST, this value is set to OFF.
Examples
AWGControl:FG ON
sets the FG mode to ON.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
<space>
ON
<NRf>
?
2-47
Command Descriptions
AWGControl:FG<n>:VOLTage[:LEVel][:IMMediate][:AMPLitude] (?)
This command adjusts peak–to–peak voltage of the function waveform on selected channel. This query returns peak–to–peak voltage currently set.
AWGControl
Group
Syntax
: VOLTage
Arguments
AWG Control
AWGControl:FG<n>:VOLTage[:LEVel][:IMMediate][:AMPLitude] <NRf>
AWGControl:FG<n>:VOLTage[:LEVel][:IMMediate][:AMPLitude]?
<n>::= channel
:
FG
IMMediate:
<n>
:
:
AMPLitude
<space>
LEVel
<NRf>
?
<NRf> is the amplitude of the waveform. The Step is 1mV. The range is as follows.
2-48
Examples
AWG400(Standard) series : 0.020Vpp to 2.000Vpp AWG400(Option 05) series : 0.020Vpp to 5.000Vpp AWG500 series : 0.020Vpp to 2.000Vpp AWG600 series : 0.020Vpp to 2.000Vpp
At *RST, this value is set to 1.0.
AWGControl:FG1:VOLTage 2.0
sets the CH1 amplitude to 2.000Vpp.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
AWGControl:FG<n>:VOLTage[:LEVel][:IMMediate]:OFFSet (?)
This command adjusts offset voltage of the function waveform on selected channel. This query returns offset voltage currently set.
Command Descriptions
AWGControl
Group
Syntax
: VOLTage
Arguments
AWG Control
AWGControl:FG<n>:VOLTage[:LEVel][:IMMediate]:OFFSet <NRf>
AWGControl:FG<n>:VOLTage[:LEVel][:IMMediate]:OFFSet?
<n>::= channel
:
FG
IMMediate:
<n>
:
:
<space>
OFFSet
LEVel
?
<NRf> is the offset of the waveform. The Step is 1mV. The range is as follows.
<NRf>
AWG400(Standard) series : –1.000V to +1.000V AWG400(Option 05) series : –2.500V to +2.500V AWG500 series : –1.000V to +1.000V AWG600 series : –1.000V to +1.000V
At *RST, this value is set to 0.0.
Examples
AWGControl:FG1:VOLTage:OFFSet 0.5
sets the CH1 offset to 0.5V.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-49
Command Descriptions
AWGControl:RMODe (?)
This command selects the mode used to output waveforms or sequences.
Group
Related Commands
Syntax
Arguments
AWG Control
AWGControl:RUN[:IMMediate], AWGControl:STOP[:IMMediate], [SOURce[1]]:FUNCtion:USER, *TRG
AWGControl:RMODe { CONTinuous | TRIGgered | GATed | ENHanced }
AWGControl:RMODe?
CONTinuous
TRIGgered
AWGControl
<space>
:
RMODe
GATed
ENHanced
?
You can select the modes listed in Table 2–21.
Table 2-21: Selecting run modes
Arguments Descriptions
CONTinuous Sets the continuous mode, which continuously outputs the waveform. The
external trigger, including FORCE TRIGGER button and the corresponding remote commands, have no effect.
TRIGgered Sets the triggered mode, which outputs one waveform cycle for each trigger.
GATed Sets the gated mode, which continuously outputs the waveform or sequence
as long as the trigger remains enabled. The trigger remains effective as long as any of the following events occur:
H The FORCE TRIGGER button remains pressed H A valid external gate signal remains input H The TRIGger[:SEQuence][:IMMediate] or *TRG command has
been executed but an ABORt command has not yet been issued
ENHanced Sets the enhanced mode, which outputs the waveform according to the
sequence file specified with the SOURce:FUNCtion:USER command. If the sequence file is not loaded, this mode is the same as the triggered mode.
At *RST, this parameter is set to CONTinuous.
2-50
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Descriptions
Examples
SOURce:FUNCtion:USER "SAMPLE1.SEQ";:AWGControl:RMODe ENHanced;RUN
outputs waveform according to the sequence file SAMPLE1.SEQ.
AWGControl:RMODe?
can return the following response:
TRIG
AWGControl:RSTate? (Query Only)
This command returns the current running status.
Group
Syntax
Arguments
AWG Control
AWGControl:RSTate?
AWGControl
None
:
RSTate
?
Returns
Examples
<NR1>
0 The waveform generator is stopped. 1 The waveform generator is waiting for a trigger. 2 The waveform generator is running.
AWGControl:RSTate?
can return the following response:
1
AWGControl:RUN[:IMMediate] (No Query Form)
This command initiates the output of a waveform or a sequence. This has the same effect as manually pressing the RUN button on the front panel.
Group
Related Commands
AWG Control
AWGControl:STOP[:IMMediate], *TRG
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-51
Command Descriptions
Syntax
AWGControl
Arguments
Examples
AWGControl:RUN[:IMMediate]
:
RUN
None
AWGControl:RUN[:IMMediate]
initiates the output of a waveform or a sequence.
AWGControl:SREStore (No Query Form)
This command resets the default settings of a specified file.
Group
Related Commands
Syntax
AWG Control
AWGControl:SSAVe, MMEMory:CDIRectory, MMEMory:MSIS
AWGControl:SREStore <file_name>[,<msus>]
:
IMMediate
AWGControl SREStore
Arguments
:
<file_name>::=<string> specifies the file to restore the settings. <msus> (mass storage unit specifier)::=<string> is the media on which
the file exists:
MAIN Internal hard disk drive FLOPpy Internal floppy disk drive NET1, NET2, or NET3 Network drive 1, 2, or 3 (specified with
Examples
AWGControl:SREStore "SAMPLE1.SET","FLOPpy"
resets the default settings of the file SAMPLE1.SET on the floppy disk.
<space>
<file_name>
,
the SYSTem:COMMunicate:LAN commands)
<msus>
2-52
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
AWGControl:SSAVe (No Query Form)
This command stores the current settings to a specified file.
Command Descriptions
Group
Related Commands
Syntax
AWGControl
Arguments
Examples
AWG Control
AWGControl:SREStore, MMEMory:CDIRectory, MMEMory:MSIS
AWGControl:SSAVe <file_name>[,<msus>]
:
SSAVe
<space>
<file_name>
,
<msus>
<file_name>::=<string> specifies the file to store the settings. <msus> (mass storage unit specifier)::=<string> is the media on which
the file exists:
MAIN Internal hard disk drive FLOPpy Internal floppy disk drive NET1, NET2, or NET3 Network drive 1, 2, or 3 (specified with
the SYSTem:COMMunicate:LAN commands)
AWGControl:SSAVe "SAMPLE1.SET","FLOPpy"
stores the current settings to the file SAMPLE1.SET on the floppy disk.
AWGControl:STOP[:IMMediate] (No Query Form)
This command terminates waveform output. When the mode is not set to continuous, it also resets the sequence pointer to output the waveform from the top of the sequence with the next trigger event.
Group
Related Commands
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
AWG Control
AWGControl:RUN[:IMMediate], *TRG
2-53
Command Descriptions
Syntax
Arguments
Examples
*CAL? (Query Only)
AWGControl:STOP[:IMMediate]
AWGControl
:
STOP
:
IMMediate
None
AWGControl:STOP[:IMMediate]
stops the output of a waveform.
The *CAL? query performs an internal calibration and returns a status that indicates whether or not the waveform generator completed the calibration successfully. If an error is detected during calibration, execution immediately stops, and an error code is returned. This query performs the same function as the CALibration[:ALL]? query.
NOTE. A period of time is required to complete the internal calibration. During this time, the waveform generator does not respond to any commands or queries issued.
2-54
Group
Related Commands
Syntax
Arguments
Returns
Calibration
CALibration[:ALL]?
*CAL?
*CAL
?
None
<NR1>
0 Terminated without error. –340 Calibration failed.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Descriptions
Examples
CALibration[:ALL] (?)
*CAL?
performs an internal calibration and returns the results. For example, the query might return 0, which indicates the calibration terminated without any errors.
The CALibration[:ALL] command performs a full calibration of the waveform generator.
The CALibration[:ALL]? query performs a full calibration and responds with a <NR1> indicating the success of the calibration. This query has the same function as the *CAL? query.
If an error is detected during calibration, a message is queued in the error/event queue, and the error code “–340” is returned.
NOTE. A period of time is required to complete the internal calibration. During this time, the waveform generator does not respond to any commands or queries issued.
Group
Related Commands
Syntax
Arguments
Returns
Examples
Calibration
*CAL?
CALibration[:ALL]
CALibration[:ALL]?
CALibration
None
<NR1>
0 Terminated without error. –340 Calibration failed.
CALibration[:ALL]
performs a full calibration.
:
ALL
?
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-55
Command Descriptions
*CLS (No Query Form)
CALibration[:ALL]?
performs a full calibration and returns the results. For example, it might return 0, which indicates the calibration terminated without any errors.
This command clears all the event registers and queues, used by the waveform generator status and event reporting system. For more details, refer to the, Status and Events section.
Group
Syntax
Arguments
Examples
Status
*CLS
*CLS
None
*CLS
clears all the event registers and queues.
DIAGnostic:DATA? (Query Only)
This command returns the results of a self-test.
Group
Related Commands
Diagnostic
DIAGnostic[:IMMediate], DIAGnostic:SELect
2-56
Syntax
Arguments
Returns
DIAGnostic:DATA?
DIAGnostic
None
<NR1>
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
:
DATA
?
0 Terminated without error. –330 Self-test failed.
Command Descriptions
Examples
DIAGnostic:DATA?
might return 0.
DIAGnostic[:IMMediate] (?)
The DIAGnostic[:IMMediate] command executes the self-test routine(s) selected by the DIAGnostic:SELect command. The query DIAGnostic [:IMMediate]? executes the routine(s) and returns the results.
If an error is detected during execution, the routine that detected the error terminates. If all of the self-test routines are selected, self-testing continues with execution of the next self-test routine.
Group
Related Commands
Syntax
Diagnostic
DIAGnostic:SELect, DIAGnostic:DATA?
DIAGnostic[:IMMediate]
DIAGnostic[:IMMediate]?
:
DIAGnostic
Arguments
Returns
Examples
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
None
<NR1>
0 Terminated without error. –330 Self-test failed.
DIAGnostic:SELect ALL;IMMediate?
executes all of the self-test routines. After all self-test routines finish, the results of the self-tests are returned.
IMMediate
?
2-57
Command Descriptions
DIAGnostic:SELect (?)
This command selects the self-test routine(s).
Group
Related Commands
Syntax
Diagnostic
DIAGnostic[:IMMediate]
DIAGnostic:SELect { ALL | OUTPut | RMODe | ROSCillator | SMEMory | SYSTem | WMEMory }
DIAGnostic:SELect?
ALL OUTPut
RMODe
ROSCillator
SMEMory
DIAGnostic
<space>
:
SELect
SYSTem
WMEMory
?
2-58
Arguments
You can select the following self-test routines:
Table 2-22: SelfĆtest routines
Argument Description
ALL Checks all routines that follow
OUTput Checks the analog output unit
RMODe Checks the control unit
ROSCillator Checks the reference oscillator unit
SMEMory Checks the sequence memory
SYSTem Checks the system unit, such as the system memory
WMEMory Checks the waveform memory
At *RST, this parameter is set to ALL.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Command Descriptions
Examples
DISPlay:BRIGhtness (?)
AWG500/600 series Only
Group
Syntax
Arguments
DIAGnostic:SELect WMEMory;IMMediate executes the waveform memory self-test routine.
This command controls the intensity of the display.
Display
DISPlay:BRIGhtness <NR2>
DISPlay:BRIGhtness?
<space>
DISPlay
<NR2> ranges from 0 to 1, where 1 is full intensity and 0 is fully blanked.
:
BRIGhtness
<NRf>
?
Examples
DISPlay:ENABle (?)
AWG400 series Only
Group
Syntax
At *RST, this value is set to 0.7.
DISPlay:BRIGhtness 0.8
sets the intensity of the display to 80% of maximum intensity.
This command controls ON/OFF of the display.
Display
DISPlay:ENABle { OFF | ON | <NR1> }
DISPlay:ENABle?
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-59
Command Descriptions
OFF
DISPlay
Arguments
OFF or <NR1>+0 sets OFF the display. ON or <NR1>00 sets ON the display. At *RST, this value is set to OFF.
Examples
DISPlay:ENABle ON
sets ON the display.
DISPlay:HILight:COLor (?)
AWG400 series Only
This command controls the HILight color.
Group
Display
<space>
:
ENABle
ON
<NR1>
?
Syntax
DISPlay:HILight:COLor <NR1>
DISPlay:HILight:COLor?
DISPlay :
Arguments
:
HILight
<NR1> is the color number. The range is 0 to 7. At *RST, this value is set to 0.
Returns
Examples
<NR1> indicates the number of color.
DISPlay:HILight:COLor 1
sets the number 1 color.
COLor
<space>
<NR1>
?
2-60
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
*ESE (?)
Command Descriptions
The *ESE command sets the bits of the ESER (Event Status Enable Register) used in the status and events reporting system of the waveform generator. The *ESE? query returns the contents of the ESER. Refer to the Status and Events for more information about the ESER.
Group
Related Commands
Syntax
Arguments
Examples
Status
*CLS, *ESR?, *PSC, *SRE, *STB?
*ESE <bit_value>
*ESE?
*ESE
<bit_value>::=<NR1>
where <NR1> is a decimal integer in the range 0 to 255. The binary bits of the ESER are set according to this value.
The power-on default for ESER is 0 if *PSC is 1. If *PSC is 0, the ESER maintains its value through a power cycle.
*ESE 177
sets the ESER to 177 (binary 10110001), which sets the PON, CME, EXE and OPC bits.
<space> <bit_value>
?
*ESE?
might return 176, which indicates that the ESER contains the binary number
10110000.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-61
Command Descriptions
*ESR? (Query Only)
This command returns the contents of the Standard Event Status Register (SESR) used in the status and events reporting system in the waveform generator. *ESR? also clears the SESR (since reading the SESR clears it). Refer to Section 3 Status and Events for more information.
Group
Related Commands
Syntax
Returns
Examples
Status
*CLS, *ESE?, *SRE, *STB?
*ESR?
*ESR
<NR1> indicates the content of the SESR in a decimal integer.
*ESR?
might return 181, which indicates that the SESR contains the binary number
10110101.
?
HCOPy:DESTination (No Query Form)
This command sets the hardcopy destination. For the waveform generator, the destination is always set to MMEMory (mass memory). This command is included only for compatibility with the SCPI standard. The destination file on the mass memory device is specified by the MMEMory:NAME command. For more information about hardcopy, see Hardcopy Commands on page 2–22.
2-62
Group
Related Commands
Syntax
Arguments
Hardcopy
MMEMory:NAME
HCOPy:DESTination <data_handle>
HCOPy :
<data_handle>::=<string>
where <string> is fixed to ”MMEMory” for the waveform generator.
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
DESTination
<data_handle><space>
Command Descriptions
Examples
HCOPy:DESTination "MMEMory"
sets the hardcopy destination to a file specified with the MMEMory:NAME command.
HCOPy:DEVice:COLor (?)
AWG400 series Only
This command sets the hardcopy color mode.
Group
Related Commands
Syntax
Hardcopy
HCOPy:DEVice:LANGuage
HCOPy:DEVice:COLor { OFF | ON | <NR1> }
HCOPy:DEVice:COLor?
<space>
OFF
ON
HCOPy
Arguments
DEVice
:
OFF or <NR1>+0 sets the hardcopy color mode to OFF. ON or <NR1>00 sets the hardcopy color mode to ON. At *RST, this value is set to OFF.
Examples
HCOPy:DEVice:COLor ON sets the hardcopy color mode to ON.
HCOPy:DEVice:LANGuage (?)
This command sets the hardcopy data format.
Group
Related Commands
Hardcopy
HCOPy:DEVice:COLor
<NR1>
:
COLor
?
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-63
Command Descriptions
Syntax
HCOPy:DEVice:LANGuage { BMP | TIFF }
HCOPy:DEVice:LANGuage?
DEVice
Arguments
HCOPy
:
BMP specifies the Windows bitmap file format. TIFF specifies the TIFF format. At *RST, the parameter is set to BMP.
Examples
HCOPy:DEVice:LANGuage TIFF specifies the TIFF data format for hardcopy.
HCOPy[:IMMediate] (No Query Form)
BMP
LANGuage
:
<space>
TIFF
?
Group
Related Commands
Syntax
Arguments
Examples
This command immediately initiates hardcopy output according to the current HCOPy setup parameters. For the waveform generator, this command is the same as HCOPy:SDUMp[:IMMediate]. For more information about hardcopy, see Hardcopy Commands on page 2–22.
Hardcopy
HCOPy:DESTination, HCOPy:SDUMp[:IMMediate]
HCOPy[:IMMediate]
HCOPy
:
IMMediate
None
HCOPy:IMMediate
starts hardcopy output.
2-64
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
HCOPy:SDUMp[:IMMediate] (No Query Form)
This command initiates a screen dump of the entire screen. For the waveform generator, this is the same as the HCOPy[:IMMediate] command. For more information about hardcopy, see Hardcopy Commands on page 2–22.
Command Descriptions
Group
Syntax
Arguments
Examples
*IDN? (Query Only)
Group
Hardcopy
HCOPy:SDUMp[:IMMediate]
HCOPy SDUMp
None
MMEMory:NAME "SAMPLE1.BMP";:HCOPy:SDUMp:IMMediate
prints the entire screen to the file SAMPLE1.BMP.
This command returns identification information for the waveform generator.
System
:
:
IMMediate
Syntax
Arguments
Returns
Examples
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
*IDN?
*IDN
None
<manufacturer>, <model>, <serial_number>, <firmware_level>
where
<manufacturer>::=SONY/TEK <model>::={ AWG410 | AWG420 | AWG430 | AWG510 | AWG520 | AWG610 } <serial_number>::=0 <firmware_level>::=SCPI:99.0 OS:x.y USR:x.y
*IDN?
might return SONY/TEK,AWG410,0,SCPI:99.0 OS:1.0 USR:1.0
?
2-65
Command Descriptions
MMEMory:CATalog? (Query Only)
This command returns information about the current contents and state of the mass storage media.
Group
Related Commands
Syntax
Arguments
Returns
Mass Memory
MMEMory:CDIRectory, MMEMory:MSIS
MMEMory:CATalog?[ <msus>]
MMEMory : CATalog
<msus> (mass storage unit specifier)::=<string> is one of the following:
MAIN The internal hard disk drive FLOPpy The internal floppy disk drive NET1, NET2, or NET3 The network drive 1, 2, or 3 (specified with the
SYSTem:COMMunicate:LAN commands)
<NR1>,<NR1>[,<file_name>,<file_type>,<file_size>]...
where: The first <NR1> is the total amount of storage currently used, in bytes.
For the network drives, <NR1>+0.
?
<space> <msus>
2-66
Examples
The second <NR1> is the total amount of storage available. For the network drives, <NR1>+0.
<file_name>,<file_type>,<file_size>::=<string>
where
<file_name> is the exact name of a file, <file_type> is DIR for directory, otherwise it is blank, and <file_size> is the size of the file, in bytes.
MMEMory:CATalog? "MAIN"
might return the following response:
484672,3878652,"SAMPLE1.WFM,2948"
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
MMEMory:CDIRectory (?)
This command changes the default directory for a mass memory file system. The default mass storage device is selected by MMEMory:MSIS command.
Command Descriptions
Group
Related Commands
Syntax
Arguments
Examples
Mass Memory
MMEMory:CDIRectory, MMEMory:MSIS
MMEMory:CDIRectory [<directory_name>]
MMEMory:CDIRectory?
MMEMory
<directory_name>::=<string>
is the default directory for a mass memory file 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.
MMEMory:CDIRectory "/AWG/WORK0"
changes the default directory to /AWG/WORK0.
:
CDIRectory
<space> <directory_name>
?
MMEMory:CLOSe (No Query Form)
This command closes the file specified in the MMEMory:NAME command. This command is included only for compatibility with the SCPI standard and may not be used.
Group
Related Commands
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Mass Memory
MMEMory:NAME, MMEMory:OPEN
2-67
Command Descriptions
Syntax
Arguments
Examples
MMEMory:CLOSe
MMEMory
None
MMEMory:NAME "SAMPLE1.WFM";CLOSe
closes the file SAMPLE1.WFM.
MMEMory:COPY (No Query Form)
This command copies an existing file to a new file. An error is generated if the source file does not exist.
Group
Related Commands
Mass Memory
MMEMory:CDIRectory, MMEMory:DELete, MMEMory:MSIS
:
CLOSe
Syntax
MMEMory <space>
Arguments
MMEMory:COPY <file_source>,<file_destination>
:
COPY
<file_source>::=<file_name>[,<msus>] <file_destination>::=<file_name>[,<msus>]
where:
<file_name>::=<string> is the source or destination file name. <msus> (mass storage unit specifier)::=<string> is the media on which
the file exists:
MAIN Internal hard disk drive FLOPpy Internal floppy disk drive NET1, NET2, or NET3 Network drive 1, 2, or 3 (specified with
Examples
MMEMory:COPY "FILE1.WFM","MAIN","FILE2.WFM","FLOPpy"
copies the file FILE1.WFM on the waveform generator hard disk to the file FILE2.WFM on the floppy disk.
<file_source>
,
<file_destination>
the SYSTem:COMMunicate:LAN commands)
2-68
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
MMEMory:DATA (?)
Command Descriptions
This command loads block data into the file on the default mass storage device, or returns the contents of the file.
Group
Related Commands
Syntax
Mass Memory
MMEMory:CDIRectory, MMEMory:MSIS
MMEMory:DATA <file_name>,<data> MMEMory:DATA?<file_name>
MMEMory DATA
Arguments
:
<file_name>::=<string> specifies the file to be loaded with data. <data> is in 488.2 block format.
Examples
MMEMory:DATA "FILE1",#41024xxxxx...
loads data into the file FILE1.
MMEMory:DELete (No Query Form)
<space>
<file_name>
, <data>
?
This command removes a file from the specified mass storage device.
Group
Related Commands
Syntax
MMEMory <space> ,DELete <msus>
Mass Memory
MMEMory:CDIRectory, MMEMory:MSIS
MMEMory:DELete <file_name>[,<msus>]
:
<file_name>
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
2-69
Command Descriptions
Arguments
Examples
MMEMory:FEED (?)
Group
<file_name>::=<string> specifies the file to be removed. <msus> (mass storage unit specifier)::=<string> is the media on which
the file exists:
MAIN Internal hard disk drive FLOPpy Internal floppy disk drive NET1, NET2, or NET3 Network drive 1, 2, or 3 (specified with
the SYSTem:COMMunicate:LAN commands)
MMEMory:DELete "FILE1.WFM","FLOPpy"
removes the file FILE1.WFM on the floppy disk.
This command sets the data handle to be used to feed data into the file specified by MMEMory:NAME. For the waveform generator, the data handle is fixed to HCOPy. This command is included only for compatibility with the SCPI standard, and may not be used (refer to Hardcopy Commands on page 2–22).
Mass Memory
Related Commands
Syntax
Arguments
Examples
MMEMory:NAME
MMEMory:FEED <data_handle>
MMEMory:FEED?
<data_handle>
?
MMEMory
<space>
:
FEED
<data_handle>::=<string> for the waveform generator, the data handle is fixed to HCOPy.
At *RST, this parameter is set to ”HCOP”.
MMEMory:FEED "HCOPy"
sets the data handle.
2-70
AWG400/500/600 Series Arbitrary Waveform Generator Programmer Manual
Loading...