Manual Generador AFG310
Manual Generador AFG310
www.tektronix.com
Copyright Tektronix Japan, Ltd. All rights reserved. Copyright Tektronix, Inc. All rights reserved. Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes that in all previously published material. Specifications and price change privileges reserved. Tektronix Japan, Ltd., 5931 Kitashinagawa, Shinagawaku, Tokyo 1410001 Japan Tektronix, Inc., P.O. Box 500, Beaverton, OR 97077 TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
WARRANTY
Tektronix warrants that the products that it manufactures and sells will be free from defects in materials and workmanship for a period of three (3) years from the date of shipment. If a product proves defective during this warranty period, Tektronix, at its option, either will repair the defective product without charge for parts and labor, or will provide a replacement in exchange for the defective product. In order to obtain service under this warranty, Customer must notify Tektronix of the defect before the expiration of the warranty period and make suitable arrangements for the performance of service. Customer shall be responsible for packaging and shipping the defective product to the service center designated by Tektronix, with shipping charges prepaid. Tektronix shall pay for the return of the product to Customer if the shipment is to a location within the country in which the Tektronix service center is located. Customer shall be responsible for paying all shipping charges, duties, taxes, and any other charges for products returned to any other locations. This warranty shall not apply to any defect, failure or damage caused by improper use or improper or inadequate maintenance and care. Tektronix shall not be obligated to furnish service under this warranty a) to repair damage resulting from attempts by personnel other than Tektronix representatives to install, repair or service the product; b) to repair damage resulting from improper use or connection to incompatible equipment; c) to repair any damage or malfunction caused by the use of non-Tektronix supplies; or d) to service a product that has been modified or integrated with other products when the effect of such modification or integration increases the time or difficulty of servicing the product. THIS WARRANTY IS GIVEN BY TEKTRONIX IN LIEU OF ANY OTHER WARRANTIES, EXPRESS OR IMPLIED. TEKTRONIX AND ITS VENDORS DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. TEKTRONIX RESPONSIBILITY TO REPAIR OR REPLACE DEFECTIVE PRODUCTS IS THE SOLE AND EXCLUSIVE REMEDY PROVIDED TO THE CUSTOMER FOR BREACH OF THIS WARRANTY. TEKTRONIX AND ITS VENDORS WILL NOT BE LIABLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES IRRESPECTIVE OF WHETHER TEKTRONIX OR THE VENDOR HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
Table of Contents
General Safety Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix xi
Getting Started
Product Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Initial Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Cord Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cooling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Repackaging for Shipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 12 12 13 14 14 112
Operating Basics
Operating Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controls and Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Basic Menu Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tutorials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21
22 26 227
Reference
Menu Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Menu Button Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 38
Table of Contents
Appendices
Appendix A: Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix B: Self Test and Calibration Procedure . . . . . . . . . . . . . . . . Appendix C: Inspection and Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix D: Floating Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix E: Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A1 B1 C1 D1 E1
Index
ii
Table of Contents
List of Figures
Figure 11: Rack Mount Kit (EIA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 12: Cooling for rackmaunted instrument(s) . . . . . . . . . . . . . . Figure 13: Bench Top Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 14: Rear Panel Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 15: POWER Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 16: The LCD Display at Power On . . . . . . . . . . . . . . . . . . . . . Figure 17: The LCD Display When Error is Found . . . . . . . . . . . . . Figure 21: Front Panel Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 22: Rear Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 23: Default Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 24: Menu Item Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 25: Item Buttons and Main Menu Buttons . . . . . . . . . . . . . . . Figure 26: Display Example for a Main Menu Selected . . . . . . . . . . Figure 27: Display Example for a Numeric Item Selected . . . . . . . . Figure 28: Buttons and Keys for Inputting Numeric Value . . . . . . . Figure 29: Example for Inputting Numeric Value . . . . . . . . . . . . . . . Figure 210: Buttons for Changing Numeric Value . . . . . . . . . . . . . . . Figure 211: CH Button and Channel Indicators . . . . . . . . . . . . . . . . Figure 212: Sin(X)/X Pulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 213: Double Exponential Pulse . . . . . . . . . . . . . . . . . . . . . . . . Figure 214: Damped Sine Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 215: Pseudo-random Signals Generated with Shift Register Figure 216: NRZ Random Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 217: Hookup for Observing Output Waveforms . . . . . . . . . . Figure 218: OUTPUT Switches and Indicators on the Front Panel . Figure 219: MANUAL Button on the Front Panel . . . . . . . . . . . . . . . Figure 220: Setup for Sweep Parameters . . . . . . . . . . . . . . . . . . . . . . Figure 221: Hookup for Observing Output Waveforms . . . . . . . . . . Figure 222: User Waveform to be Created . . . . . . . . . . . . . . . . . . . . . Figure 223: Hookup for Observing Output Waveforms . . . . . . . . . . Figure 224: Fixed points (one period signal) User Waveform when Output Frequncy = Display Frequency = 32 kHz. . . . . . . . . . . . . . Figure 225: Fixed points (one period signal) User Waveform when Output Frequncy = Display Frequency = 16 kHz. . . . . . . . . . . . . . 14 15 15 16 110 110 111 22 24 27 28 28 29 210 211 211 212 214 220 221 221 222 222 228 232 233 233 234 238 238 245 245
iii
Table of Contents
Figure 226: Fixed points (one period signal) User Waveform when Output Frequncy = Display Frequency = 8 kHz. . . . . . . . . . . . . . . Figure 227: Variable points (one period signal) User Waveform when Output Frequncy = Display Frequency = 16 kHz , 256 kHz Internal clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 228: Variable points (one period signal) User Waveform when Output Frequncy = Display Frequency = 16 kHz , 512 kHz Internal clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 229: Fixed point (one period signal) User Waveform when Output Frequncy = Display Frequency = 32 kHz. . . . . . . . . . . . . . Figure 230: Fixed point User Waveform when (two period signal) Display Frequency = 32 kHz, (one period signal) Output Frequncy = 64 kHz. . . . . . . . . . . . . . . Figure 231: Hookup for Importing Waveform . . . . . . . . . . . . . . . . . . Figure 31: Setting Menu Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 32: Parameter Menu Structure . . . . . . . . . . . . . . . . . . . . . . . . Figure 33: Edit Menu Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 34: Recall and Save Menu Structure . . . . . . . . . . . . . . . . . . . . Figure 35: System Menu Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 36: Location of the SHIFT Button and Indicator . . . . . . . . . Figure 37: Channel Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 38: Pulse Duty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 39: Timing Chart in the Triggered Mode . . . . . . . . . . . . . . . . Figure 310: Timing Chart in the Burst Mode . . . . . . . . . . . . . . . . . . . Figure 311: Timing Chart of Dual Channel Instrument . . . . . . . . . . Figure 312: Relationship between External Modulating Wave and AM Modulated Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 313: Frequency Sweep in Case of START < STOP . . . . . . Figure 314: Spacing Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 315: FSK Modulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 316: Add or Delete Data by Changing Number of Points . . . Figure 317: Append a Waveform at the End of the Edit Waveform Figure 318: Append a Waveform to the Front of the Edit Waveform Figure 319: LCD Display When LINE Item is Selected and Confirmed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 320: Example of LINE Editing on the Three Points . . . . . . . Figure 321: LCD Display When CUT Item is Selected and Confirmed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 322: Example of Cutting Data Between Specified Points . . . Figure 323: Error Display When Errors Were Detected . . . . . . . . . .
245
246
246 247
247 248 32 34 35 36 37 38 38 314 314 315 316 318 319 320 322 323 324 325 326 326 327 328 336
iv
Table of Contents
Figure 324: Error Display When Errors Were Detected . . . . . . . . . . Figure 41: IEEE STD 488 Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 42: GPIB System Configurations . . . . . . . . . . . . . . . . . . . . . . . Figure 43: LCD Display When GPIB ADDRESS Item is Displayed Figure 44: LCD Display When GPIB CONFIG Item is Displayed . Figure 45: Program Messages and Response Messages . . . . . . . . . . . Figure 46: GPIB: Retrieving Response Messages . . . . . . . . . . . . . . . Figure 51: Error and Event Handling Process Overview . . . . . . . . . Figure B1: Initial Test Hookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure B2: Initial Test Hookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure B3: Initial Test Hookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure B4: Initial Test Hookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure B5: 1 cycle, 180 phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure B6: 1 cycle, 0 phase (360) . . . . . . . . . . . . . . . . . . . . . . . . . . Figure B7: 1 cycle, +270 phase (90) . . . . . . . . . . . . . . . . . . . . . . . . Figure B8: 1 cycle, +90 phase (270) . . . . . . . . . . . . . . . . . . . . . . . . Figure B9: 3 cycle, 0 phase (360) . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure B10: 3 cycle, +90 phase (270) . . . . . . . . . . . . . . . . . . . . . . . . Figure B11: 3 cycle, +180 phase (180) . . . . . . . . . . . . . . . . . . . . . . . Figure B12: 3 cycle, +270 phase (90) . . . . . . . . . . . . . . . . . . . . . . . . Figure B13: Initial Test Hookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
337 42 42 43 44 46 414 52 B6 B9 B11 B19 B22 B22 B23 B23 B24 B24 B25 B25 B27
Table of Contents
List of Tables
Table 11: Power Cord Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 12: Fuse And Fuse Cap Part Numbers . . . . . . . . . . . . . . . . . . . Table 13: Instrument Voltage Settings . . . . . . . . . . . . . . . . . . . . . . . . Table 14: AC Line Power Requirements . . . . . . . . . . . . . . . . . . . . . . Table 15: Voltage Ranges and Switch Settings . . . . . . . . . . . . . . . . . . Table 16: Power Cord Identification . . . . . . . . . . . . . . . . . . . . . . . . . Table 21: Numeric Value Input Example 1 . . . . . . . . . . . . . . . . . . . . . Table 22: Numeric Value Input Example 2 . . . . . . . . . . . . . . . . . . . . . Table 23: Case 1: Fixed points (one period signal) . . . . . . . . . . . . . . . Table 24: Case 2: Variable points (one period signal) . . . . . . . . . . . . Table 25: Case 3: Fixed points (including M period signal) . . . . . . . Table 31: Frequency Setting Range . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 32: Phase Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 33: Setting Range for the Frequency Deviation . . . . . . . . . . . . Table 34: Combination of Key Click and Beep . . . . . . . . . . . . . . . . . . Table 41: BNF Symbols and Meanings . . . . . . . . . . . . . . . . . . . . . . . . Table 42: Decimal Numeric Notation . . . . . . . . . . . . . . . . . . . . . . . . . Table 43: Query Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 44: CALibration Subsystem Commands . . . . . . . . . . . . . . . . . Table 45: FORMat Subsystem Commands . . . . . . . . . . . . . . . . . . . . Table 46: INSTrument Subsystem Commands . . . . . . . . . . . . . . . . . Table 47: MODE Subsystem Commands . . . . . . . . . . . . . . . . . . . . . . Table 48: OUTPut Subsystem Commands . . . . . . . . . . . . . . . . . . . . . Table 49: SOURce Subsystem Commands . . . . . . . . . . . . . . . . . . . . . Table 410: STATus Subsystem Commands . . . . . . . . . . . . . . . . . . . . Table 411: SYSTem Subsystem Commands . . . . . . . . . . . . . . . . . . . . Table 412: TRACe|DATA Subsystem Commands . . . . . . . . . . . . . . . Table 413: IEEE-488.2 Common Commands . . . . . . . . . . . . . . . . . . Table 51: SBR Bit Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 52: SESR Bit Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 53: OCR Bit Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 54: QCR Bit Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 16 17 18 18 19 213 214 244 246 247 310 312 321 333 45 49 413 416 417 418 418 419 421 423 425 426 427 54 55 56 57
vi
Table of Contents
Table 55: Definition of Event Codes . . . . . . . . . . . . . . . . . . . . . . . . . . Table 56: Normal Condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 57: Command Errors (CME Bit:5) . . . . . . . . . . . . . . . . . . . . . Table 58: Execution Errors (EXE Bit:4) . . . . . . . . . . . . . . . . . . . . . . Table 59: Internal Device Errors (DDE Bit:3) . . . . . . . . . . . . . . . . . . Table 510: Query Errors (QYE Bit:2) . . . . . . . . . . . . . . . . . . . . . . . . Table 511: Device Dependent Device Errors (DDE Bit:3) . . . . . . . . Table 512: Device Dependent Device Errors (DDE Bit:3) . . . . . . . . Table 513: Device Dependent Device Errors (DDE Bit:3) . . . . . . . . Table A1: Operating Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A2: Burst Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A3: Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A4: Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A5: Amplitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A6: Offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A7: Phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A8: Main Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A9: Modulation and Sweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A10: Auxiliary Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A11: Auxiliary Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A12: Isolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A13: Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A14: AC Line Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A15: Mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A16: Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table A17: Installation Requirements . . . . . . . . . . . . . . . . . . . . . . . . Table A18: Certifications and compliances . . . . . . . . . . . . . . . . . . . . Table B1: Self Test Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table B2: Calibration Test Requirements . . . . . . . . . . . . . . . . . . . . . Table B3: Test Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table B4: Output Waveform Test Requirements . . . . . . . . . . . . . . . Table B5: Oscilloscope settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table B6: AFG320 Output Waveform . . . . . . . . . . . . . . . . . . . . . . . . Table B7: Frequency Accuracy Test Requirements . . . . . . . . . . . . . Table B8: Amplitude Accuracy Test Requirements . . . . . . . . . . . . . Table B9: DC Voltage Accuracy Test Requirements . . . . . . . . . . . . . Table B10: Operating Mode and Phase Test Requirements . . . . . . .
510 511 511 512 514 514 514 515 515 A1 A1 A2 A2 A2 A3 A3 A4 A5 A5 A6 A6 A6 A7 A7 A8 A8 A9 B2 B3 B5 B6 B7 B8 B9 B11 B16 B19
vii
Table of Contents
Table B11: Oscilloscope settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table B12: Signal generator settings . . . . . . . . . . . . . . . . . . . . . . . . . Table B13: Modulation Function Test Requirements . . . . . . . . . . . . Table B14: Oscilloscope settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table C1: External Inspection Check List . . . . . . . . . . . . . . . . . . . . . Table E1: Initial Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table E2: Secure Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table E3: Initial Value for the Command Argument . . . . . . . . . . . . Table E4: The Arbitrary Function Generator Character Set . . . . . . Table E5: ASCII and GPIB Code Chart . . . . . . . . . . . . . . . . . . . . . . . Table E6: GPIB Interface Function Implementation . . . . . . . . . . . . Table E7: GPIB Interface Messages . . . . . . . . . . . . . . . . . . . . . . . . . .
viii
Use Proper Power Cord. Use only the power cord specified for this product and certified for the country of use. Use Proper Voltage Setting. Before applying power, ensure that the line selector is in the proper position for the power source being used. Connect and Disconnect Properly. Do not connect or disconnect probes or test leads while they are connected to a voltage source. Ground the Product. This product is grounded through the grounding conductor of the power cord. To avoid electric shock, the grounding conductor must be connected to earth ground. Before making connections to the input or output terminals of the product, ensure that the product is properly grounded. Observe All Terminal Ratings. To avoid fire or shock hazard, observe all ratings and markings on the product. Consult the product manual for further ratings information before making connections to the product. Do not apply a potential to any terminal, including the common terminal, that exceeds the maximum rating of that terminal. Do Not Operate Without Covers. Do not operate this product with covers or panels removed. Use Proper Fuse. Use only the fuse type and rating specified for this product. Avoid Exposed Circuitry. Do not touch exposed connections and components when power is present. Do Not Operate With Suspected Failures. If you suspect there is damage to this product, have it inspected by qualified service personnel. Do Not Operate in Wet/Damp Conditions. Do Not Operate in an Explosive Atmosphere. Keep Product Surfaces Clean and Dry.
ix
Provide Proper Ventilation. Refer to the manuals installation instructions for details on installing the product so it has proper ventilation.
Terms in this Manual. These terms may appear in this manual: WARNING. Warning statements identify conditions or practices that could result in injury or loss of life.
CAUTION. Caution statements identify conditions or practices that could result in damage to this product or other property.
Terms on the Product. These terms may appear on the product: DANGER indicates an injury hazard immediately accessible as you read the marking. WARNING indicates an injury hazard not immediately accessible as you read the marking. CAUTION indicates a hazard to property including the product. Symbols on the Product. The following symbols may appear on the product:
Preface
This is the user manual for the AFG310 and AFG320 Arbitrary Function Generators. The Getting Started section briefly describes the Arbitrary Function Generators, provides installation instructions, options listing, accessories listing, and power on instructions. The Operating Basics section covers the basic operation principles of the generator. The operating procedures and examples help you understand how your generator operates. The Reference section provides detailed information about the specific functions for each menu. The Syntax and Commands section defines the command syntax and processing conventions, describes command notation, and explains how to connect and set up for a remote operation. The Status and Events section explains the status information and event messages reported by the Arbitrary Function Generators. The Appendices provide specifications, functional check procedures, and other useful information.
Conventions
In this manual you will find various procedures which contain steps of instructions for you to perform. Appendix B: Self Test and Calibration Procedure section uses the following conventions: H H H Names appear in the same case (all uppercase) and the same abbreviation as is used on the Arbitrary Function Generator front panel, buttons, and menus. Instruction steps are numbered. The number is omitted if there is only one step. Some instruction steps have substeps listed in alphabetical order. When steps require that you make a sequence of selections using front panel buttons, an arrow ( ) marks each transition between front panel buttons: CH FUNC > to display TRIA Using the convention just described results in instructions that are graphically intuitive and simplifies procedures. For example, the instruction just given replaces these three steps:
xi
Preface
1. Press the front panel button CH. 2. Press the front panel button FUNC. 3. Repeatedly press the front panel button > until TRIA is displayed on the LCD (liquid crystal display). This manual also shows instrument setups using tables. For example, Operating Basics section uses tables to show specific setups. The header of each table contains names of button groups that represent the controls, menus, and items used to set up the instrument. To make a specific setup, read the table from left to right and then from top to bottom as shown below. The table contains the symbol if no action is required.
Control Button Or Numeric Input Key Main Button
1. Press Menu or Item Button on the front panel.
8. 10.
9. 11. 12. Press EXIT button to move to upper level in the menu layer.
xii
Preface
Main Buttons
Control Buttons
Default Model
This manual documents the Arbitrary Function Generators. However, the AFG320 display (LCD and channel indicators) appears as the default display wherever a display is illustrated in this manual.
Contacting Tektronix
Phone Address 1-800-833-9200* Tektronix, Inc. Department or name (if known) 14200 SW Karl Braun Drive P.O. Box 500 Beaverton, OR 97077 USA www.tektronix.com 1-800-833-9200, select option 1* 1-800-833-9200, select option 2* Email: [email protected] 1-800-833-9200, select option 3* 1-503-627-2400 6:00 a.m. 5:00 p.m. Pacific time * This phone number is toll free in North America. After office hours, please leave a voice mail message. Outside North America, contact a Tektronix sales office or distributor; see the Tektronix web site for a list of offices.
xiii
Preface
xiv
Getting Started
This section provides the following information: H H H H H H Description and features of the Arbitrary Function Generators Initial inspection Power cord options Standard and optional accessories Installation procedures Repackaging information
Product Description
The Arbitrary Function Generators are portable waveform generators equipped with both arbitrary waveform editing functions and standard waveform generator functions. The AFG310 Arbitrary Function Generator is a single-channel output model, and the AFG320 Arbitrary Function Generator is two-channel output model.
Main Features
H H H H H H H
Seven types of standard function waveforms: Sine, Square, Triangle, Ramp, Pulse, DC, and Noise Maximum output frequency is 16 MHz 50 W impedance floating output Three operating modes: Continuous, Triggered, and Burst Four types of modulation functions: Sweep function, FM modulation, FSK modulation, and AM modulation Creating and editing waveforms by edit functions and equipped with four user waveform memories 20 setup memories Saving and recalling setup in the memory; step recall mode is selectable for recalling Standard GPIB interface is: You can control the instrument through this interface and import waveforms from other instruments
1-1
Getting Started
Initial Inspection
Inspect the Arbitrary Function Generators carton for external damage. If the carton is damaged, notify the carrier. Remove the Arbitrary Function Generator from its package and check that it has not been damaged in transit. Verify that the carton contains the basic instrument and its standard accessories. Refer to Accessories on page 13. This instrument was thoroughly inspected for mechanical and electrical defects before shipment. It should be free of scratches and meet or exceed all electrical specifications. To confirm this, inspect the instrument for physical damage incurred in transit and test the electrical performance by following the procedures in Appendix B: Self Test and Calibration. Contact your distributor if a discrepancy is found. NOTE. Save the shipping carton and packaging materials for repackaging in case shipment becomes necessary.
1-2
Getting Started
Accessories
Standard Accessories
The Arbitrary Function Generators include the following standard accessories:
Description AFG310 and AFG320 Arbitrary Function Generator User Manual Power Cord 125 V/6A Part Number 071 0175 50 161 0230 01
Optional Accessories
The following optional accessories are recommended for use with the instrument.
Description AFG310 and AFG320 Arbitrary Function Generator Service Manual Wavewriter (Waveform Capture and Editing Software) GPIB Cable 50 W BNC Cable 50 W BNC Cable (double shielded) Rack Mount Kit (EIA) Part Number 071 0176 50 S3FT400 012 0991 00 012 1342 00 012 1256 00 016 1674 00
1-3
Getting Started
Installation
Before you begin, refer to the General Safety Summary at the front of this manual for power source, grounding, and other safety information.
Environment
Verify that you have the correct operating environment. The instrument operates correctly in ambient temperatures from 0_ C to +40_ C and relative humidity from 0% to 95% and also in ambient temperatures from 40_ C to +50_ C and relative humidity from 0% to 75%. CAUTION. Damage to the instrument can occur if this instrument is powered on at temperatures outside the usage temperature range. For more information on the operating environment, refer to Appendix A:Specifications.
Cooling
The cooling air goes inside from the air intakes at top and goes outside from the rear. Leave space for cooling. Verify that the air intake holes on the top of the cabinet
1-4
Getting Started
and exhaust holes on the rear of the instrument are not obstructed. Allow at least 5 cm (2 inches) of clearance on top and rear. Leave at least 5 cm(2 inches) free on top when you install the another rackmounted instrument above the instrument. See Figure 12.
Installation Set Up
This instrument must be placed in a horizontal position or with the front stand pulled forward until it locks in place. See Figure 13.
Stand
Figure 1-3: Bench Top Installation Install the instrument on a flat, sturdy desk or table. CAUTION. Do not use the instrument standing vertically balanced on its rear panel. This position is unstable and the instrument will be damaged if it falls over.
1-5
Getting Started
If you are installing this instrument in a dedicated rack, refer to the instruction sheet that comes with the rack mounting kit.
Check Fuse
Check the fuse to be sure it is the proper type and rating. WARNING. To avoid electrical shock, be sure that the power cord is disconnected before checking the fuse. To remove the fuse, push in and turn the fuse holder cap counterclockwise with a screwdriver. See Figure 14 for the fuse location. The instrument order specified either a UL approved or an IEC approved fuse. Each fuse requires its own cap. See Table 12. Table 1-2: Fuse And Fuse Cap Part Numbers
Fuse 0.25 inch 1.25 inch (UL 198.6, 3 AG): 1 A fast, 250 V 5 mm 20 mm (IEC 127): 0.5 A (T), 250 V Tektronix Fuse Part Number 159 0022 01 159 0413\ 00 Fuse Cap Part Number 200 2264 00 200 2265 00
The fuse approved under the IEC standards is used in equipment sold in the European market.
115 / 230 V Slide Switch
Fuse Holder
1-6
Getting Started
Check that you have the proper electrical connections. The instrument requires 90 to 250 VACRMS, 48 Hz to 440 Hz, and may require up to 70 W. The instrument voltage setting must be adapted to power source voltage. See Table 13 for switch settings. Table 1-3: Instrument Voltage Settings
115/230 Switch 115 V 115 V 230 V 230 V High/Low Switch Low High Low High Power Source 90 V to 110 V 108 V to 132 V 180 V to 220 V 216 V to 250 V
1-7
Getting Started
Table 14 contains information for the Arbitrary Function Generators power requirements. Table 1-4: AC Line Power Requirements
Name Line Frequency Range: 48.0 Hz to 63.0 Hz 48.0 Hz to 440 Hz Maximum Power Consumption Maximum Current Description VACRMS: 127 V to 250 V 90 V to 127 V 70 W 2A
CAUTION. To avoid damaging the instrument, be sure that the power cord is disconnected before changing the voltage setting. Check the voltage settings on the two slide switches on the rear panel. The correspondence between the voltage ranges and the switch settings for those ranges is shown in Table 15. Table 1-5: Voltage Ranges and Switch Settings
Voltage Range 115 V / 230 V Voltage Switch High / Low Range Switch 90 V 110 V
230 V 115 V High Low
108 V 132 V
230 V 115 V High Low
180 V 220 V
230 V 115 V High Low
216 V 250 V
230 V 115 V High Low
Connect Cable
Connect the proper power cord from the rear panel power connector to the power system. See Table 16. CAUTION. The instrument is shipped with a power cord appropriate for use with your power systems (normal 115 V power system or 230 V power system). If the instrument is to be used with a power system other than what the order specified, the power cord must be replaced with one appropriate for the power source used. See Power Cord Options in this section, for the available power cord types.
1-8
Getting Started
Europe 230 V
A1
A2
Australia 230 V
A3
A4
A5
Power On
The LCD display is blank when the instrument is turned off. Push the front panel switch labeled POWER to power on the instrument. See Figure 15. Make sure that the fan is turning.
1-9
Getting Started
POWER Switch
Self Test
Check the results of the startup self test. Power-on tests occur automatically each time you power on the instrument. See Figure 16 for the LCD display.
Type of Instrument
CH 1
BOTH
CH 2
Figure 1-6: The LCD Display at Power On The system continues to the default display after the start-up tests are complete. NOTE. Allow a 20-minute warm-up for the instrument to operate at its optimum precision. If an error is detected (see Figure 17), an error message is displayed on the first line, and the test item is displayed on the second line. When multiple errors are detected, use the and buttons to scroll through the failed test items. Although you can clear the error display state and use the instrument, waveform output will not be reliable until you resolve the errors.
1-10
Getting Started
CH 1
BOTH
CH 2
Figure 1-7: The LCD Display When Error is Found To exit the error display, press the CANCEL/EXIT button. If the self test fails, contact your distributor about details of warranty and service. NOTE. The power-on self test consists of a subset of the tests performed by the SYSTEM menu SELF TEST item. Instrument calibration is not performed at power on unless an error is found in the internally stored calibration data. Use the SYSTEM menu self test and calibration items for more thorough self testing and calibration. This instrument uses flash memory as its internal nonvolatile memory. After this memory has been written about 1000 times, the instrument rewrites the whole chip. This provides wear leveling (distributed writing and periodic deletion/rewriting). This operation causes the time required between power on and the point the instrument can be used to be about ten seconds longer than usual.
Power Off
To power off the instrument, press the POWER switch. NOTE. The instruments current settings are not automatically stored at power off. To store instrument settings for the next power on, use the SAVE menu before powering off.
1-11
Getting Started
1-12
Operating Basics
This section provides the following information: H H H H H H H H Provides an overview of the instrument controls and their functions Provides an LCD display example Describes basic operating procedures grouped by function Explains how to enter numbers Explains how to output a waveform Explains how to edit, save, and input waveforms Describes the terminology and content of representative screen displays Provides tutorials covering basic procedures for waveform output and basic settings on the AFG320
2-1
Operating Basics
LCD Display Displays item, selection, numeric, and message within 20 characters in two lines.
POWER Switch Toggle power on and off. Numeric Input Keys and Button Numeric Keys Unit Keys Delete Button
(CH2 for AFG320 ) Floating waveform output connector. The output impedance is 50 W. CH2 output connector is not installed in AFG310.
TRIGGER EXT IN Connector TTL level external trigger input connector. The input impedance is 10 kW.
Deletes one digit, decimal point, or sign at the left of the block cursor. Inputs numeric values, decimal point, sign, and INF. Confirms the input value with designated unit.
2-2
Operating Basics
Changes the operating target channel. Turns both input mode on or off combining with SHIFT button.
Selects setting menu item, and also selects main menu after pressing SHIFT button.
SHIFT button enables you to select a function displayed in blue nomenclature on the front panel. Indicator is on when in shift state.
Main Buttons
Control Buttons CANCEL / EXIT Button ENTER / SELECT Button PREV / NEXT Button INC / DEC Button
Main Buttons OUTPUT Switch and Indicators (CH2 for AFG320 ) TRIGGER MANUAL Button
Cancels selecting item or selection or inputting value, and restores the previous state when block cursor is displayed. Shifts operating level in menu layers when underscore cursor is displayed.
Confirms selected item and selection. Confirms numeric value with same unit.
The switch toggles waveform output on and off. The indicator is on when corresponding output switch is on state. CH2 output switch and indicator are not installed in AFG310.
2-3
Operating Basics
Rear Panel
AM IN Connector An external Amplitude Modulation (AM) modulating signal is input for CH1 modulation. The input impedance is 10 kW and the maximum input voltage is 10 V (DC + Peak AC).
SYNC OUT Connector TTL level pulse is output synchronizing with CH1 output. The output impedance is 50 W.
High / Low Slide Switch Toggles voltage setting between High and Low in the 115 V or 230 V line.
2-4
Operating Basics
This instrument provides an OUTPUT, SYNC OUT, TRIGGER EXT IN, and AM IN connector. These are floating outputs or floating inputs. The note 42 VpkMAX FLOAT appears on the panel adjacent to each of these connectors to indicate that they are floating connections. For examples of floating connections, refer to Appendix D: Floating Connections. WARNING. To prevent electrical shocks, do not apply voltages in excess of 42 Vpk to any BNC connector ground or to the chassis ground. All BNC commons must be at the same potential.
OUTPUT Connector. The output connector outputs the waveforms generated by the instrument. The AFG310 provides a CH1 connector and the AFG320 provides a CH1 and a CH2 connector. H The output impedance is 50 W. The voltage displayed on the LCD is the voltage output when a 50 W termination is provided. When the output is open, a voltage twice that displayed on the LCD is output from the OUTPUT connector(s).
CAUTION. To prevent damage to the instrument, do not short output pins or apply external voltages could result.
SYNC OUT Connector. This connector outputs a TTL level pulse synchronized with the CH1 output. See Appendix D: Sync Signal Output on page E1, for details on signal output timing. H The output impedance is 50 W.
CAUTION. Do not short output pins or apply external voltages. Damage to the instrument could result.
2-5
Operating Basics
TRIGGER EXT IN Connector. The EXT IN connector inputs a TTL level external trigger signal. H The input impedance is 10 kW.
CAUTION. Do not apply excessive inputs over +5 V. Damage to the instrument could result.
AM IN Connector. The AM IN connector inputs an external AM modulation signal. See page 317, AM (AM) Modulation, for details on input level and modulation depth. H The input impedance is 10 kW.
CAUTION. Do not apply excessive inputs over 5 V. Damage to the instrument could result.
2-6
Operating Basics
LCD Display
The LCD (liquid crystal display), shows the Default Display or the Menu Item Display. Refer to Figure 21 for the location of the LCD Display on the front panel. For an example of the Default Display, refer to Figure 23. For an example of the Menu Item Display, refer to Figure 24. Default Display. In this state, the current CH1 values for the setting menu items (FUNC, FREQ, AMPL, OFFSET, MODUL, MODE, and PHASE) are displayed. The instrument goes to the default display state after power on, after executing the initialization procedure, and after executing the secure operation. Press the EXIT (CANCEL) button repeatedly to return to the default display from states in which menu items are displayed. Also, pressing any one of the OFFSET, MODE, MODUL, or PHASE buttons returns to the default display.
CH1 Indicator light up Type of Waveform selected Frequency Value
Prefix of Unit
BOTH
CH 1 CH 2
Offset Value
Figure 2-3: Default Display Menu Item Display. When the SHIFT button and then one of the EDIT, SYSTEM, FUNC PARAMETER, MODE PARAMETER, MODUL PARAMETER, or RECALL buttons are pressed sequentially, or when the SAVE button is pressed, the corresponding menu item will be displayed in the second line of the LCD. The display example shown below occurs when the FUNC PARAMETER menu has been selected. In some cases the FUNC PARAMETER, MODE PARAMETER, or MODUL PARAMETER, shown in the second line of the LCD, is not a valid parameter for the FUNC displayed in the first line of the LCD. For example, the FUNC PARAMETER Pulse Duty has no effect on the FUNC SINE as displayed in Figure 24.
2-7
Operating Basics
BOTH
CH 1 CH 2
The buttons used for selecting main menus and items from the setting menu are located in the upper right of the front panel. Refer to Figure 25. H Item buttons in the Setting menu (seven items) FREQ, AMPL, OFFSET, PHASE, FUNC, MODE, MODUL H Main menu buttons (seven types) EDIT, SYSTEM, FUNCPARAMETER, MODEPARAMETER, MODULPARAMETER, RECALL, SAVE
Figure 2-5: Item Buttons and Main Menu Buttons Operation for Setting the Menu Items. Follow the steps below for setting the menu items: 1. Select the desired item using the front panel item buttons. Depending on the item selected, the underscore cursor will be displayed at either numeric value or at selection on the LCD display.
2-8
Operating Basics
2. Enter the numeric value, or make the selection. H Numeric values can be changed with the and buttons. Alternatively, the value can be entered with the numeric keys and confirmed by pressing a unit key or the ENTER button. Use the and buttons to change a selection. Confirm the selection with the ENTER button.
Prior to confirmation (when the block cursor is blinking), numeric values and selections can be restored to their original states by pressing the CANCEL button. Operation for the Main Menus. Follow the steps below for main menu operation: 1. Select the desired menu using the front panel menu buttons. One of the items included in the selected menu will appear to the left of the colon in the second row on the LCD screen, and one numeric value or selection for that item is displayed to the right of the colon. See Figure 26.
Cursor
Figure 2-6: Display Example for a Main Menu Selected The underscore cursor will appear either in the item to the left of the colon or in the selection area or numerical value to the right of the colon. For menus with only one item, the cursor will be displayed immediately at the selection or numeric value. The procedure from this point will depend on whether the cursor is displayed to the left or right of the colon: H H If the cursor is displayed on the item (to the left of the colon), proceed to Step 2. If the cursor is displayed in the selection area or number (to the right of the colon), proceed to Step 3, or press the EXIT (CANCEL) button to go to the item selection level and then proceed to Step 2.
2-9
Operating Basics
2. Use the < and > buttons to change items until the desired item is displayed. Then confirm the selected item with the ENTER button. The cursor moves to selection or numeric value to the right of the colon. 3. Enter the numeric value, or make the selection. H Numeric values can be changed with the and buttons. Alternatively, the value can be entered with the numeric keys and confirmed by pressing a unit key or the ENTER button. Use the and buttons to change a selection. Then confirm the selection with the ENTER button.
Prior to confirmation (when the block cursor is blinking), numeric values and selections can be restored to their original states by pressing the CANCEL button. 4. Press the EXIT (CANCEL) button to switch to the higher level (to the item selection level) and to make it possible to repeat Steps 2 through 4. It is possible to select another menu or setting item at any time while the underscore cursor is displayed. When a menu is selected, the same item and its selection will be displayed with same cursor location as they were the last time that menu was selected. Each time the EXIT (CANCEL) button is pressed, the system switches to the next higher level, and finally returns to the default display. In addition to the EXIT (CANCEL) button, the OFFSET, PHASE, MODE, and MODUL buttons can also be used to return to the default display.
Numeric Input
An underscore is displayed at one of the digits in the numeric value on the LCD display when numeric input is required. See Figure 27.
Figure 2-7: Display Example for a Numeric Item Selected The numeric keys and control buttons are used for numeric input. The following describes the techniques for entering numeric values.
2-10
Operating Basics
Using the Numeric Buttons. Follow the steps below to input numeric values. Use the buttons and keys, shown in Figure 28, to input numeric values with the numeric keys.
7 4 1 0 8 5 2 . 9
MHz/ms X CANCEL kHz/ms/mV
6 3
INF Hz/s/V
ENTER
+/-
Numeric Keys
Unit Keys
ENTER Button
Figure 2-8: Buttons and Keys for Inputting Numeric Value 1. Input the target value using the numeric keys. Figure 29 shows the input of the value 1.0. When the numeric keys are used for input, a block cursor is displayed as shown in the figure.
Figure 2-9: Example for Inputting Numeric Value Use either the delete key or the CANCEL button to correct an input. H Delete Button. This button deletes one digit, decimal point, or the +/ character at the left of the block cursor. If the delete button is pressed and held down; the delete operation is repeated. CANCEL Button. The value input is cancelled, and the original value is redisplayed.
2-11
Operating Basics
2. The input numeric value is confirmed by pressing a unit key or the ENTER button. NOTE. The +/ character can be input at any point prior to confirming the numeric value for numeric items that allow a negative value. If a value outside the valid range for a numeric item is entered, the value will be replaced by the smallest or largest value in that range when the value is confirmed. If a value is entered to greater precision than the resolution of the numeric item, the value will be rounded off when confirmed.
Using the Control Buttons. Follow the steps below to change the numeric value. Use the buttons shown in Figure 210 to change numeric values.
EXIT CANCEL SELECT
CANCEL Button
INC/DEC Buttons
PREV NEXT
ENTER
ENTER Button
PREV/NEXT Buttons
Figure 2-10: Buttons for Changing Numeric Value 1. Place the cursor on the digit that will be changed by pressing the < or > button. 2. Use the and buttons to change the numeric value. Use the CANCEL button to correct an input. Note that this operation is valid when the block cursor is displayed. The CANCEL button cancels the input value and redisplays the original value. If the cursor is placed on the highest digit and the digit is reduced to 1, the value will not change if the button is pressed again. At this point the value can be reduced by moving the cursor to the next lower digit. Amplitude and offset values are the exception. H Amplitude. The value to the left starting at the position of the cursor can be reduced to 1 (in the case of values like 1.030 and 0.120) or 0 (in the case of values like 0.235 and 0.080). Then pressing the button reduces the value to the minimum value of 0.050.
2-12
Operating Basics
Offset. If the current offset value is positive, pressing the button reduces the value to the left starting at the position of the cursor to 0. Pressing this button again reduces the value in the minus region. If the current offset value is negative, pressing the button increases the value across 0 as well.
Phase values can be negative as well. However, to change the value above or below zero, the cursor must be moved temporarily to the least significant digit. 3. After a value has been changed, the value can be confirmed by pressing a unit key or the ENTER button if the block cursor is blinking. When a value has been changed, some items require that the front panel ENTER button be pressed. If an underscore cursor is displayed after a value has been changed, that item is already confirmed. If the block cursor is blinking after the value has been changed, either a unit key or the ENTER button must be pressed to confirm that value. See Tables 21 and 22. When the underscore cursor is displayed, it is not necessary to press the ENTER button. The numeric values for the FREQ, AMPL, OFFSET, and PHASE items in the setting menu have the characteristics of the numeric values in setting Example 1. Table 2-1: Numeric Value Input Example 1
Buttons for Input > LCD Display 1.00 1.00 0.90 0.80 Numeric Value Status Before input During input Entered
When the underscore cursor has changed to the block cursor, either a unit key or the ENTER button must be pressed to confirm the value. If a unit key or the ENTER button is not pressed, the value will revert to the previously set value after exiting from the menu. The numeric values for other than the FREQ, AMPL, OFFSET, and PHASE items in the setting menu have the characteristics of the numeric values in setting Example 2.
2-13
Operating Basics
Follow the steps below to output a waveform: 1. Connect an oscilloscope to the Arbitrary Function Generator to observe the output waveform. 2. Select a target channel for operation. The settings can be set for each channel independently. Select the desired channel before setting each item. The CH indicator displays the selected channel. Press the CH button to change the channel.
Channel Indicators
CH Button
Figure 2-11: CH Button and Channel Indicators 3. Select one of the standard waveforms. a. Press the FUNC button on the front panel.
2-14
Operating Basics
b. Use the and buttons to scroll through the waveform names until the desired standard waveform is displayed in the LCD. c. Press the ENTER button to confirm the selected waveform. 4. Press the OUTPUT switch to start the waveform output. The OUTPUT switch opens and closes the line that connects the instruments internal output circuit to the output connector. When this switch is on a waveform corresponding to the currently set output mode (continuous, triggered, or burst mode), the waveform will be output from the OUTPUT connector.
The following procedure provides information on setting waveform parameters. Frequency, Amplitude, Offset, Phase. Follow the steps below to set the parameters (frequency, amplitude, offset, and phase): 1. Press the FREQ, AMPL, OFFSET, or PHASE button according to the parameter type to be set. 2. Input the target value using the numeric keys or control buttons. Setting the Both Input Mode Follow the steps below to set the BOTH input mode. NOTE. The BOTH input mode is available for the AFG320 only. 1. Press the FREQ, AMPL, OFFSET, or PHASE button according to the parameter type to be set. 2. Press the SHIFT button, and then press the CH button. At this point the value of the selected parameter for both CH1 and CH2 will be changed to the value currently displayed. However, if the channel that is not displayed exceeds the maximum value, both channels will be set to that maximum value. 3. Input the target value using the numeric keys or control buttons. Cancel the Both Input Mode. Follow the steps below to cancel the Both input mode. 1. Press the parameter item button for which BOTH input has been set. 2. Press the SHIFT button, and then press the CH button.
2-15
Operating Basics
Duty. Follow the steps below to change the duty of the standard function pulse waveform: 1. Press the SHIFT button and then press the FUNC button. This will result in the following display.
CH 1
BOTH
CH 2
2. Change the duty value using the numeric keys or control buttons. 3. Press the ENTER button to confirm the changed value.
The following procedures provide information on setting operation mode. Selecting the Operation Mode. Follow the steps below to select the operation mode: 1. Press the MODE button on the front panel. 2. Use the and buttons to scroll through the mode names until the desired mode is displayed in the LCD. 3. Press the ENTER button to confirm the selected mode. Burst Count. The burst count is only valid when burst mode has been selected. The burst count can be input at any time. Follow the steps below to change the burst count: 1. Press the SHIFT button and then press the MODE button. This will result in the following display.
CH 1
BOTH
CH 2
2. Change the burst count. The burst count can be set to an arbitrary value from 1 to 60,000 or to infinity.
2-16
Operating Basics
To set a numeric value, change the value using the numeric keys or the control buttons, and then press the ENTER button. To set an unlimited number of counts, press the SHIFT button, and then press the INF (+/) key.
The following procedures provide information on modulation/sweep to the output waveform. Selecting Modulation Sweep. Follow the steps below to select Modulation/Sweep: 1. Press the MODUL button on the front panel. 2. Use the and buttons to scroll through the modulation/sweep names until the desired modulation/sweep is displayed in the LCD. 3. Press the ENTER button to confirm the selected modulation/sweep. Modify Modulation/Sweep. Follow the steps below to modify Modulation/Sweep: 1. Press the SHIFT button and then press the MODUL button. This will result in the following display.
CH 1
BOTH
CH 2
The sweep, FM modulation, and FSK modulation can be customized. 2. Select a target parameter of the sweep or modulation for customizing using the and buttons to scroll through the modulation/sweep parameter names until the desired parameter name is displayed in the LCD. 3. Press the ENTER button to confirm the selected parameter. 4. Enter the numeric value or make the selection. Parameters are either set to a numeric value or selected from a set of selections. Follow the steps below to select a parameter selection: 5. Use the and buttons to scroll through the set of selections until the desired selection is displayed in the LCD. 6. Press the ENTER button to confirm the selection.
2-17
Operating Basics
Follow the steps below to input numeric values: 7. Change the value using the numeric keys or control buttons. 8. Press the ENTER button or unit key to confirm the numeric value.
Recall a Setting
The following procedures provide information on recalling a setting. Recall by Designating Memory Number. Follow the steps below to recall by designating Memory Number: 1. Press the RECALL button on the front panel. 2. Use the and buttons to scroll through the memory numbers until the desired Memory Number is displayed in the LCD. 3. Press the ENTER button to confirm the selected number. Recall by the Step Recall. Follow the steps below to recall by using Step Recall: 1. Set the step recall mode to ON state in the SYSTEM menu. 2. Set the value for the LAST RECALL STEP in the SYSTEM menu. This value is the last setting memory number recalled. Once the STEP RECALL and LAST RECALL STEP items have been set, there is no need to perform Steps 1 and 2 in this procedure again. Since these settings are stored in nonvolatile memory, they are not reset when the power is turned on or off or when the instrument is initialized. 3. Press the RECALL button on the front panel. 4. Use the and buttons to scroll through the memory numbers until the memory number to be recalled first is displayed in the LCD. 5. Press the ENTER button to confirm the selected number. The setup for the displayed memory number can be recalled by pressing the ENTER button. At the same time, the displayed memory number will be increased.
2-18
Operating Basics
NOTE. In step 4 if you selected a memory number that was equal to or greater than the value of the LAST RECALL STEP, the following actions occur when you press ENTER: H H The selected memory number is recalled. The memory number is then referred to zero.
6. To intermit recall under step recall mode, exit from the RECALL menu with the EXIT (CANCEL) button. The instrument will return to the default display. In addition to the EXIT (CANCEL) button, the OFFSET, PHASE, MODE, and MODUL buttons also can be used to return to default display.
Saving a Setup
Follow the steps below to save a setup: 1. Press the SHIFT button and then press the RECALL button to access the save mode. NOTE. Pressing the shift button enables you to select a function displayed in blue nomenclature on the front panel. The indicator is on when in shift state. 2. Use the and buttons to scroll through the memory numbers until the memory number in which the current settings are saved is displayed in the LCD. 3. Press the ENTER button to execute the save function.
Sample Waveforms
The sample waveforms are saved in user waveform memory from USER1 to USER4 when this instrument is shipped from the factory. To output these sample waveforms, select the user waveform memory name with the FUNC item. There are four sample waveforms as follows: H H H H USR1: Sampling Function SIN(x)/x Pulse USR2: Double Exponential Pulse USR3: Damped Sine Wave USR4: NRZ Random Signal
When a save operation is executed to the user waveform memory, the previous contents are overwritten. The sample waveforms can be restored by executing the SECURE function in the SYSTEM menu.
2-19
Operating Basics
NOTE. When the SECURE function is executed, the data stored in nonvolatile memory (user waveform memory and setting memory) is initialized, and restores the instrument to the factory settings.
Sampling Function SIN(X)/X Pulse. The settings of the Sampling Function are as follows: Number of Points: Peak Location: Maximum Output Frequency: 1600 800th point 10 kHz 40 oscillations in one period of the pulse
Figure 2-12: Sin(X)/X Pulse Double Exponential Pulse. The settings of the double exponential pulse are as follows: Number of Points: Ratio of Time Constant: Peak Location: Maximum Output Frequency: 1600 t2 = 10 t1 (rise time constant: t1, fall time constant: t2) 82th point 10 kHz
2-20
Operating Basics
Refer to Figure 213 for an example of the rising and falling double exponential function pulse.
Figure 2-13: Double Exponential Pulse Damped Sine Wave. The settings of damped sine wave are as follows: Number of Points: Maximum Output Frequency: 1600 10 kHz
Refer to Figure 214 for an example of the rising and falling damped sine wave.
2-21
Operating Basics
NRZ Random Signal. This is a m-series, pseudo-random signal generated with the shift register shown in Figure 215.
Figure 2-15: Pseudo random Signals Generated with Shift Register The shift register bits are initially set to 1 and the data is changed every two samples. The one sequence of m-series pseudo-random signal consists of 2 points. The settings of register are as follows: (29 1) Register Length: Points/Step: Coding: Number of Points: Maximum Output Frequency: 9 1 NRZ 511 31.31115 kHz
2-22
Operating Basics
The following procedures provide information on editing, saving, and importing waveforms. Editing a Waveform. Follow the steps below to edit a waveform: 1. Press the EDIT button, or press the SHIFT button, and then press the OFFSET button. This will result in the following display.
CH 1
BOTH
CH 2
2. Select one of edit functions by using the and buttons to scroll through the edit items until the desired edit item is displayed in the LCD. 3. Press the ENTER button to confirm the selected item. 4. Enter the numeric value, or make the selection. Editing is either set to a numeric value or selected from a set of selections. Use the following procedure to select one of the selections. a. Use the and buttons to scroll through the set of selections until the desired selection is displayed in the LCD. b. Press the ENTER button to confirm the selection. c. Press the EXIT (CANCEL) button. The EXIT (CANCEL) button can be used to return to Step 2; then select the next edit function. Use the following procedure to input numeric values. Repeat Steps d and e in the following procedure in steps that require the input of multiple numeric values. d. Change the value using the numeric keys or control buttons. e. Press the ENTER button or unit key to confirm the numeric value. f. Press the EXIT (CANCEL) button.
2-23
Operating Basics
Saving an Edited Waveform. Follow the steps below to save an edited waveform: 1. Select the save function for the edited waveform by using the and buttons to scroll through the edit items until the SAVE TO item is displayed in the LCD. If the system has not entered into the edit menu, press the EDIT button, or press the SHIFT button, and then press the OFFSET button. 2. Press the ENTER button to confirm the selected item. This will result in the following display.
CH 1
BOTH
CH 2
3. Select the user waveform memory name by using the and buttons to scroll through the user waveform memory names until the desired name is displayed in the LCD. 4. Press the ENTER button to confirm the selection. 5. Press the EXIT (CANCEL) button. The EXIT (CANCEL) button can be used to return to Step 2. Press the EXIT (CANCEL) button again to exit the edit menu.
2-24
Operating Basics
5. Press the ENTER button to confirm the selected item. This will result in the following display:
CH 1
BOTH
CH 2
6. Select the transfer source instrument series by using the and buttons to scroll through the set of selections until the desired instrument name is displayed in the LCD. The instrument names are TDS, 2400, AFG, and AWG. 7. Press the ENTER button. The ENTER button starts the import operation. The transfer destination is the edit memory. During the waveform transfer, the block cursor will blink at the IMPORT FROM item selection. When the import completes, the block cursor will change to the underscore cursor. If the import failed, the message IMPORT ERROR CHECK CONNECTION will be displayed. Press the EXIT (CANCEL) button to exit from the error display. The waveform import function only transfers the waveform shape as it is stored in the memory of the DSO which may be larger than the viewing area. Cyclic frequency, amplitude, and offset information of the waveform are not conserved. Therefore, these waveform parameters need to be adjusted manually. Note that the frequency setting defines the repetition rate for the waveform in memory, and not the cycle frequency. 8. Press the EXIT (CANCEL) button. The EXIT (CANCEL) button can be used to select the next edit function. Pressing the EXIT (CANCEL) button again exits from the edit menu.
2-25
Operating Basics
Follow the steps below to set the instrument system: 1. Press the SYSTEM button, or press the SHIFT button, and then press the PHASE button. This will result in the following display:
CH 1
BOTH
CH 2
2. Select the system item in the system menu by using the and buttons to scroll through the set of selections until the desired item name is displayed in the LCD. 3. Press the ENTER button to confirm the selected item. NOTE. The three types of selections in the system menu are: setting a numeric value, selecting from a set of selections, or executing. 4. Enter the numeric value, make the selection, or do the execution. Complete the following steps to input numeric values: a. Change the value using the numeric keys or control buttons. b. Press the ENTER button to confirm the numeric value. Complete the following steps to select one of the selections: c. Use the and buttons to scroll through the set of selections until the desired selection is displayed in the LCD. d. Press the ENTER button to confirm the selection. Complete the following step to execute the selected execution selection. e. Press the ENTER button. 5. Press the EXIT (CANCEL) button. The EXIT (CANCEL) button can be used to return to Step 2 and select the next system item. Pressing the EXIT (CANCEL) button again exits from the system menu. In addition to the EXIT (CANCEL) button, the OFFSET, PHASE, MODE, and MODUL buttons also can be used to return to default display.
2-26
Operating Basics
Tutorials
This manual provides simple tutorials to learn the basic procedures for waveform output and basic settings on the AFG320. Four tutorials will be given; these are listed below: Tutorial 1 : Outputting Standard Waveforms Tutorial 2 : Setting up Sweep and Output Waveform Tutorial 3 : Creating a User Waveform and Output Waveform Tutorial 4 : Importing a Waveform from another instrument NOTE. These tutorials do not cover all of the functions and special features of the instrument. The purpose of the tutorials is only to give you practice in executing basic operations on the instrument. The AFG310 model (single channel instrument) does not support the CH2 connection, channel switching and BOTH input setting operations in the tutorials. Also note that the settings performed for CH2 in Tutorial 1 can be performed in the same manner for CH1. The tutorials show the procedures starting from the initial settings state immediately after power on. If these tutorials are attempted without reapplying power or initializing the instrument (with the INITIALIZE item on the SYSTEM menu), the LCD display may differ from that in the tutorials, and operations different from those in the descriptions may be required. In the sample operation procedure, the cursor must be on an item in the menu to be selected. When performing the sample operation, if the cursor is in the selection area or numeric area, press the EXIT (CANCEL) button to return to the item selection level, and then proceed from this menu level. NOTE. The initialization performed after power is first applied and that performed by an explicit initialization operation are slightly different. See Initialize in the Reference section on page 335 for details on the differences. Refer to Getting Started for instructions on how to power on this instrument. Refer to the beginning of this section if a detailed description of a function is needed. The following equipment is necessary to execute the tutorials: H H H Digital storage oscilloscope. (Tektronix TDS-Series or equivalent.) Two 50 W cables. (One cable is needed for tutorial 2 through 4.) Two 50 W terminators. (Not necessary if the oscilloscope has 50 W input.)
2-27
Operating Basics
H H
One GPIB cable. (Needed for tutorial 4.) Signal generator. (Needed for tutorial 1 and 4.)
This tutorial sets up a model AFG320 as described below, and outputs the waveforms. CH1 FUNCtion AMPLitude OFFSET FREQUENCY MODE SINE 2 Vp-p 0V 50 kHz CONTinuous CH2 FUNCtion AMPLitude OFFSET FREQUENCY DUTY MODE PULS 5 Vp-p 2.5 V 50 kHz 25 % BURST (INFinite)
1. Connect the instrument to an oscilloscope using two 50 W cables with 50 W terminations as shown in Figure 217. The instrument is calibrated for waveform output to a 50 W load.
DSO Oscilloscope
AFG320
CH1
CH1 CH2
Figure 2-17: Hookup for Observing Output Waveforms 2. Set up the oscilloscope as follows and display traces for CH1 and CH2 on the oscilloscope screen. Vertical CH1, CH2 Scale CH1, CH2 Input Impedance Sweep Trigger Mode CH1, CH2 2 V/div 50 W 5 ms/div Auto
3. Set CH1 to sine wave and CH2 to pulse wave output. In the initial setting state or power on default, CH1 and CH2 are both set up for sine wave output. Use the following substep to change the CH2 waveform.
2-28
Operating Basics
Second Level in the Menu Layers or button until PULS is displayed ENTER
If the cursor is on the SINE, there is no need to press the FUNC button.
The figure on the left below shows the power-on default display and the figure on the right below shows that pulse is just confirmed for the CH2 waveform.
CH 1
BOTH
CH 2
CH 1
BOTH
CH 2
4. Set the CH1 and CH2 frequencies to 50 kHz using BOTH input mode.
Control Button or Numeric Input Key Main Button FREQ SHIFT, CH 1 SHIFT, CH 3
1 2 3
In BOTH input mode, CH1 and CH2 indicators are on. The value can be increased or decreased by using the and buttons. Cancel the both input mode.
When Pressing the FREQ button, the cursor will be displayed at the frequency value as in the figure below.
CH 1
BOTH
CH 2
2-29
Operating Basics
Make sure that the CH2 indicator is on before pressing the AMPL button.
When Pressing the AMPL button, the cursor will be displayed at the amplitude value as in the figure below.
CH 1
BOTH
CH 2
6. Set CH1 offset voltage to 0 V and CH2 offset voltage to 2.5 V output. In the initial setting state or power on default, CH1 and CH2 offset voltages are both set up for 0 V output. Use the following substep to change the CH2 offset voltage.
Control Button or Numeric Input Key Main Button CH 1, OFFSET
1
When pressing the OFFSET button, the cursor will be displayed at the offset value as in the figure below.
CH 1
BOTH
CH 2
2-30
Operating Basics
The SHIFT indicator shows that the shift function, which is displayed in blue for the main buttons on the front panel, can be selected. Since this menu only consists of the pulse wave duty setting item, the cursor is displayed at the location of the duty value.
CH 1
BOTH
CH 2
Since this menu only consists of the burst count setting item, the cursor is displayed at the location of the count value.
CH 1
BOTH
CH 2
To set the burst count to a value other than infinity, enter the count value using the numeric keys or the and buttons and confirm that value with the ENTER button.
2-31
Operating Basics
9. Set CH1 operating mode to continuous and CH2 operating mode to burst. In the initial setting state or power-on default, CH1 and CH2 operating mode are both set up for continuous output. Use the following substep to change the CH2 operating mode.
Control Button or Numeric Input Key Main Button MODE First Level in the Menu Layers Second Level in the Menu Layers or button until BRST is displayed ENTER
When pressing the MODE button, the cursor will be displayed at the name of operating mode as in the figure below.
CH 1
BOTH
CH 2
10. Press CH1 and CH2 OUTPUT switches to turn on signal output. The LED for the corresponding channel will light.
OUTPUT
CH 1 CH 2
Figure 2-18: OUTPUT Switches and Indicators on the Front Panel A 2 Vp-p 50 kHz sine wave will be displayed on the oscilloscope as the CH1 waveform. Since CH2 is in the trigger wait state, a linear trace will be displayed. 11. When the MANUAL button is pressed a 50 kHz, 25% duty pulse wave with a low level of 0 V and a high level of 5 V will be displayed on the oscilloscope as the CH2 waveform.
2-32
Operating Basics
EXT TRIG IN
MANUAL
MANUAL Button
This tutorial sets up a model AFG320 as described below and outputs the waveforms. CH1 FUNCtion AMPLitude MODE SINE 2 Vp-p CONTinuous SWP START SWP STOP SWP TIME SWP SPACING 200 kHz 400 kHz 2 sec LINEAR
Time
Figure 2-20: Setup for Sweep Parameters There are four sweep parameters: SWP START, SWP STOP, SWP TIME, and SWP SPACING. Follow the steps below to complete Tutorial 2: 1. Connect the instrument to an oscilloscope using a 50 W cable with a 50 W termination as shown in Figure 221. The instrument is calibrated for waveform output to a 50 W load.
2-33
Operating Basics
AFG320
DSO Oscilloscope
CH1
50 W BNC Cable
CH1
Figure 2-21: Hookup for Observing Output Waveforms 2. Set up the oscilloscope as follows, and display traces for CH1 on the oscilloscope screen. Vertical CH1 Scale CH1 Input Impedance Sweep Trigger Mode CH1 1 V/div 50 W 5 ms/div Auto
Make sure that the CH1 indicator is on before pressing the AMPL button. If the cursor is already on the amplitude value, it is not necessary to press the AMPL button.
When Pressing the AMPL button, the cursor will be displayed at the amplitude value as in the figure below.
CH 1
BOTH
CH 2
2-34
Operating Basics
4. Set the CH1 sweep start frequency (SWP START) to 200 kHz.
Control Button or Numeric Input Key Main Button SHIFT, MODUL First Level in the Menu Layers < or > button to display SWP START ENTER Second Level in the Menu Layers 2, 0, 0, kHz/ms/mV EXIT
When Pressing the ENTER button to confirm the SWP START item, the cursor will be displayed at the frequency value as in the figure below.
CH 1
BOTH
CH 2
5. Set the CH1 sweep stop frequency (SWP STOP) to 400 kHz.
Control Button or Numeric Input Key Main Button First Level in the Menu Layers > button to display SWP STOP ENTER Second Level in the Menu Layers 4, 0, 0, kHz/ms/mV EXIT
When Pressing the ENTER button to confirm the SWP STOP item, the cursor will be displayed at the frequency value as in the figure below.
CH 1
BOTH
CH 2
2-35
Operating Basics
When Pressing the ENTER button to confirm the SWP TIME item, the cursor will be displayed at the frequency value as in the figure below.
CH 1
BOTH
CH 2
If LINEAR is displayed as the sweep spacing, there is no need to press the ENTER button. Proceed to step 8.
The figure below shows that the SWP SPACING item is just selected and LINEAR is displayed as the sweep spacing.
CH 1
BOTH
CH 2
In the initial state or power on default, LINEAR is set as the sweep spacing.
2-36
Operating Basics
The figure below shows that the MODUL button is just pressed, and the cursor is placed on the OFF.
CH 1
BOTH
CH 2
In the initial state or power on default, OFF is set as the current modulation. 9. Press CH1 OUTPUT switches to turn on the signal output. The LED for the corresponding channel will light. See Figure 218 for the switch location. A 2 Vp-p sine wave that is swept linearly over the sweep frequency range of 200 kHz to 400 kHz with a sweep time of two seconds will be displayed on the oscilloscope as the CH1 output.
2-37
Operating Basics
This tutorial creates the user waveform shown in Figure 222 while monitoring the CH1 output waveform. The created waveform is stored in the USER4 user waveform memory.
4094 2047 0 1 251 501 751 1000 Point Number
Figure 2-22: User Waveform to be Created This procedure uses the USER4 user waveform memory to save the waveform. It assumes that the lock is released and that the contents of that memory are no longer required. See Lock Wave in the Reference section on page 334 and Unlock Wave on page 334 for details on locking and unlocking user waveform memory locations. 1. Connect the instrument to an oscilloscope using a 50 W cable with a 50 W termination as shown in Figure 223. The instrument is calibrated for waveform output to a 50 W load.
Signal Generator
OUTPUT
AFG320
50 W BNC Cable
DSO Oscilloscope
CH1
50 W BNC Cable
CH1
Figure 2-23: Hookup for Observing Output Waveforms 2. Set up the oscilloscope as follows, and display traces for CH1 on the vertical center of the oscilloscope screen.
2-38
Operating Basics
Oscilloscope Vertical CH1 Scale CH1 Input Impedance Sweep Trigger Mode Signal Generator Output Frequency Output Waveform
CH1 0.2 V/div 50 W 1 ms/div Auto About 1 kHz TTL Level Pulse
3. Select EDIT as the waveform output from the CH1 connector. EDIT is the waveform name for the edit memory that will be used for creating and editing the user waveform. This selection allows the waveform being edited to be observed with an oscilloscope in real time.
Control Button or Numeric Input Key Main Button FUNC 1, 2
1 2
Make sure that the CH1 indicator is on before pressing FUNC button. If the cursor is placed in the FUNC column, there is no need to press FUNC button.
The figure below shows that the cursor is displayed at the name of the waveform (or in the FUNC column), and the waveform has not been changed to EDIT.
CH 1
BOTH
CH 2
When Pressing the MODE button, the cursor will be displayed at the name of the operating mode CONT as in figure below.
2-39
Operating Basics
CH 1
BOTH
CH 2
5. Press CH1 OUTPUT switch to turn on signal output. The LED for the corresponding channel will light. The procedure has set up an oscilloscope display with five vertical divisions and 10 horizontal divisions of the 12 bit by 1000 point edit memory waveform. However, since at this point edit memory has been initialized to the zero level (decimal code value: 2047) by the power-on default, a linear trace will be displayed on the oscilloscope. 6. Enter the edit menu.
Control Button or Numeric Input Key Main Button SHIFT, OFFSET First Level in the Menu Layers Second Level in the Menu Layers
When entering the EDIT menu, one of the edit function items is displayed. In the power-on default, the cursor will be displayed at the location of the first edit function item, NUM OF POINTS as shown in figure below.
CH 1
BOTH
CH 2
Since there are ten items of edit function in the edit menu, the < and > buttons must be used to switch the item display. 7. Write one period of a 250-point sine wave to edit memory.
Control Button or Numeric Input Key Main Button First Level in the Menu Layers < or > button to display NUM OF POINTS, ENTER Second Level in the Menu Layers 2, 5, 0, ENTER EXIT
2-40
Operating Basics
When pressing the ENTER button to confirm the NUM OF POINTS item selection, the cursor will move to the location of the point value.
CH 1
BOTH
CH 2
Control Button or Numeric Input Key Main Button First Level in the Menu Layers > button to display NEW, ENTER Second Level in the Menu Layers or button to display SINE, ENTER EXIT
When pressing the ENTER button to confirm the NEW item selection, the cursor will move to the location of the function name. SINE is displayed as the power on default.
CH 1
BOTH
CH 2
8. Convert the 250-point sine wave in edit memory to a four-period, 1000 point waveform.
Control Button or Numeric Input Key Main Button First Level in the Menu Layers > button to display APPEND, ENTER Second Level in the Menu Layers or button to display EDIT MEMORY, ENTER 1 ENTER 2 EXIT
1 2
Increasing one period, 250 points sine wave to two period ,500 points sine wave in the edit memory. Increasing two period, 500 points sine wave to four period, 1000 points sine wave in the edit memory.
When pressing the ENTER button to confirm the APPEND item selection, the cursor will move to the location of the source memory name. USER1 is displayed as the power-on default.
2-41
Operating Basics
CH 1
BOTH
CH 2
9. Convert the latter two periods of the sine wave in the edit memory to be two periods of a sawtooth waveform. See Figure 222.
Control Button or Numeric Input Key Main Button First Level in the Menu Layers > button to display LINE, ENTER Second Level in the Menu Layers 5, 0, 1, ENTER (enter data point value) 2, 0, 4, 7, ENTER (enter data value at 501 data point) 7, 5, 0, ENTER (enter data point value) 4, 0, 9, 4, ENTER 1 (enter data value at 750 data point) 7, 5, 1, ENTER (enter data point value) 2, 0, 4, 7, ENTER (enter data value at 751 data point) 1, 0, 0, 0, ENTER (enter data point value) 4, 0, 9, 4, ENTER (enter data value at 1000 data point) EXIT
1
Linear interpolation between points is executed when the data values for the second and following points are confirmed with the ENTER button.
NOTE. Line Edit is for Auto lines editing and Data Edit is for point by point editing. Refer to EDIT Button of Reference page 322. When pressing the ENTER button to confirm the LINE item selection, the cursor will move to the location of the point number. The number one is displayed as the power-on default.
2-42
Operating Basics
CH 1
BOTH
CH 2
Two values are displayed, separated by a comma. The value at the left indicates the waveform point number, and the value at the right indicates the vertical value for that point number. Point numbers start from the number one. The vertical axis values range from 0 to 4094 in decimal code. The value 2047 corresponds to the zero level. When pressing the ENTER button to confirm the point number, the cursor will move to the location of the vertical value for that point number.
CH 1
BOTH
CH 2
If the data value is already the desired value, there is no need to change that value. The ENTER button may be pressed instead. This completes the creation of the desired user waveform. NOTE. If the power is turned off at this point, the edit memory waveform will be lost. To allow this waveform to be used the next time the power is turned on, the edit waveform must be saved to a user waveform memory. 10. Save the waveform in the edit memory to the USER4 waveform memory.
Control Button or Numeric Input Key Main Button First Level in the Menu Layers > button to display SAVE TO, ENTER
1
Second Level in the Menu Layers or button to display USER4, ENTER 1 EXIT
Pressing the ENTER button writes the edit wave to the user waveform memory selected.
When pressing the ENTER button to confirm the SAVE TO item, the cursor will move to the location of the user waveform memory name for the destination. USER4 is displayed as the power-on default.
2-43
Operating Basics
CH 1
BOTH
CH 2
The message ***SAVING*** is displayed in the first line of the LCD while waveform data is being stored in a user waveform memory (nonvolatile memory). NOTE. Do not turn off the power while ***SAVING*** is displayed,since waveform data stored in internal nonvolatile memory may be lost. 11. Confirm the waveform saved in USER4.
Control Button or Numeric Input Key Main Button FUNC First Level in the Menu Layers Second Level in the Menu Layers or button to display USR4, ENTER
NOTE. Output Frequency vs. Display Frequency at ARB (EDIT and USER) waveform: Output Frequency and Display Frequency depend on the AFG internal clock and waveform data points. According to Display Frequency value, the internal clock is generated after calculating internally and set. Therefore USER can not set and change the internal clock value directly. Table 23, 24, 25 and Figure 222 to 229 are example of Output Frequency vs. Display Frequency at ARB (EDIT and USER) waveform. Table 2-3: Case 1: Fixed points (one period signal) Ouput Frequency = Display Frequency
minimum Display Frequency Output Frequency Internal Clock 0.01 Hz 0.01 Hz 0.16 Hz 0.01 Hz = 0.16 Hz/16 A example 32 kHz 32 kHz 512 kHz 32 kHz = 512 kHz/16 " maximum 1.0 MHz 1.0 MHz 16 MHz 1.0 MHz = 16 MHz/16
Limitation: Maximum internal clock is 16 MHz. Minimum data points are 10.
2-44
Operating Basics
1 cycle = 32 kHz
16
Figure 2-24: Fixed points (one period signal) User Waveform when Output Frequncy = Display Frequency = 32 kHz.
1 cycle = 16 kHz
16
Figure 2-25: Fixed points (one period signal) User Waveform when Output Frequncy = Display Frequency = 16 kHz.
1 cycle = 8 kHz
16
Figure 2-26: Fixed points (one period signal) User Waveform when Output Frequncy = Display Frequency = 8 kHz.
2-45
Operating Basics
Table 2-4: Case 2: Variable points (one period signal) Ouput Frequency = Display Frequency = Internal clock / Data points = 16 kHz
Number of points Display / Output Frequency Internal Clock Number of points Display / Output Frequency Internal Clock 10 16 kHz 160 kHz 10 8 kHz 80 kHz 16 16 kHz 256 kHz 16 8 kHz 160 kHz 32 16 kHz 512 kHz 32 8 kHz 256 kHz 64 16 kHz 1024 kHz 64 8 kHz 512 kHz
1 cycle = 16 kHz
16
Figure 2-27: Variable points (one period signal) User Waveform when Output Frequncy = Display Frequency = 16 kHz , 256 kHz Internal clock
1 cycle = 16 kHz
32
Figure 2-28: Variable points (one period signal) User Waveform when Output Frequncy = Display Frequency = 16 kHz , 512 kHz Internal clock
2-46
Operating Basics
Table 2-5: Case 3: Fixed points (including M period signal) Ouput Frequency = Display Frequency = Internal clock / Data points M period Example: Fixed point 16 (two period signal)
minimum Display Frequency Output Frequency Internal Clock 0.01 Hz 0.02 Hz 0.16 Hz 0.02 Hz = 2 0.16 Hz/16 A example 32 kHz 64 kHz 512 kHz 64 kHz = 2 512 kHz/16 " maximum 1.0 MHz 2.0 MHz 16 MHz 1.0 MHz = 2 16 MHz/16
1 cycle = 32 kHz
16
Figure 2-29: Fixed point (one period signal) User Waveform when Output Frequncy = Display Frequency = 32 kHz.
2 cycle = 32 kHz 1 cycle = 64 kHz
16
Figure 2-30: Fixed point User Waveform when (two period signal) Display Frequency = 32 kHz, (one period signal) Output Frequncy = 64 kHz.
2-47
Operating Basics
This instrument allows waveforms to be easily transferred from Tektronix TDS and 2400 series digital storage oscilloscopes (DSO) and AFG/AWG series waveform generators without the use of an external controller over a GPIB cable.
Tutorial 4 transfers a waveform acquired in the CH1 memory of a Tektronix TDS Series oscilloscope to this instruments edit memory. The edit memory is automatically selected as the transfer destination. This procedure assumes that edit memory, which is the waveform transfer destination, does not hold a waveform required by the user. Waveform import requires that the GPIB CONFIG is set for DSOLINK. See GPIB Config in the Reference section of this manual on page 332 for details on GPIB CONFIG. 1. Connect the AFG320 instrument to an oscilloscope using a GPIB cable. Connect the signal generator to the oscilloscope using a 50 W BNC cable with a 50 W termination as shown in Figure 231.
TDS Series DSO Oscilloscope AFG320 GPIB Cable
Signal Generator
CH1
OUTPUT
50 W BNC Cable
Figure 2-31: Hookup for Importing Waveform To maximize the resolution of the resulting waveform, adjust the vertical settings of the source instrument so that the waveform covers the entire screen and is centered around the horizontal midpoint. 2. Enter the SYSTEM menu and set GPIB configuration for DSOLINK.
2-48
Operating Basics
First Level in the Menu Layers < or > button to display GPIB CONFIG, ENTER 1
If the DSOLINK is displayed as the selection in the GPIB CONFIG item, there is no need to press ENTER button. Press EXIT button instead.
First Level in the Menu Layers < or > button to display IMPORT FROM, ENTER
Pressing the ENTER button executes the waveform import from the transfer source to the edit memory.
When pressing the ENTER button to confirm the IMPORT FROM item, the cursor will be displayed at the name of transfer source instrument as in the figure below.
CH 1
BOTH
CH 2
Even if the TDS has been selected, pressing the ENTER button executes the import function. A blinking block cursor is displayed on the IMPORT FROM item selection during import execution. When the import completes, the block cursor switches to become an underscore cursor. If the import failed, the message IMPORT ERROR CHECK CONNECTION will be displayed. Press the EXIT (CANCEL) button to exit from the error display. NOTE. An error will occur if a system controller is connected to the bus. The waveform import function transfers the waveform shape, which may be larger than the viewing area, as it is stored in the memory of the DSO. Cyclic waveform frequency, amplitude, and offset information are not conserved.
2-49
Operating Basics
Therefore, these waveform parameters need to be adjusted manually. Note that the frequency setting defines the repetition rate for the waveform in memory, and not the cycle frequency. This completes the import of the TDS CH1 waveform data to the edit memory. If the power is turned off at this point, the edit memory waveform will be lost. To allow this waveform to be used the next time the power is turned on, the edit waveform must be saved to a user waveform memory. See step 10 on page 243. See Tutorial 1 beginning on page 228 for the procedure to output the edit memory waveform. The waveform can be observed by selecting EDIT at the FUNC item in the tutorial procedure. However, do not turn off the power in the Tutorial 1 procedure. Power off causes initialization of the edit memory. NOTE. If the imported waveform data is not full scale on the edit memory vertical axis, the value of the output waveform amplitude will differ from that displayed on the LCD.
2-50
Reference
This section discusses the five types of menu classifications used in the menu structure, how to use the menu buttons, and their functions.
Menu Structure
Menus are classified into the five types listed below. Each type records the main menu tree for that type. H H Setting Menu Menus Other than Setting Menu H H H H Parameter Menu Editing Menu
Setting Menu
In the default display state, the setting menu is opened and the values of all items are displayed. Menu layers are generally divided into two levels, and are displayed in the order menu item, and selection or value. Moving between menus is generally performed as follows. H H H Menu items are selected by pressing the menu item buttons on the upper right of the front panel. Selection display is switched in order from top to bottom by pressing the button and in the reverse order by pressing the button. Numeric values can be changed with the and buttons. Alternatively, the value can be entered with the numeric keys and confirmed by pressing a unit key or the ENTER button.
Setting Menu Structure. The setting menu is used to set the basic parameters for waveform output. This menu sets the values of the frequency, amplitude, offset, and phase parameters and selects the waveform type, the operating mode, and the modulation function for waveform output. Refer to Figure 31.
3-1
Reference
CH Button CH
Menu Items
BOTH Button
FUNC
<Numeric>
PULS DC NOIS
<Numeric>
<Numeric>
USR4 EDIT
MODUL
SWP FM FSK AM
Figure 3-1: Setting Menu Structure Prior to using the setting menu, for models that support two channels, the channel indicators should be checked and the desired channel selected as required. The CH and BOTH buttons are only valid on instruments with two channels. Selections displayed in bold type in the figure are selected at power on by initialization and by the secure function.
Menu layers are generally divided into three levels and are displayed in the following order: main menu, menu item, and selection or value. Items to the left are higher level items. Some menus do not have channel switching or menu item selections. Moving between menus is generally performed as follows. H Main menus are selected by pressing the menu buttons on the upper right of the front panel.
3-2
Reference
Menu item display is switched in order from top to bottom by pressing the > button and in the reverse order by pressing the < button. A selection is confirmed by pressing the ENTER button. Selection display is switched in order from top to bottom by pressing the button and in the reverse order by pressing the button. A selection is confirmed by pressing the ENTER button. Numeric values can be changed with the and buttons. Alternatively, the value can be entered with the numeric keys and confirmed by pressing a unit key or the ENTER button. The EXIT (CANCEL) button is used to return to higher levels from lower levels. The instrument will return to the default LCD display if this button is pushed several times. The instrument can be set to the selection state for the setting menu items by pressing the corresponding button, even in states where the instrument has not returned to the default display. The OFFSET, PHASE, MODE, and MODUL buttons return the instrument to the default LCD display.
Parameter Menu. The parameter menu includes the FUNC PARAMETER, MODE PARAMETER, and MODUL PARAMETER items and is used to set the duty for pulse waveforms, the burst count, and the parameter values for the modulation. Prior to using the parameter menu, for models that support two channels, the channel indicators should be checked and the desired channel selected as required.
3-3
Reference
CH Button CH
Main Menus
Menu Items (Select using < or > buttons) PULSE DUTY BURST COUNT
<Numeric>
<Numeric>
<Numeric> <Numeric> <Numeric> LINEAR LOG SINE SQUARE <Numeric> <Numeric> TRIANGLE RAMP USER1 USER2 USER3 USER4 EDIT MEMORY
<Numeric> <Numeric>
Figure 3-2: Parameter Menu Structure The CH button is only valid on instruments with two channels. Selections displayed in bold type in the figure are selected at power on, by initialization, and by the secure function.
3-4
Reference
Edit Menu. The edit menu is used to create and edit user waveforms and to import waveforms. The channel indicator display is completely unrelated to the functions of the edit menu.
Main Menus EDIT Menu Items (Select using < or > buttons) NUM OF POINTS Selection and Numeric Value (Select using or buttons) <Numeric> SINE NEW SQUARE TRIANGLE RAMP NOISE USER1 USER2 USER3 USER4 USER1 USER2 USER3 USER4 EDIT MEMORY USER1 USER2 USER3 USER4 EDIT MEMORY <Numeric>,<Numeric>, <Numeric>,<Numeric> <Numeric>,<Numeric> <Numeric>,<Numeric> (USER1) (USER2) (USER3) (USER4) TDS AWG AFG 2400
COPY FROM
APPEND
PREPEND
SAVE TO
IMPORT FROM
3-5
Reference
Selections displayed in bold type in the figure are selected at power on, and by the secure function. Selections shown in parentheses are not displayed when the user waveform memory is locked. NONE is displayed when all user waveform memories are locked.
The recall/save menu stores and recalls up to 20 waveform output settings in internal, nonvolatile memory.
Main Menus Selection and Numeric Value (Select using or buttons) 0 1 2 3 4 SAVE SETUP 0 1 2 3 4 5 6 7 8 9 5 6 7 8 9 10 15 11 16 12 17 13 14 18 19
RECALL SETUP
10 15 11 16 12 17 13 14 18 19
Figure 3-4: Recall and Save Menu Structure Selections displayed in bold type in the figure are selected at power on, and by the secure function.
System Menu
The system menu is used for the following settings: H H H H H H Setting GPIB address and GPIB configuration. On/Off setting for Step Recall Mode, and setting the last memory number can be read for Step Recall Mode On/Off setting for key click or beep sound Lock or Unlock waveform memories Copy CH1 parameter values to CH2 Execute Initialize or factory reset
3-6
Reference
H H
Figure 3-5: System Menu Structure Selections displayed in bold type in the figure are selected by the secure function.
3-7
Reference
Selections shown in parentheses are displayed in either LOCK WAVE or UNLOCK WAVE, depending on whether the user waveform memory is locked or unlocked. NONE is displayed when there are no lock or unlock selections.
SHIFT Button
The SHIFT button selects the shift functions that are displayed in blue for the main buttons on the front panel. When the SHIFT button is pressed the indicator lights and the instrument goes to the shift state. Selecting a shift function or pressing the SHIFT button once more clears the shift state and turns off the indicator. Pressing a button with no shift function in the shift state executes that buttons, function and clears the shift state.
The AFG320 supports setting each channel independently. The channel must be selected before setting a parameter. The channel whose indicator is on becomes the object of any setting operation. BOTH input mode is indicated by both indicators being on.
CH 1
BOTH
Channel Indicators
CH 2
3-8
Reference
CH Button. The CH button changes the target channel each time the value for a setting menu item or parameter menu item is input. The CH button switches the selected channel between CH1 and CH2 each time it is pressed. BOTH Button (SHIFT ! CH). The BOTH button sets up a mode that allows the value of the setting menu items (FREQ, AMPL, OFFSET and PHASE) to be set to the same value in both channels. This allows the same value to be input to both channels at the same time. To set up BOTH input mode, first select the desired setting menu item (FREQ, AMPL, OFFSET or PHASE) and then press the BOTH button. (Press the SHIFT button and then the CH button in that order.) The BOTH input state is recorded along with each setting menu item. For example, if only the AMPL item has the BOTH input state selected, both channel indicators will light when the AMPL button is pressed. When the button for an item that does not have BOTH input mode selected, the indicator for the currently selected channel will light. For these items, the CH button will operate normally to switch channels. When BOTH input state is entered, the value of the item for the displayed channel becomes the value for both channels. However, if this value exceeds the maximum value for the channel that is not displayed, both channels are set to that largest (limiting) value. For example, if the CH1 waveform is a sine wave and its frequency is 1 MHz, and the CH2 waveform is a triangular wave with a frequency of 10 kHz, pressing the BOTH button with CH1 item displayed and the FREQ item selected causes both the CH1 and CH2 frequencies to be set to 100 kHz. To clear the BOTH input state, select the item with the BOTH input state selected and press the BOTH button once again. (Press the SHIFT button and then the CH button in that order.)
FREQ Button
The FREQ button is used to set the output frequency. The value of the frequency is entered using the numeric keys or the control buttons. Frequencies have a resolution of 10 mHz or seven digits. The default frequency is 100 kHz. However, DC and noise waveforms do not have a frequency setting. The highest frequency allowed differs for different waveforms.
3-9
Reference
NOTE. The maximum frequency for a user and edit waveform are restricted according to the number of points that make up the waveform. A user and edit waveform with 10 points have a maximum frequency of 1.6 MHz. The frequency parameter for a user and edit waveform sets the repetition frequency for the waveform in memory. For example, if the AFG310 and AFG320 Arbitrary Function Generator memory contains a wave of two cycles and the frequency is set to 10 kHz, the resulting waveform will have a cycle frequency of 20 kHz (2 * 10 kHz). When a sine wave or square wave is output in triggered or burst mode, the maximum frequency is limited to 1 MHz. Table 3-1: Frequency Setting Range
FUNC Waveform SINE SQUA TRIA RAMP PULS USER1 USER4 EDIT Minimum Frequency 10 mHz 10 mHz 10 mHz 10 mHz 10 mHz 10 mHz 10 mHz Maximum Frequency 16 MHz 16 MHz 100 kHz 100 kHz 100 kHz 1.6 MHz 1.6 MHz
AMPL Button
The AMPL button is used to set the amplitude. The value of the amplitude is entered using the numeric keys or the control buttons. The amplitude can be set to a value in the range 50 mV to 10.00 Vp-p with a minimum step size of 5 mV. The value displayed is the value when the output is terminated with 50 W. The actual output amplitude will be about twice the displayed value if the output is open. The default amplitude setting is 1 Vp-p. There is no amplitude item for a DC waveform. If the waveform data does not use the full range of the DAC (the 12-bit digital to analog converter), the output amplitude of the user (or edit) waveform and the value displayed in the LCD will differ. The maximum output voltage (Vmax) that the instrument can produce is 5 V when terminated with 50 W. The valid range for the amplitude setting is restricted in a manner that varies with the offset voltage as expressed by the following equations.
V ampl x 2(|V max| |V offset|)
Vmax = 5 V
3-10
Reference
OFFSET Button
The OFFSET button is used to set the offset level. The value of the offset is entered using the numeric keys or the control buttons. The offset can be set to a value in the range 5 V with a minimum step size of 5 mV. The value displayed is the value when the output is terminated with 50 W. The actual output offset will be about twice the displayed value if the output is open. The default offset setting is 0 V. The user and edit waveform offset expresses a voltage with respect to the middle level (2047 as a decimal code) of the full range of the DAC (the 12-bit D/A converter). The valid range for the offset voltage setting is in the range 0.75 V when the amplitude setting is 500 mVp-p or smaller.
Vamp x 500 mVp p
The valid range for the offset voltage setting is restricted according to the following formula when the amplitude setting is 505 mVp-p or larger, for a Vmax value of 5 V.
Vamp y 505 mVp p
|V offset| x |V max|
V ampl 2
Vmax = 5 V
NOTE. When the amplitude setting is 505 mV or higher and the offset value (the absolute value) is 755 mV or higher, if the amplitude is modified to be under 500 mVp-p then the offset setting will be automatically changed to 750 or 750 mV.
PHASE Button
The PHASE button is used to set the phase. The value of the phase is entered using the numeric keys or the control buttons. The phase can be set to a value in the range 360_ with a minimum step size of 1_. The default phase setting is 0_. NOTE. The phase resolution may become larger (rougher) than 1_ depending on the number of points in the waveform when a triangular wave, ramp wave, pulse wave, user waveform, or edit waveform is selected. The phase will be fixed at 0_ when the following settings have been made: H Phase for sine wave and square wave in triggered or burst mode when the output frequency is higher than 100 kHz
3-11
Reference
Phase for a waveform other than sine and square wave in continuous mode
360_
0_ Fixed 0_ Fixed
360_ 360_
When the operating mode (set from the MODE menu) is triggered or burst mode, a voltage corresponding to the phase is generated before a trigger is applied. The waveform output starts from the phase at the point the trigger is applied. Figure 39 shows an example of triggered mode waveform output in which the phase is set to +45_. In continuous operating mode the phase setting has no discernible effect on the output waveform in single channel instruments. However, in two channel instruments, a phase difference between the channels will be apparent.
FUNC Button
The FUNC button selects a waveform (a standard waveform, defined by the user and stored in memory, or the waveform written to edit memory). The waveform selected will be the waveform that is output. The maximum frequency that can be output differs for different waveforms. When the waveform type is changed and the current frequency setting exceeds the maximum frequency for the newly selected type, the frequency setting will automatically be set to the maximum frequency for the new type. For example, if the instrument is set up to output a 1 MHz sine wave and the waveform type is changed to pulse the output frequency will automatically be changed to 100 kHz. There are seven standard waveforms: sine, square, triangle, ramp, pulse, DC, and noise.
SINE
SQUA
TRIA
RAMP
PULS
DC
NOIS
The triangle, ramp, pulse, DC, and noise waveforms are created using the arbitrary waveform generator circuitry in the AFG300. The noise waveform is a 1000 point record of random data that is output at 16Mb/s, and then passed
3-12
Reference
through a 5MHz filter. The output amplitude displayed for the noise waveform represents the maximum data value in the data table. Because of the effect of the 5MHz filter the actual amplitude output will be approximately 25% lower. The noise data can also be used as a source for USER waveforms using the NEW function in the EDIT menu, as described on page 324. DC has the only one parameter (offset). Noise has two parameters (amplitude and offset). Although the operating mode and modulation parameters may be displayed on the lower menu, they do not have any effect on the DC or Noise functions Difference between SQUARE and PULSE. The instrument supports square wave output up to 16 MHz. Although pulse waveforms can only be generated up to 100 kHz, the duty of the pulse waveform can be adjusted with the FUNC PARAMETER menu. USER Waveform and EDIT Waveform. User waveforms must first be created using the edit menu and then stored in user waveform memory, which has four locations: USER1, USER2, USER3, and USER4. Also, the waveform being edited using the edit menu can be output by selecting EDIT MEMORY. When shipped from the factory, the four user memories USER1, USER2, USER3, and USER4 are preloaded with sampled waveforms: a sampling function, a double exponential pulse waveform, a damped sine wave, and an M-series, pseudo-random pulse waveform. Refer to the Operating Basics section, Editing, Saving, and Importing Waveforms on page 219 for details on these waveforms.
(SHIFT ! FUNC) The FUNC PARAMETER button sets the duty for pulse waveforms. When pulse has been selected with the FUNC item in the setting menu, the instrument will output a pulse waveform with the duty set in this menu. The default duty setting is 50%. Although the pulse duty parameter is displayed on the lower menu anytime the FUNC PARAMETER button is activated, the pulse duty only effects pulse functions. The value of the duty expresses the pulse width in relation to the period of the pulse waveform as a percentage. The duty can be set in the range 1 to 99% of the period in 1% steps.
3-13
Reference
Td
MODE Button
The MODE button selects the operating mode to be one of three modes: CONT, TRIG, or BRST. CONT (Continuous Mode) is the default setting. Continuous Mode (CONT). When CONT is selected, the instrument immediately enters continuous mode and outputs the selected waveform continuously. Triggered Mode (TRIG). In triggered mode, exactly one period of the selected waveform is output each time a trigger event occurs. When triggered mode is set up, the instrument waits for a trigger event to occur. In the trigger wait state, the instrument generates the voltage for the data corresponding to the first point of the waveform based on the values of the amplitude, offset and phase settings.
Figure 3-9: Timing Chart in the Triggered Mode Trigger events can be generated by an external TTL level signal applied to the EXT TRIG IN connector, by a GPIB trigger command, or by pressing the MANUAL button on the front panel. The instrument ignores trigger events due to the MANUAL button being pressed, external trigger signals, or trigger commands during waveform output. The trigger event occurs on the rising edge of the external trigger signal. This instrument does not support selection of the trigger level or polarity.
3-14
Reference
Burst Mode (BRST). When a trigger event occurs in burst mode, the waveform is output for the number of cycles specified by the MODE-PARAMETER menu BURST COUNT item. Figure 310 below shows an example of waveform output when the burst count is set to the number three. Trigger events that occur during burst output are ignored. Note that the burst count can be set to either a value between 1 and 60,000 or infinity (using the INF button). When burst mode is set up, the instrument waits for a trigger event to occur. The voltage generated in the trigger wait state, trigger event occurrence, the fact that trigger events are ignored during waveform output, and the characteristics related to external trigger events are identical to those in triggered mode.
Figure 3-10: Timing Chart in the Burst Mode NOTE. When a sine or square wave is output in burst mode, the output will stop 100 seconds after the output starts, even if the specified burst count has not been reached.
Effective and Ineffective Trigger Input for the Dual Channel Instrument. When the operating mode for the channels has been set to either triggered mode or burst mode with a finite number of burst count, the next waveform output is started by the trigger signal after waveform output has ended on both channels. See the figure on the left below; the trigger goes on at the odd numbers. When the operating mode for only one of the channels has been set to CONT mode or burst mode with an infinite number of burst count, the next waveform output for the other channel will be started by the trigger signal after the previous waveform output has finished. Channel output in CONT mode or burst mode with an infinite number of burst count will not be affected by the trigger once waveform output has begun. See the figure on the right below.
3-15
Reference
3 Trigger Signal CH1 Signal in burst mode with infinity counts CH2 Signal in triggered mode
(SHIFT ! MODE) The burst count is set in the MODE-PARAMETER menu. The burst count is a setting that specifies for how many cycles the waveform is output each time a trigger event occurs. When BRST is selected with the setting menu MODE item, the waveform will be output for the number of cycles set with this menu. The default setting is 10 cycles. The burst count can be set to either a value between 1 and 60,000 or INF (infinity). INF is selected by pressing the SHIFT button and the +/ key in that order.
MODUL Button
The MODUL button selects the modulation function to be OFF or the type of modulation to be one of four modulations: SWP, FM, FSK, or AM. OFF is the default setting. The modulation parameter can be set in advance using the modulation parameter menu (MODUL-PARAMETER menu) so that the desired modulation is acquired. SWP (Sweep). The sweep function outputs a waveform with the output signal frequency varying linearly or logarithmically. The modulation parameter menu includes items for setting the sweep start frequency, sweep stop frequency, sweep time and the sweep shape. When a sweep function is selected, the frequency set by the setting menu FREQ item is ignored, and the frequency is swept from the sweep start to the sweep stop frequencies. Depending on which of the start and stop frequencies is larger, the frequency can be swept from low frequencies to high frequencies or in the reverse direction.
3-16
Reference
In triggered mode, the instrument performs a sweep each time a trigger is applied. In burst mode, the instrument performs the number of sweeps specified by the burst count each time a trigger is applied. FM (FM Modulation). Frequency modulation is a modulation technique in which the carrier frequency is modified by the amplitude of the modulating wave. The modulation parameter menu includes items for setting the modulating wave type, the modulating wave frequency, and the frequency deviation. The setting menu FUNC, FREQ, and AMPL items set the carrier wave waveform, center frequency, and amplitude. In triggered mode, modulated output for one period of the modulating wave is output each time a trigger is applied. In burst mode, the number of periods specified in the burst count of the modulating wave is output each time a trigger is applied. FSK (FSK Modulation). Frequency shift keying modulation is a modulation technique that shifts the output signal frequency between two frequencies: the carrier frequency and the FSK frequency. The modulation parameter menu includes items for setting the FSK frequency and the FSK rate. The setting menu FUNC, FREQ, and AMPL items set the carrier wave waveform, center frequency and amplitude. In triggered mode, modulated output for one period of the frequency deviation is output each time a trigger is applied. In burst mode, the number of periods specified in the burst count of the frequency deviation is output each time a trigger is applied. AM (AM Modulation). Amplitude modulation is a modulation technique in which the amplitude of the carrier frequency is modified by the amplitude of the modulating wave. The modulating wave is input from the AM IN connector on the rear panel. A 100% modulated signal is acquired when a 2 Vp-p (tolerance: 0.2 V) modulating signal is provided. When there is no modulating input, the carrier frequency amplitude will be one half the value set with the setting menu AMPL item. The setting menu FUNC, FREQ, and AMPL items set the carrier wave waveform, center frequency and amplitude.
3-17
Reference
External Modulating Wave +1 V Depth: 0 % Carrier Amplitude 0 V 0V -1 V +1 V Depth: 0 % Carrier Amplitude 1 Vpp 0V -1 V +1 V Depth: 33.3 % Carrier Amplitude 1 Vpp 0V -1 V +1 V Depth: 100 % Carrier Amplitude 2 Vpp 0V -1 V
Modulated Output
Figure 3-12: Relationship between External Modulating Wave and AM Modulated Output
(SHIFT ! MODUL) The PARAMETER-MODUL button selects the following modulation parameters: sweep parameters, FM modulation parameters, and the FSK modulation parameters. The sweep parameters consist of the sweep start frequency, the stop frequency, the sweep time, and the sweep shape. When SWP has been selected with the setting menu MODUL item, the instrument outputs a sweep waveform defined by the parameters set in this MODUL-PARAMETER menu. The FM modulation parameters consist of the modulating wave type, the modulating wave frequency, and the frequency deviation. When FM has been selected with the setting menu MODUL item, the instrument outputs a FM modulated waveform defined by the parameters set in this menu. The FSK modulation parameters consist of the hop frequency and the FSK rate. When FSK has been selected with the setting menu MODUL item, the instrument outputs a FSK modulated waveform defined by the parameters set in this menu.
3-18
Reference
NOTE. If the parameter values are modified in a state where either a modulation function or sweep from the MODUL menu has been turned on, the modification will take a noticeable amount of time. We recommend modifying parameter values with the MODUL item setting temporarily turned off.
SWP START (Sweep Start Frequency). The SWP START item sets the frequency at the sweep start. The default frequency setting is 1 kHz. When sweep is taking place, the frequency sweeps from the SWP START frequency to the SWP STOP frequency and then returns to the SWP START frequency. Refer to Figure 313.
Stop Frequency
Figure 3-13: Frequency Sweep in Case of START < STOP" The instrument sweeps from a low frequency to a high frequency when the SWP START frequency is set to be lower than the SWP STOP frequency (SWP START < SWP STOP). The instrument sweeps from a high frequency to a low frequency when the SWP START frequency is set to be higher than the SWP STOP frequency. Frequencies have a resolution of 10 mHz or five digits. The highest frequency allowed differs for different waveforms. Refer to Table 31 on page 310. SWP STOP (Sweep Stop Frequency). The SWP STOP item sets the frequency at the sweep stop. The default frequency setting is 100 kHz. See the description of the start frequency for details on the sweep stop frequency range and characteristics. SWP TIME (Sweep Time). This item sets the time taken by the sweep from the start frequency to the stop frequency. Refer to Figure 313 . The sweep time can be set to a value in the range 1 ms to 100 s with a resolution of four digits or 1 ms. The default sweep time setting is 1.000 s.
3-19
Reference
SWP SPACING (Sweep Spacing). The sweep frequency variation can be selected to be either LINEAR or LOG. The sweep output frequency changes in a stepwise manner. When LINEAR is selected, the change in the frequency for a single step is a fixed value. When LOG is selected, the frequency changes logarithmically with each step.
Linear Sweep Logarithmical Sweep
Stop Frequency
Figure 3-14: Spacing Type FM FUNC (FM Modulating Waveform. )The FM FUNC item selects a modulating waveform: a standard waveform, a waveform defined by the user and stored in memory, or the waveform written to edit memory. SINE is the default setting. There are four standard waveforms: sine, square, triangle, and ramp.
SINE
SQUARE
TRIANGLE
RAMP
User waveforms must first be created using the edit menu and then stored in user waveform memory, which has four locations: USER1, USER2, USER3, and USER4. Also, the waveform being edited using the edit menu can be a modulating waveform by selecting EDIT MEMORY. FM FREQ (FM Modulating Waveform Frequency). The FM FREQ item sets the frequency of the modulating waveform. The default frequency setting is 1 kHz. The frequency can be set to a value in the range 10 mHz to 10 kHz with a frequency resolution of 4 digits or 10 mHz. FM DEVIA (Frequency Deviation for the FM Modulation). The frequency deviation expresses the amount of deviation from the carrier frequency. The default frequency is 10 kHz.
3-20
Reference
The valid range for the frequency setting depends on the waveform selected as the carrier as listed in Table 33. Frequencies have a resolution of 10 mHz or seven digits. Table 3-3: Setting Range for the Frequency Deviation
FUNC Waveform SINE SQUA TRIA RAMP USER1 USER4 EDIT Minimum Frequency 10 mHz 10 mHz 10 mHz 10 mHz 10 mHz 10 mHz Maximum Frequency 8 MHz 8 MHz 50 kHz 50 kHz 800 kHz 800 kHz
NOTE. The maximum frequency for user and edit waveforms are restricted according to the number of points that make up the waveform. User and edit waveforms with 10 points have a maximum frequency of 800 kHz. The valid range for the deviation frequency setting is restricted in a manner that depends on the frequency of the carrier. If the deviation frequency is changed in a manner that does not fulfill the following conditions, the set value will automatically be changed to the limiting value: H The sum of the deviation frequency (fdevia) and the carrier frequency (fcarri) must be lower than the maximum frequency (fmax-carri) that the carrier can be set to.
fdevia + fcarri fmax-carri
The deviation frequency (fdevia) must be lower than the carrier frequency (fcarri).
fdevia fcarri
FSK RATE (Frequency Shift Rate). The shift rate is expressed as the reciprocal of the time with which the frequency switches between the carrier frequency and the FSK frequency. The default shift rate (frequency) is 1 kHz. The shift rate can be set to a value in the range 10 mHz to 50 kHz with a resolution of four digits or 10 mHz. The shift rate, however, cannot be set to a value exceeding carrier frequency.
3-21
Reference
FSK FREQ (Hop Frequency). The FSK FREQ item sets the hop frequency. The default frequency setting is 10 kHz. The frequency can be set to a value in the range 10 mHz to 16 MHz. However, The highest frequency allowed differs for different waveforms. (Refer to Table 31 on page 310.) Frequencies have a resolution of 10 mHz or seven digits. In FSK modulation, the output signal frequency switches between two frequencies: the carrier frequency and the FSK frequency. See Figure 315.
FSK Output
Shift Waveform
Time T FSKrate = 1 T
EDIT Button
(SHIFT ! OFFSET) To output a user waveform using this instrument, a waveform must first be created in edit memory and then stored in user waveform memory. Although a waveform in edit memory can be output, edit memory is erased when the power is turned off. There are three techniques for creating a waveform in edit memory: creating a waveform using edit menu, transferring a waveform from a controller using GPIB commands, and importing a waveform from a DSO (digital storage oscilloscope). To select the edit menu, press the EDIT button. (Press the SHIFT button and then the OFFSET button in that order.) The edit menu supports eight edit functions in addition to functions for waveform import and storage. The edit menu items are described below.
3-22
Reference
NUM OF POINTS (Number of Points). This menu item sets the number of points of waveform to be created or the length of edit memory. The power on default point setting is 1000. The points can be set to a value in the range 10 to 16,384. If a waveform is already written to edit memory and this item is set to a value smaller than the number of points in that waveform, then the data for the points starting at that value plus one will be lost. For example, if this item is set to 500 in the state where a waveform with 1000 points has been written to edit memory, the waveform data for points 1 to 500 will remain without change but the data from point 501 will be lost. Refer to Figure 316. If a waveform is already written to edit memory and this item is set to a value greater than the number of points in that waveform, then the data from the point starting at that value plus one to the point set by newly input will be set to the zero level (decimal code value: 2047). For example, if this item is set to 1500 in the state where a waveform with 1000 points has been written to edit memory, the waveform data for points 1 to 1000 will remain without change and the data from point 1001 to point 1500 will be set to 2047 in decimal code value. Refer to Figure 316.
Sin Wave with 1000 points 4094 Set to 500 2047 0 4094 2047 0 After Changing Memory Length Lost Data 501 ~ 1000
1000
4094 2047 0
1000
1000
1500
3-23
Reference
NEW (Write a New Waveform). This menu item writes a standard waveform to edit memory. The written waveform has the number of points specified with the NUM OF POINTS item and starts at waveform point number one. One of five waveform types (sine, square, triangular, ramp and noise) can be selected as the standard waveform. If a waveform is already stored in edit memory, that waveform data will be lost, i.e. Since the new waveform overwrites the old data. COPY FROM (Copy a Waveform from User Waveform Memory). This menu item copies one of the USER1 to USER4 user waveforms to edit memory. When the copy is executed, the edit waveform is overwritten and the NUM OF POINTS setting is automatically modified to the user waveform length. APPEND (Append a Waveform at the End of the Edit Waveform). This menu item appends the contents of user memory (USER1, USER2, USER3, or USER4) or the current contents of edit memory (EDIT MEMORY) to the end of the waveform currently being edited. When the waveform append operation is executed, the NUM OF POINTS setting is automatically modified. If the waveform append operation would cause the waveform to exceed 16,384 points, the waveform append will not be executed. Refer to Figure 317.
Waveform in the Edit Memory 4094 2047 0 4094 2047 0 Waveform in the USER3 Memory
1000
1000
Waveform in the Edit Memory after Append Operation USER3 waveform is 4094 appended at the end of the waveform being edited. 2047 0
1000
2000
3-24
Reference
PREPEND (Append a Waveform at the Front of the Edit Waveform). This menu item appends the contents of user memory (USER1, USER2, USER3, or USER4) or the current contents of edit memory (EDIT MEMORY) at the front of the waveform currently being edited. When the waveform append operation is executed, the NUM OF POINTS setting is automatically modified. If the waveform append operation would cause the waveform to exceed 16,384 points, the waveform append will not be executed. Refer to Figure 318.
Waveform in the Edit Memory 4094 2047 0 4094 2047 0 Waveform in the USER3 Memory
1000
1000
USER3 waveform is appended at the front of the waveform being edited. 4094 2047 0
1000
2000
Figure 3-18: Append a Waveform to the Front of the Edit Waveform LINE (Line Editing). This function edits by linearly interpolating from a specified point in the waveform currently being edited to another specified point. When a line edit function is selected and confirmed, two numbers are shown, and the cursor will be displayed on the number on the left.
3-25
Reference
The two numbers are delimited by a comma. The number on the left is the number of the point in the waveform and the number on the right is the data value for that point number. Refer to Figure 319.
Point Number Data Value
CH 1
BOTH
CH 2
Figure 3-19: LCD Display When LINE Item is Selected and Confirmed Data is entered as an integer in the range of 0 to 4094 in decimal code. The value 2047 corresponds to the 0 level. It is not possible to specify a number that exceeds the number of points in the current waveform. The line edit function requires two or more points to be modified. If you exit from the line edit function after changing the value of only one point, the line edit will not be executed. The linear interpolation between the points is executed when the second point and the following values are confirmed with the ENTER key. Refer to Figure 320.
Confirmed the second data to execute line interpolation. Just enter second data and not confirmed yet. 4094 2047 0 Just enter third data and not confirmed yet. Confirmed the third data to execute line interpolation.
x x
1 1000 1
x x x
1000 1
x x x
1000
3-26
Reference
DATA (Editing by Data Point). This function edits a specified point in the waveform currently being edited. When a data edit function is selected and confirmed, two numbers are shown and the cursor will be displayed on the number on the left. The two numbers are delimited by a comma. The number on the left is the number of the point in the waveform and the number on the right is the data value for that point number. Data is entered as an integer in the range 0 to 4094 in decimal code. The value 2047 corresponds to the 0 level. It is not possible to specify a number that exceeds the number of points in the current waveform. The data edit will be executed when data value of a point number is confirmed with the ENTER key. CUT (Cut Data Points on the Designated Range). This function deletes an area between specified points in the waveform. When the cut function is selected and confirmed, two numbers are shown, and the cursor will be displayed on the number on the left. The two numbers are delimited by a BOTH direction arrow: <>. The two numbers on the left and right are the first point and end point of an area to be deleted in the waveform. Refer to Figure 321.
Point Number
CH 1
BOTH
CH 2
Figure 3-21: LCD Display When CUT Item is Selected and Confirmed The number of points in the waveform is reduced by the data deletion. The delete operation will not be executed if there would not be at least ten points remaining.
3-27
Reference
The deletion includes the data for the specified point numbers. Refer to Figure 322.
Editing Waveform with 1000 Points data 4094 2047 0 4094 2047 0 After Deletion
1 Delete Area
1000
750
1000
Figure 3-22: Example of Cutting Data Between Specified Points NOTE. Data that has been deleted cannot be recovered.
SAVE TO (Save the Edit Waveform to the User Waveform Memory). The currently edited waveform is written to the edit memory. If the power is turned off at this point, the edit memory waveform will be lost. To allow this waveform to be used the next time the power is turned on, the edit memory waveform must be saved into the one of the user waveform memory. This instrument can store up to four user waveforms. This function allows you to select one of the four user waveform memories, USER1 through USER4, and store the contents of edit memory in that memory. The edit memory waveform cannot be stored in a locked user waveform memory. Unlock the memory with the UNLOCK WAVE item on the system menu to allow storing to that memory. The message ***SAVING*** is displayed in the first line of the LCD while waveform data is being stored in nonvolatile memory. NOTE. Do not turn off the power while ***SAVING*** is displayed. If the power is turned off while this message is displayed, waveform data stored in internal waveform may be lost.
IMPORT FROM (Import a Waveform from Other Instruments). This instrument supports the direct transfer to edit memory of waveforms acquired by a digital storage oscilloscope or created by another waveform generator through the GPIB interface without the use of a controller.
3-28
Reference
The length of the imported data must be between 10 points and 16,384 points. Only the first 16,384 points are valid in data longer than 16,384 points. Data exceeding 16,384 points will be discarded. An error occurs if there are fewer than 10 data points. The following instruments can be selected as the waveform data source: Tektronix DSO oscilloscopes (oscilloscopes compatible with models TDS500s and 2430), AFG series function generators (model AFG2020), and any instrument in the AWG series of arbitrary waveform generators. The data source will be the waveform in memory number 1 with the AFG2020 and the CH1 waveform for all other instruments. The system menu GPIB CONFIG item must be set to DSOLINK in advance to execute an import operation. Any GPIB address can be used for the transfer source, and there is no need to change the GPIB address on this instrument. When the import operation is executed, the instrument will automatically search for the connected instrument. If multiple instruments that are supported as transfer sources are connected, the instrument with the youngest GPIB address number will be selected. An error will occur if a system controller is connected in the same system.
SAVE Button
(SHIFT ! RECALL) When power is turned on, the instrument goes to the power on initial state and does not restore the settings that were in effect when the power was turned off. However, it is possible to save the settings just before turning the instrument off or to save the commonly used settings in the internal nonvolatile memory and use those settings again the next time the instrument is turned on. Up to 20 setting states, which include input values and items selected in the settings menu (such as waveform type, frequency, amplitude, and operating mode) and parameter menu (such as modulation settings and sweep settings), can be saved in the internal nonvolatile memory. In the two channel model, the settings for both channels are saved. The channel selection state and the BOTH setting cannot be saved. When shipped from the factory, all the setting memories (nonvolatile memory) numbers 0 to 19 hold the initial settings. When saving settings, any memory number from 0 to 19 can be used. When a save operation is executed, the previous contents are overwritten. The message ***SAVING*** is displayed in the first line of the LCD while setting data are being stored in nonvolatile memory.
3-29
Reference
NOTE. Do not turn off the power while ***SAVING*** is displayed. If the power is turned off while this message is displayed, setting data stored in internal waveform may be lost.
How to Save Settings for Matching the Step Recall. Setting the instrument to step recall mode allows the saved settings to be recalled in order by first pressing the RECALL button and then pressing the ENTER button repeatedly. In this mode, the instrument loops from number 0 to the number set with the LAST RECALL STEP item. Refer to RECALL Button on page 330 for details on the step recall mode. Remember the following points when saving settings: H H H Store the desired settings in recall order starting with memory number 0. A given memory will hold the initial settings, even if the settings are not explicitly stored. Initial Settings on page E2 for details. The last memory to be recalled in step recall is specified with the LAST RECALL STEP item in the system menu.
RECALL Button
This button recalls settings saved with the SAVE button or the initial settings saved as the default and sets up the instrument. There are two recall techniques: normal recall, in which a specified memory number is recalled, and step recall, in which the memory number is changed automatically in sequence. When shipped from the factory or SECURE (Executing Factory Reset), all the setting memories (nonvolatile memory) numbers 0 to 19 hold the initial settings. See Secure Settings (Factory Settings) on page E4 for details. The features of these modes are described below. Normal Recall Mode. In this mode, the user specifies the memory number to recall stored settings. Normally, three steps are required to recall settings: pressing the RECALL button, entering the desired memory number, and then pressing the ENTER button. Thereafter, settings can be recalled repeatedly by entering the desired memory number and pressing the ENTER button.
3-30
Reference
Step Recall Mode. Step recall mode is the mode in which the saved settings are recalled by pressing the ENTER button repeatedly after once pressing the RECALL button. In this mode, the instrument loops from number 0 to the number set with the LAST RECALL STEP item. To use step recall mode, turn on the STEP RECALL item in the SYSTEM menu. Also, set the last memory number to be recalled with the LAST RECALL STEP item in the SYSTEM menu. The first memory recalled is recalled in the same manner as in normal recall mode, by entering the number and confirming that number with the ENTER key. If the first memory recalled is smaller than the number specified in the LAST RECALL STEP setting, the memory number is increased at the same time the recall operation is executed. If the first memory recalled is equal to or larger than the number specified in the LAST RECALL STEP setting, the memory number is reset to zero at the same time the recall operation is executed. From here on, the instrument will recall a memory number and increment the memory number each time the ENTER button is pressed. Step recall mode allows the settings in a desired memory to be recalled by changing the number of the next memory to be recalled. The examples below show the recall order when the LAST RECALL STEP item is set to 5. H Begin with 3 ( the first memory recalled < LAST RECALL STEP) 3!4!5!0!1!2!3!4!5!0!1 H Begin with 9 (the first memory recalled y LAST RECALL STEP) 9!0!1!2!3!4!5!0!1!2!3
SYSTEM Button
(SHIFT ! PHASE) The system menu organizes system related items, including GPIB setup, the step recall mode on/off setting, the key click and beep sound on/off settings, the user waveform memory lock/unlock settings, firmware version display and diagnostic and calibration execution. To select the system menu, press the SYSTEM button, (press the SHIFT button and then the PHASE button in that order). The system menu item and numeric value or selection for that item will be displayed in the second line of the LCD.
3-31
Reference
Since the selections and values set with the system menu are stored in nonvolatile memory, these settings are not reinitialized by turning the power off and on again or by executing the initialization procedure. NOTE. When the secure function is executed, all the data stored in nonvolatile memory are initialized, restoring the instrument to the factory settings. The message shown below is displayed in the first line of the LCD while selections and values are being stored in nonvolatile memory. Also note that ***CALIBRATING*** is displayed during calibration and ***INITIALIZING*** during initialization.
CH 1
BOTH
CH 2
NOTE. Do not turn off the power while ***SAVING***,***CALIBRATING***, or ***INITIALIZING*** is displayed. If the power is turned off while one of these messages is being displayed, data stored in internal nonvolatile memory may be lost.
GPIB ADDRESS (Setting GPIB Address). This instrument can be controlled remotely by a computer over an IEEE STD 488-1987 compliant interface. Refer to Remote Interface on page 41 for details on the GPIB interface. The GPIB address can be set to values in the range of 0 to 30. Other instruments on the bus cannot use the address number allocated to this instrument. H H GPIB CONFIG (Setting GPIB Configuration). This instrument supports three GPIB configuration settings: Talk/Listen, Linked to DSO, and Off Bus. T / L (Talk / Listen). This instrument must be set to the talk/listen state to communicate with the controller over the GPIB interface. When the T/L item is selected, the operating mode for communication between this instrument and other devices is set to talk/listen. DSOLINK (Linked to DSO). To directly import waveforms without using the controller, the DSOLINK item from this menu must be selected. Furthermore, the waveform data source instrument (TDS, AFG, or AWG) must be selected using the IMPORT FROM item in the EDIT menu.
3-32
Reference
OFF BUS (Off Bus). Selecting the OFF item disconnects this instrument from the bus. STEP RECALL (Setting On / Off State for the Step Recall Mode). This item sets the step recall mode to on/off state. This instrument can save up to 20 setup states in nonvolatile memory. Normally, three steps are required to recall these settings: pressing the RECALL button, entering the memory number, and then pressing the ENTER button. However, setting the instrument to step recall mode allows these settings to be recalled in order by first pressing the RECALL button and then pressing the ENTER button repeatedly. In this mode, the instrument loops from number 0 to the number set with the LAST RECALL STEP item. LAST RECALL STEP (Specify the Last Setting Memory Number for the Step Recall). This item specifies the last setting memory number to be recalled when using step recall mode for recalling settings. This item can be set to a value between 1 and 19, inclusive. This means that the minimum number of steps in step recall is two steps. When the settings from the memory number specified as the last recall step have been recalled, the settings from memory number 0 will be recalled the next time the ENTER button is pressed. KEY CLICK and BEEP (On/Off Setting for Key Click and Beep Sound). These items determine whether or not click or beep sounds are emitted when a front panel key/button is pressed. Table 34 lists the sounds emitted in response to valid and invalid key/button presses, according to the combination of the click on/off and beep on/off settings. Table 3-4: Combination of Key Click and Beep
Setting KEY CLICK ON ON OFF OFF BEEP ON OFF ON OFF Valid Click Click Silence Silence Sound When Pressing Button Invalid Beep Click Beep Silence
3-33
Reference
For example, when the both the KEY CLICK and BEEP settings are on, the instrument will emit a click when a valid key/button is pressed and a beep when an invalid key/button is pressed. Valid key/button operations consist of selecting a key/button whose operation is possible, such as changing a selection, changing a value, selecting a menu item, or selecting another main menu from within the currently active menu layer. These operations result in the LCD display changing, the cursor moving, or a value changing. Invalid key/button operations consist of selecting a key/button whose operation is impossible within the currently active menu layer. These operations do not result in the LCD display changing, the cursor moving, or a value changing. LOCK WAVE (Lock User Waveform Memory). The LOCK WAVE item locks the specified user waveform memory. Waveforms can no longer be written to the user waveform memory once it is locked. Once the LOCK WAVE item selection has been confirmed, the user waveform memories displayed by the and buttons are memories that currently have no lock applied. After selecting a user waveform memory with the and buttons, pressing the ENTER key locks that memory. When a memory is locked, the name of that user waveform memory is removed from this selection set. The removed user waveform memory name is added to the selections for the UNLOCK WAVE item. UNLOCK WAVE (Unlock User Waveform Memory). The UNLOCK WAVE item unlocks the specified user waveform memory. Waveforms can be written to the unlocked user waveform memory. Once the UNLOCK WAVE item selection has been confirmed, the user waveform memories displayed by the and buttons are memories that currently have lock applied. After selecting a user waveform memory with the and buttons, pressing the ENTER key unlocks that memory. When a memory is unlocked, the name of that user waveform memory is removed from this selection set. The removed user waveform memory name is added to the selections for the LOCK WAVE item. COPY CH1 ! 2 (Copy CH1 Parameter to CH2). This function copies all the parameter values for channel 1 into channel 2. This function is available for dual channel instruments. Here, all the parameter values refers to the values of the setting menu items (FUNC, FREQ, AMPL, OFFSET, PHASE, MODE, and MDUL) and the
3-34
Reference
parameter menu items (FUNC-PARAMETER, MODE-PARAMETER, and MODUL-PARAMETER). INITIALIZE (Executing Initialization. )This function initializes all the parameter values of the setting menu items and parameter menu items. The following items are not initialized by the initialization procedure. However, the power on initialization includes the first three items in the following list. Refer to Initial Settings on page E2 for details on the initial settings. H H H H The menu item selection states and the cursor position The edit menu data The edit menu item settings The data stored in nonvolatile memory (setting memory data, user waveform memory data, and system menu item settings)
To perform the initialization, after the INITIALIZE item selection is confirmed, press the ENTER button. To cancel initialization execution after the INITIALIZE item selection has been confirmed, press the front panel EXIT/CANCEL button to exit from the selection menu level. NOTE. The CANCEL button does not restore the previous settings after the initialization procedure has been executed. This initialization operation differs slightly from the power on initialization. The power on initialization initializes everything except the nonvolatile memory data.
SECURE (Executing Factory Reset). This function initializes all the instruments setting items, edit memory data, and settings and data stored in nonvolatile memory, thus restoring the instrument to the factory settings. However, the instruments internal calibration data is not changed. See Secure Settings on page E4 for details. To perform the secure, after the SECURE item selection is confirmed, press the ENTER button. To cancel secure execution after the SECURE item selection has been confirmed, press the front panel EXIT/CANCEL button to exit from the selection menu level.
3-35
Reference
NOTE. The CANCEL button does not restore the previous settings after the secure procedure has been executed.
VERSION (Display Firmware Version). Display the firmware version number by selecting VERSION item. This item is display only. It is not necessary to confirm this item for display. SELF TEST (Executing Self Test). This instrument includes a diagnostic system that performs comprehensive tests of the instruments functions. This system checks to see if the instrument is operating correctly. Some of the tests are executed automatically when the instrument is turned on. These diagnostics can be helpful when repairing the instrument. When an error is detected during diagnostic execution, the instrument displays the name of that test item. If the diagnostics complete without finding any problems, the display returns to its state before the diagnostics were executed. If multiple errors were detected, the test item names can be viewed using the and buttons. Press the front panel EXIT/CANCEL button to exit from the error display state. NOTE. Waveform output acquired from an instrument that does not pass all the diagnostic tests is not reliable. If errors were detected, consult the distributor where you have purchased this instrument about details concerning warranty and service. Figure 323 shows an example of an LCD display when an error was detected.
CH 1
BOTH
CH 2
3-36
Reference
CALIBRATION (Executing Calibration). This instrument includes a system that performs instrument calibration. This system allows the instrument to operate with correct precision. NOTE. The calibration must be executed at an ambient temperature of between +20 and +30_C, when a warm-up period of about 20 minutes has passed, and with the instrument stable. Calibration data in memory may be lost if the instruments power is turned off during calibration system execution. If the calibration completes correctly, the calculated calibration data is automatically stored in nonvolatile memory and the display returns to its state before calibration was executed. If any errors were detected, the result of the item that caused the error is not saved. Also, the name of that item will be displayed on the LCD. If multiple errors were detected, the calibration item names can be viewed using the and buttons. Press the front panel EXIT/CANCEL button to exit from the error display state. Although the instrument will then operate normally, the output cannot be guaranteed since the default value of the calibration data for the item that caused the error will be used for system control. Figure 324 shows an example of an LCD display when an error was detected.
CH 1
BOTH
CH 2
3-37
Reference
3-38
Remote Interface
The Arbitrary Function Generators are equipped with a GPIB interface port. Through this interface, it is possible to operate menus and front panel controls on the instrument from an external controller using the special programming command set. (The exceptions are some edits and GPIB parameter setting functions and the operation of the POWER switch on the front panel.) This section will describe the methods used to control the instrument through the GPIB interface.
With the power off, connect a GPIB cable from the GPIB controller to the ANSI/IEEE Std 488 port (GPIB) connector on the rear panel of the Arbitrary Function Generator. Refer to Figure 41. For example, when using an MS-DOS compatible controller, connect the GPIB cable between the National Instrument PC2A GPIB board and the GPIB connector on the Arbitrary Function Generator.
4-1
Figure 4-1: IEEE STD 488 Port Instruments can be connected to the GPIB in linear or star configurations or in a combination of both configurations. A linear hookup is one where a GPIB cable is used to string one device to a second, and then another GPIB cable is used to string from a second to a third, and so on until all devices in the system are connected. A star setup is one where one end of all the GPIB cables in the system is attached to the same device. Refer to Figure 42 for the GPIB system configurations.
Star Configuration
C B A
Linear Configuration
4-2
Follow the steps below to access the GPIB parameters. Set values are stored in the internal nonvolatile memory. 1. Set the primary address for the GPIB interface.
Control Button or Numeric Input Key Main Button SHIFT, PHASE First Level in the Menu Layers < or > for displaying GPIB ADDRESS ENTER Second Level in the Menu Layers or for displaying 1 ENTER EXIT
Figure 4-3: LCD Display When GPIB ADDRESS Item is Displayed GPIB ADDRESS sets the primary communication address of the Arbitrary Function Generators. The address range is 0 to 30. The address number can be input using numeric input key instead of and button 2. Set the configuration for the GPIB interface.
Control Button or Numeric Input Key Main Button First Level in the Menu Layers < or > for displaying GPIB CONFIG ENTER EXIT Second Level in the Menu Layers or for displaying T/L ENTER EXIT
4-3
Figure 4-4: LCD Display When GPIB CONFIG Item is Displayed The GPIB CONFIG item has the following selections: H H H T/L: Sets the communication mode to Talk/Listen DSOLINK: Sets the communication mode to DSO Link to import waveform OFF BUS: Logically disconnects the Arbitrary Function Generator from the GPIB system
NOTE. The Arbitrary Function Generator accepts as a terminator either the software LF (Line Feed), sent as the last data byte, or the hardware EOI, with the EOI line asserted concurrently with the last data byte sent. After these parameters are set, the GPIB interface is ready to operate and GPIB commands can be used to control the instrument remotely from an external controller.
Operation
Power on the instrument, and wait for the default screen to appear on the LCD display. When powered on, the instrument can be completely controlled from the front panel. Commands are also accepted from an external controller through the remote interface. As a result, you can use either the front panel controls or the remote interfaces without having to be aware of the shift from local to remote control or from remote control to local.
4-4
Command Syntax
This section describes the syntax and communication rules for using commands to operate the Arbitrary Function Generator. The command formats conform to standard codes, formats, and protocols as specified in ANSI/IEEE Std. 488.2-1987 and SCPI (1994.0).
Command Notation
The command syntax is in extended BNF (Backus-Naur Form) notation. The extended BNF symbols used in the command set are shown in Table 41. Table 4-1: BNF Symbols and Meanings
Symbol < > | { } [ ] [ ]... ::= : ; , Meaning Indicates a defined element Delimits Exclusive OR elements Delimits a group of elements, one of which the programmer must select Delimits an optional element that the programmer may omit Delimits an optional element that the programmer may omit or may repeat one or more times Indicates that the left member is defined as shown by the the right member Delimits the compound command header. Delimits between multiple commands or multiple program message units Delimits between multiple arguments
Programs created or placed in an external controller are transferred to the Arbitrary Function Generator as a program message. A program message is a sequence of zero or more program message units delimited by the program message unit delimiter. (The semicolon character is used as the delimiter.) A program message unit is a set command or query command. The Arbitrary Function Generator performs a function or changes a setting or mode when it receives a set command; when it receives a query command, it returns measurement data, settings, status codes and/or status messages. The Arbitrary Function Generator transfers these response messages to the external controller. Commands are either set commands or query commands (usually referred to as commands and queries in this manual). Most commands have both a set form and query form. The query form of a command is the same as the set form, except that the query form ends with a question mark.
4-5
Syntactic Delimiters
Syntactic elements in a program message unit are delimited (differentiated) with colons, white space, commas, or semicolons. Colon (:). Typically delimits the compound command header. SOURce:FUNCtion:SHAPe SOURce:VOLTage:OFFSet White Space. Typically delimits command/query headers from the argument. SOURce:FREQuency: 100kHz In the above example, SOURce:FREQuency is the command header, and 100 kHz is the argument. Comma (,). Typically delimits between multiple arguments. DATA:POINts EMEMory,1000 In the above example, a comma delimits the multiple arguments EMEMory and 1000. Semicolon (;). Typically delimits between multiple commands (or multiple program message units). For more information about using the semicolon, refer to Concatenating Commands on page 411.
Header
The header mnemonic represents a header node or a header subfunction. The command or query header comprises one or more header mnemonics that are delimited with the colon (:). Channel Representation. In a command or query, a channel can be specified with the header mnemonics MODE<n>, OUTPut<n>, and SOURce<n>, respectively. <n> can be either 1, for channel 1, or 2, for channel 2. The MODE2, OUTPut2, and SOURce2 header mnemonics can be used only when the channel 2 output is installed.
4-6
When designating channel 1, the number 1 in the header mnemonic may be omitted. SOURce1 itself in the SOURce<n> header mnemonic may be omitted as well. Header Structure. Commands and queries can be structured into six basic forms: H H H H H H Simple command header Simple query header Compound command header Compound query header Common command header Common query header
Each of the six basic forms are explained below. Simple Command Header. A simple command header is a command that contains only one header mnemonic. It may also contain one or more arguments. Its message format is: [:]<Header Mnemonic> [<Argument>[,<Argument>]...] such as: MODE<n> CONTinuous Simple Query Header. A simple query header is a command that contains only one header mnemonic followed by a question mark (?). Its message format is: [:]<Header Mnemonic>? [<Argument>[,<Argument>]...] such as: OUTPut<n>? Compound Command Header. A compound command header is a command that contains multiple header mnemonics plus argument(s). Its message format is: [:]<Header Mnemonic>[:<Header Mnemonic>]... [<Argument>[,<Argument>]...] such as: :FM:INTernal:FUNCtion SINusoid where: :FM:INTernal:FUNCtion are multiple header mnemonics, and SINusoid is argument.
4-7
Compound Query Header. A compound query header is a command that contains multiple header mnemonics followed by a question mark (?). Its message format is: [:]<Header Mnemonic>[:<Header Mnemonic>]...? [<Argument>[,<Argument>]...] such as: MODE<n>:BCOunt? Common Command Header. A common command header is a command that precedes its header mnemonic with an asterisk (*). Its message format is: <Header Mnemonic> [<Argument>[,<Argument>]...] such as: *CLS The common commands are defined by IEEE Std 488.2 and are common to all devices which support IEEE Std 488.2 on the GPIB bus. Common Query Header. A common query header is a command that precedes its header mnemonic with an asterisk (*) and follows it with a question mark (?). Its message format is: <Header Mnemonic>? [<Argument>[,<Argument>]...] such as: *IND? The common commands are defined by IEEE Std 488.2 and are common to all devices which support the IEEE Std 488.2 on the GPIB bus.
Arguments
In a command or query, one or more arguments follow the command header. The argument, sometimes called program data, is a quantity, quality, restriction, or limit associated with the command or query header. Depending on the command or query header given, the argument is one of the following types: H H H H H Decimal Numeric Nondecimal Numeric Logical Data String Arbitrary Block
4-8
5Decimal Numeric. The Arbitrary Function Generator defines a decimal numeric argument as one expressed in one of three numeric representations: NR1, NR2, or NR3. This definition complies with that found in ANSI/IEEE Std 488.2-1987. Any commands that use arguments in any of the the first three notations can use a fourth notation NRf (for Numerical Representation flexible). Refer to Table 42. Table 4-2: Decimal Numeric Notation
Type NR1 NR2 NR3 NRf Format implicit point (integer) explicit point unscaled (fixed point) explicit point scaled (floating point) numeric representation flexible; any of NR1, NR2, and NR3 may be used Examples 1, +3, -2, +10, -20 1, 2, +23.5, -0.15 1E+2, +3.36E-2, -1.02E+3 1, +23.5, -1.02E+3
As just implied, you can use NRf notation for arguments in your programs for any commands that this manual lists as using any of NR1, NR2, or NR3 notation in its arguments. Be aware, however, that query response will still be in the format specified in the command. For example: :STATus:OPERation:ENABle <NR1> If the command description is the above notation, you can substitute NR2 or NR3 when using the command in a program. However, if you use the query as: :STATus:OPERation:ENABle? the Arbitrary Function Generator will respond in the format <NR1> to match the command description in this manual. <NR1> Nondecimal Numeric. Nondecimal numeric data is data that begins with #{H|h, Q|q, B|b}. #Habiz #Q377 #B01101100 Logical Data. Logical data is noted as Boolean and is noted as not 0 or 0, or as ON or OFF. OUTPut:STATe ON
4-9
String. String, sometimes referred to as a string literal, a literal, or just a string, is defined as a series of characters enclosed by double quotation marks () as in the following example: This is a string constant or 0 .. 127 To include a double quoted character in the string, insert an additional double quote character ahead of the double quote character in the string. For example, the string: serial number B010000 would be defined as: serial number B010000 Single quotation marks () can also be used instead of double quotation marks. For instance: serial number B010000 Arbitrary Block. An arbitrary block argument is defined as: #<byte count digit><byte count>[<contiguous eight-bit data byte>]... or: #0[<contiguous eight-bit data byte>]... <terminator> where: <byte count digit>::= a nonzero digit in the range ASCII 19 that defines the number of digits (bytes) in the <byte count> field. <byte count>::= any number of digits in the range ASCII 09 that define how many bytes are in the <contiguous 8-bit data byte> field. <contiguous 8-bit data byte>::= a <byte count> number of 8-bit bytes in the range ASCII 0255 that define the message. Each byte defines one character. <terminator>::= a software LF followed by a hardware EOI. For example, #16AB4ZLT<LF><&EOI> #0EHTGNILEDOM<LF><&EOI> Unit and SI Prefix. If the decimal numeric argument refers to a voltage, frequency, or percentage, you can express it using SI units instead of in the scaled explicit point input value format <NR3>. (SI units are units that conform to the System International dUnites standard.)
4-10
For example, you can use 200mV instead of 200.0E3 to specify voltage, or 1.0MHz instead of 11.0E+6 to specify frequency. You can omit the unit, but you must include the SI unit prefix. You can use either upper or lowercase units as listed below: V or v for voltage Hz, HZ, or hz for frequency PCT, PCt, Pct, or pct for % (percentage) s, S, Sec, SEC or sec for time Rad, RAD, or rad for radian Deg, DEG, or deg for degree The SI prefixes, which must be included, are shown below. Note that the prefixes are case insensitive, you can use either upper or lower case. However, the prefix m or M equals 103 for voltage parameters, but m or M equals 106 for frequency parameters. The prefix k or K always equals 103.
SI Prefix1 Corresponding Power
1
m/M 10-3
k/K 103
m/M 106
Note that the prefix m/M indicates 10-3 when the decimal numeric argument denotes voltage, but 106 when it denotes frequency.
For example, the following values are equivalent: H H 1.60 mhz, 1.60 mHz, 1.60 MHZ 250 mv, 250 mV, 250 MV
Concatenating Commands
Most of the compound command headers are in a tree structure. The tree structure of an example command is diagrammed below. Note that the top of the structure always begins with a colon (:).
:SOURce<n>
FREQuency
AM
FUNCtion
PHASe
SWEep
CENTer
MODE
STARt
STOP
STATe
TIME
SPACing
4-11
The following example of a compound command combines five headers delimited by semicolons: :SOURce1:FREQuency:STARt 1E+6; :SOURce1:FREQuency:STOP 2E+6; :SOURce1:SWEep:SPACing LINear; :SOURce1:SWEep:TIME 1E2; :SOURce1:FREQuency:MODE SWEep You must include the complete path in each header when there is no common complete path to the start of the tree structure (the colon). However, note that part of each header in the above example has common path :SOURce1:FREQuency or :SOURce1:SWEep. You may shorten compound command structures with such headers. For example, the command above may be rewritten as follows. :SOURce1:FREQuency:STARt 1E+6; STOP 2E+6; :SOURce1:SWEep:SPACing LINear; TIME 1E2; :SOURce1:FREQuency:MODE SWEep Note that the mnemonics :SOURce1, :FREQuency, and :SWEep are assumed from the first header by the headers that follow. The following command descriptions are valid examples of commands shortened using the principle just described. (Note that the insertion of common command (*ESE) between headers does not prevent the headers that follow from assuming the earlier header mnemonics.) :SOURce1:FREQuency:STARt 1E+6; *ESE 255; STOP 2E+6; :SOURce1:SWEep:SPACing LINear; TIME 1E2; :SOURce1:FREQuency:MODE SWEep The following examples have been shortened incorrectly and cause errors: :SOURce1:FREQuency:STARt 1E+6; SOURce1:FREQuency:STOP 2E+6 A colon is omitted at the front of the second header SOURce1 in the above example. :SOURce1:FREQuency:STARt 1E+6; :SOURce1:MODE SWEep :FREQuency is omitted at the next to the second header SOURce1 in the above example. The following examples have been described incorrectly and cause errors: :SOURce1:FREQuency:STARt 1E+6; :*ESE 255; :SOURce1:FREQuency:MODE SWEep A colon is added at the front of the common command header *ESE in the above example.
4-12
Following are some examples of other general command conventions. Upper and Lower Case. The instrument accepts upper, lower, or mixed case alphabetic messages. The following three commands are recognized as identical: MODE1:TYPE CONTINUOUS mode1:type continuous Mode1:Type Continuous Abbreviation. Any header, argument, or reserved word that is sent to the Arbitrary Function Generator can be abbreviated. The minimum required spelling is shown in upper case throughout the Command Groups subsection beginning on page 416. When a number is added at the end of the header mnemonic, a number 1 may be omitted but a number 2 may not be omitted. Consider the following example: SOURce<n>:FUNCtion SINusoid If n is designated for 1 in the above command, the command can be rewritten in the following forms. SOURce:FUNCtion SINusoid If n is designated for 2 in the above command, the command can be shortened in either of the following forms. SOUR2:FUNC SINusoid SOUR2:FUNC SIN
Response Messages
Information on query responses and retrieving response messages is provided below. Query Responses. The query causes the Arbitrary Function Generator to return information about its status or settings. When a query command is sent to the Arbitrary Function Generator, only the values are returned. When the value is a mnemonic, it is noted in abbreviated format. Refer to Table 43. Table 4-3: Query Responses
Query SOURce:VOLTage:AMPLitude? MODE1:TYPE? Response 1.000 CONT
4-13
A few queries also initiate an operation action before returning information; for instance, the *CAL? query runs a calibration. Retrieving Response Messages. Figure 46 shows the response message retrieval operation when a GPIB interface is used. When a query command is sent from the external controller the Arbitrary Function Generator puts the response message for the query on the output queue. This response message cannot be retrieved unless the user performs a retrieval operation through the external controller.
AFG310/AFG320 Arbitrary Function Generator Controller Query
If there is a response message queued in the output queue and another query command is sent from the external controller before a retrieval operation for the earlier message is performed, the Arbitrary Function Generator will delete the queued response message and put the response message for the more recently sent query command in the output queue. The SBR (status byte register) MAV bit can be used to check the response message queuing state. Refer to Status and Events, beginning on page 51, for more information on the output queue, SBR, and control methods.
Waveform Transfer
The waveform transfer function transfers waveforms between the Arbitrary Function Generator and an external controller. This function can be used to transfer waveforms created by the external controller to the Arbitrary Function Generator. These Arbitrary Function Generators are also equipped with import functions to transfer waveforms directly with Tektronix digital oscilloscopes and other AFG300 series instruments using a GPIB interface. Refer to Tutorial 4 on page 248 and Import From on page 328 for details on the use of import function. Destination refers to the destination for the waveform transfer when waveforms are transferred from the external controller to the Arbitrary Function
4-14
Command Execution Controller Queuing Output Queue Output Queue Controller
Generator. The transfer destination must be the Edit memory. The Edit memory will be overwritten when waveforms are transferred. Waveform transfer is performed under the Tektronix Std. Codes and Formats waveform format specifications. The following part describes the waveform transfer method between these Arbitrary Function Generators and external controllers. Waveform Data Format. Unscaled waveform data can be transferred from the external controller to the Arbitrary Function Generator by specifying an arbitrary block in the format shown below as the argument to the TRACe|DATA:[DATA] command.
Header Waveform data sequence Data length <yyy> = n x 2 bytes #<x><yyy> <wave(1)><wave(2)><wave(3)> .... <wave(n)> Transfer direction
Here <yyy> is the byte count (in ASCII format) of the waveform data sequence that follows, <x> is the number of digits in <yyy> (in ASCII format), and <wave(i)> is the waveform datum. Each data point <wave(i)> is transferred as an unsigned integer code of two bytes with 12 valid data bits. When data is transferred in the two byte width, the byte order (which of the upper and lower bytes is transferred first) can be specified using the FORMat:BORDer command. Byte order specification allows data to be stored more easily in memory by specifying the appropriate order depending on whether the external controller CPU uses a Little-Endian or Big-Endian addressing scheme. For example, if an NEC PC-9800 series or an IBM-PC compatible is used as the external controller, set data to be transferred with the low order byte first. Data Transfer Procedures. The following example shows the procedures for transferring waveforms from an external controller to the Arbitrary Function Generator. 1. Specify the data byte order for the waveform data points. FORMat:BORDer NORMal This command specifies transfer with the high order byte first. To transfer the low order byte first specify SWAPped instead of NORMal.
4-15
2. Transfer the waveform data. TRACe|DATA[:DATA] EMEMory,<block> This completes the transfer of a waveform block data from the external controller to the Edit memory in the Arbitrary Function Generator.
Command Groups
This section describes the organization of the Arbitrary Function Generator command set into functional groups. (Refer to Command Descriptions on page 428 for a complete description of each command in alphabetical order.) Included are commands that conform to SCPI (Standard Commands for Programmable Instruments) 1994.0 and IEEE 488.2 common commands. The commands that conform to SCPI and those that are not prescribed by SCPI are classified by function into nine different command subsystems. Refer to Command Syntax on page 45 for a discussion of the notation used in this section.
The commands in this subsystem are used to calibrate the Arbitrary Function Generators. For error codes used to denote the result of calibration operations, refer to Status and Events: Event Codes and Messages on page 510. Remote commands and front panel operations are not possible while calibration is in progress. CALibration [:ALL] [:ALL]? Table 4-4: CALibration Subsystem Commands
Header [:ALL] [:ALL]? Description Perform all calibrations Perform all calibrations and return the results
4-16
The commands in this subsystem are used to set the format used for data transfers. FORMat :BORDer NORMal|SWAPped :BORDer? Table 4-5: FORMat Subsystem Commands
Header :BORDer :BORDer? Description Designates the byte order (which is first: NORMal => MSB or SWAPped => LSB) Returns the byte order that is currently set
The commands in this subsystem are provided with a function for use on multiple channel instruments in which the designated menu item can be used to set both channels to the same value. INSTrument :COUPle ALL|NONE :COUPle? :AMPLitude ALL|NONE :AMPLitude? :FREQuency ALL|NONE :FREQuency? :OFFSet ALL|NONE :OFFSet? :PHASe ALL|NONE :PHASe?
4-17
The commands in this subsystem are used to select the operating mode for waveform output and set the burst count. The header suffix <n> designates the channel to be set. You should set <n> to the number corresponding to the channel to be set. MODE<n> [:TYPE] CONTinuous|TRIGgered|BURSt [:TYPE]? :BCOunt <numeric_value>|INFinity :BCOunt? [MINimum|MAXimum] Table 4-7: MODE Subsystem Commands
Header [:TYPE] [:TYPE]? :BCOunt :BCOunt? Description Selects the operating mode Returns the operating mode currently set Sets the burst count Returns the burst count currently set
4-18
The commands in this subsystem are used to set ON or OFF status for the waveform output port. The header suffix <n> designates the channel to be set. You should set <n> to the number corresponding to the channel to be set. OUTPut<n> [:STATe] <Boolean> [:STATe]? Table 4-8: OUTPut Subsystem Commands
Header [:STATe] [:STATe]? Description Selects ON or OFF status for the waveform output port Returns (as logical data) the ON/OFF status of the waveform output port that is currently set
The commands in this subsystem are used to select the output waveform, set the parameters for waveform output, select the type of modulation, set the parameters for modulation, set the sweep parameters, and so on. The output waveform and parameters can be set for the channel designated by the header suffix <n>, which stands for the number corresponding to the channel to be set. [SOURce<n>] :AM :STATe <Boolean> :STATe? :FM [:DEViation] <numeric_value> [:DEViation]? [MINimum|MAXimum] :INTernal :FREQuency <numeric_value> :FREQuency? [MINimum|MAXimum] :FUNCtion SINusoid|SQUare|TRIangle|RAMP|
4-19
USER[1]|USER2|USER3|USER4|EMEMory :FUNCtion? :STATe <Boolean> :STATe? :FREQuency [:CW|:FIXed] <numeric_value> [:CW|:FIXed]? [MINimum|MAXimum] :MODE CW|FIXed|SWEep MODE? :STARt <numeric_value> :STARt? [MINimum|MAXimum] :STOP <numeric_value> :STOP? [MINimum|MAXimum] :FSKey [:FREQuency] <numeric_value> [:FREQuency]? [MINimum|MAXimum] :INTernal :RATE <numeric_value> :RATE? [MINimum|MAXimum] :STATe <Boolean> :STATe? :FUNCtion [:SHAPe] SINusoid|SQUare|TRIangle|RAMP|PULSe| PRNoise|DC|USER[1]|USER2|USER3| USER4|EMEMory [:SHAPe]? :PHASe [:ADJust] <numeric_value>
4-20
[:ADJust]? [MINimum|MAXimum] PULSe :DCYCle <numeric_value> :DCYCle? [MINimum|MAXimum] SWEep :TIME <numeric_value> :TIME? [MINimum|MAXimum] :SPACing LINear|LOGarithmic :SPACing? VOLTage [:LEVel] [:IMMediate] [:AMPLitude] <numeric_value> [:AMPLitude]? [MINimum|MAXimum] :OFFSet <numeric_value> :OFFSet? [MINimum|MAXimum] Table 4-9: SOURce Subsystem Commands
Header :AM:STATe :AM:STATe? :FM[:DEViation] :FM[:DEViation]? :FM:INTernal:FREQuency :FM:INTernal:FREQuency? :FM:INTernal:FUNCtion :FM:INTernal:FUNCtion? Description Sets ON or OFF status for AM modulation Returns (as logical data) the ON/OFF status of the AM modulation that is currently set Sets peak frequency deviation for FM modulation Returns peak frequency deviation for FM modula tion that is currently set Sets the frequency of the modulating waveform for FM modulation Returns the frequency of the modulating waveform for FM modulation that is currently set Selects the shape of the modulating waveform for FM modulation Returns the shape of the modulating waveform for FM modulation that is currently set
4-21
4-22
The commands in this subsystem are used to control status and error/events. For information on the instruments status reporting function, see Error/Event Reporting on page 510. STATus :OPERation :CONDition? :ENABle <NRf> :ENABle? [:EVENt]? :PRESet :QUEStionable :CONDition? :ENABle <NRf> :ENABle? [:EVENt]? :QUEue [:NEXT]? Table 4-10: STATus Subsystem Commands
Header :OPERation:CONDition? :OPERation:ENABle Description Returns the contents of the operation status condition register Sets the operation status enable mask
4-23
The commands in this subsystem are used to set the beep, lock the front panel controls, set default values, set step recall mode, and ask for the SCPI versions of the commands used on the instrument, as well as to retrieve error numbers from the error/event queue used by the status reporting function. For information on the error/event queue, refer to Queue on page 59. SYSTem :BEEPer :STATe <Boolean> :STATe? ERRor? KLOCk <Boolean> KLOCk? :SECurity :IMMediate :SRECall [:STATe] <Boolean> [:STATe]?
4-24
:ULIMit <numeric_value> :ULIMit? [MINimum|MAXimum] VERSion? Table 4-11: SYSTem Subsystem Commands
Header :BEEPer:STATe :BEEPer:STATe? :ERRor? :KLOCk :KLOCk? :SECurity:IMMediate :SRECall[:STATe] :SRECall[:STATe]? :ULIMit :ULIMit? :VERSion? Description Sets ON or OFF status for beep sound Returns (as logical data) the ON/OFF status of the beep sound that is currently set Retrieves error data from the error/event queue and returns this data. Locks or unlocks the controls on the front panel Returns the current setting status for the controls on the front panel Returns all settings to instrument factory default values include initializing NVRam memory Sets ON or OFF status for step recall mode Returns (as logical data) the ON/OFF status of the step recall mode that is currently set Sets the upper limit for the setup memory number during step recall mode on Returns the upper limit for the setup memory number that is currently set Returns the SCPI version
The commands in this subsystem are used to set the contents of the edit memory and user waveform memory. TRACe|DATA :CATalog? :COPY <trace_name>,EMEMory [:DATA] EMEMory,<block> :LINE EMEMory,<numeric_value>,<numeric_value>, <numeric_value>,<numeric_value> :VALue EMEMory,<numeric_value>,<numeric_value> :VALue? EMEMory,<numeric_value>
4-25
:DEFine EMEMory[,{<numeric_value>|<trace_name>}] :LOCK [:STATe] <trace_name>,<boolean> [:STATe]? <trace_name> :POINts EMEMory[,<numeric_value>] :POINts? EMEMory Table 4-12: TRACe|DATA Subsystem Commands
Header :CATalog? :COPY [:DATA] [:DATA]:LINE [:DATA]:VALue [:DATA]:VALue? :DEFine :LOCK[:STATe] :LOCK[:STATe]? :POINts :POINts? Description Returns the name of the waveform in the user waveform memory and edit memory Copies the contents of the edit memory to the user waveform memory Writes binary integer from 0 to 4094 to the edit memory Writes line data to the range designated by two point numbers in the edit memory Writes point data to the designated point number in the edit memory Returns point data at the designated point number Defines the edit memory in terms of the contents of the designated user waveform memory Prohibits/enables writing to the user waveform memory Returns the current setting status for the writings Sets the number of waveform points in the edit memory Returns the number of waveform points in the edit memory that is currently set
4-26
The IEEE-488.2 standard defines a set of common commands that perform functions like rest, calibration, and status operations. The common commands always begin with an asterisk. Table 4-13: IEEE 488.2 Common Commands
Header *CAL? *CLS *ESE *ESE? *ESR? *IDN? *OPC *OPC? *OPT? *RCL *RST *SAV *SRE *SRE? *STB? *TRG *TST? *WAI Description Performs all calibrations and returns the results Clears SESR, SBR and Error/Event Queue Sets a value in the ESER Returns the value in the ESER that is currently set Returns the value in the SESR Returns ID information about the Arbitrary Function Generator Checks to see if command execution has ended and, if it has, sets the OPC bit in the SESR Checks to see if command execution has ended and, if it has, returns 1 Returns information which options are implemented for this Arbitrary Function Generator Recalls settings in the memory Performs system reset Saves current settings in the memory Sets a value in the SRER Returns the value in the SRER that is currently set Returns the value in the SBR Generates the triggering event Performs all self test and return the results Causes the instrument to wait, delaying the start of the next process until the end of command execution
4-27
Command Descriptions
This section lists each command and query in the Arbitrary Function Generator command set alphabetically. Each command entry includes its command description and group, its syntax, and its arguments (if any), and its responses (if any). Each entry also includes one or more usage examples. This section fully spells out headers, mnemonics, and arguments with the minimal spelling shown in upper case. For example, to use the abbreviated version of the SOURce1:SWEep:SPACing command, just type SOUR1:SWE:SPAC. For more information on the following commands, refer to Status and Events beginning on page 51.
The *CAL? common query performs an internal calibration and returns status that indicates whether the Arbitrary Function Generator completes the self calibration without error. This query has the same function as the CALibration[:ALL]? query. If errors are detected during calibration, the error code for the first error to be discovered is returned. NOTE. Up to 3 minutes are required to complete the internal calibration for the AFG320. and 1 1/2 minutes for AFG310. During this time, the Arbitrary Function Generator does not respond to any commands or queries issued.
Group. IEEE488.2 Common Command. Syntax. *CAL? Responses. <Result> where <Result>::=<NR1>, which is one of following decimal integers: 0 600 601 602 603 terminated without error. Calibration error Offset calibration error Arbitrary gain calibration error Sine gain calibration error
4-28
Square gain calibration error AM offset calibration error Sine flatness calibration error Output attenuator calibration error
Examples. *CAL? performs an internal calibration and returns the results (for example, it might return 0, which indicates the calibration terminated without any detected errors).
CALibration[:ALL]
The CALibration[:ALL] command performs an internal calibration. The CALibration[:ALL]? query performs an internal calibration and returns status that indicates whether the Arbitrary Function Generator completes the self calibration without error. This query has the same function as the *CAL? query. If an error is detected while calibration is being executed, a message is queued in the error/event queue, and the error code of the first error discovered is returned in response to the query. Analog output operations are performed on this unit using a calibrated value stored inside the unit. If this command is used to execute calibration, the new calibrated value is used. If errors are detected during calibration, the error code for the first error to be discovered is returned. Group. CALibration subsystem Command (SCPI). Syntax. CALibration[:ALL] CALibration[:ALL]? Responses. <Result> where <Result>::=<NR1>, which is one of the following decimal integers: 0 600 601 602 603 604 605 Terminated without error. Calibration error Offset calibration error Arbitrary gain calibration error Sine gain calibration error Square gain calibration error AM offset calibration error
4-29
606 607
Examples. CALibration[:ALL] performs an internal calibration. CALibration[:ALL]? performs an internal calibration and returns the results (for example, it might return 0, which indicates the calibration terminated without any detected errors).
The *CLS common command clears all the event registers and queues, which are used in the Arbitrary Function Generator status and event reporting system. Group. IEEE488.2 Common Command. Syntax. *CLS Examples. *CLS clears all the event registers and queues.
*ESE
The *ESE common command sets the bits of the ESER (Event Status Enable Register) used in the status and events reporting system of the Arbitrary Function Generator. The *ESE? query returns the contents of the ESER. Group. IEEE488.2 Common Command. Syntax. *ESE <Bit Value> *ESE? Arguments. <Bit Value>::=<NR1> where <NR1> is a decimal integer that ranges from 0 to 255. The ESER bits will be set to the binary equivalent of the decimal integer sent. The power-on default for the ESER is to reset all bits to zero.
4-30
Examples. *ESE 177 sets the ESER to 177 (binary 10110001), which sets the PON, CME, EXE and OPC bits. *ESE? might return 176,which indicates that the ESER contains the binary number 11010000.
The *ESR? common query returns the contents of SESR (Standard Event Status Register) used in the status and events reporting system. Group. IEEE488.2 Common Command. Syntax. *ESR? Responses. <ESR-bits> <ESR-bits>::<NR1> where <NR1> is a decimal integer that ranges from 0 to 255. The decimal integer is equivalent to the binary data in the ESER. Examples. *ESR? might return 181, which indicates that the SESR contains the binary number 10110101.
FORMat:BORDer
The FORMat:BORDer command specifies whether the MSB (most significant byte) or LSB (least significant byte) is sent first for each waveform point during binary block data transfers. The FORMat:BORDer? query returns the transfer sequence for binary block data. Data for waveform points is expressed as 12-bit integers. To transfer this data through an 8-bit interface, the data for each waveform point must be transferred as 2-byte data. Group. FORMat subsystem Command (SCPI).
4-31
Syntax. FORMat:BORDer {NORMal|SWAPped} FORMat:BORDer? Arguments. NORMal sends the upper byte (MSB) of the binary data first, then the lower byte for each waveform point. SWAPped sends the lower byte (LSB) of the binary data first, then the upper byte for each waveform point. The argument is set to NORMal when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Examples. FORMat:BORDer NORMal specifies that MSB will be sent first in binary block data transfers. FORMat:BORDer? might return NORMal, which indicates that MSB first is set for the transfer sequence.
The *IDN? common query returns the ID information of the Arbitrary Function Generator. Group. IEEE488.2 Common Command. Syntax. *IDN? Responses. <Manufacturer>, <Model>, <Serial Number>, <Firmware Level>
where
<Manufacturer>::=SONY/TEK, <Model>::=AFG310 | AFG320 (0 indicates no application.) <Serial Number>::=0, <Firmware Level>::=SCPI:<SCPI Version>, <sp>FW:<Firmware Version>, and <sp>::= Space.
4-32
The INSTrument:COUPle command specifies whether the same values for amplitude, frequency, offset and phase will be set for both Channel 1 and Channel 2 or if these values will be set independently for each channel. The INSTrument:COUPle? query returns the designated setting. Group. INSTrument subsystem Command (SCPI). Syntax. INSTrument:COUPle {ALL|NONE} INSTrument:COUPle? Arguments. ALL specifies the Both Input Mode, which sets the same values for amplitude, frequency, offset and phase for Channel 1 and Channel 2. A channel 1 may be delayed about 30 ms by the inside process forward the Channel 2. NONE specifies the mode in which values for the five parameters will be set independently for Channel 1 and Channel 2. The argument is reset to NONE when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Examples. INSTrument:COUPle ALL specifies the Both Input Mode and that the same values for amplitude, frequency, offset and phase will be set for both Channel 1 and Channel 2. INSTrument:COUPle? might return ALL,which indicates that same values for the five parameters will be set for both Channel 1 and Channel 2.
The INSTrument:COUPle:AMPLitude command specifies whether the same amplitude value will be set for both Channel 1 and Channel 2 or that amplitude values will be set independently for each channel. The INSTrument:COUPle:AMPLitude? query returns the designated setting.
4-33
Group. INSTrument subsystem Command (SCPI). Syntax. INSTrument:COUPle:AMPLitude {ALL|NONE} INSTrument:COUPle:AMPLitude? Arguments. ALL specifies the Both Input Mode which sets the same amplitude values for Channel 1 and Channel 2. A channel 1 may be delayed about 30 ms by the inside process forward the Channel 2. NONE specifies the mode in which amplitude values will be set independently for Channel 1 and Channel 2. The argument is reset to NONE when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Examples. INSTrument:COUPle:AMPLitude ALL specifies the Both Input Mode which sets the same amplitude values for Channel 1 and Channel 2. INSTrument:COUPle:AMPLitude? might return ALL, which indicates that the same amplitude value will be set for both Channel 1 and Channel 2.
The INSTrument:COUPle:FREQuency command specifies whether the same frequency value will be set for both Channel 1 and Channel 2 or frequency values will be set independently for each channel. The INSTrument:COUPle:AMPLitude? query returns the designated setting. Group. INSTrument subsystem Command (SCPI). Syntax. INSTrument:COUPle:FREQuency {ALL|NONE} INSTrument:COUPle:FREQuency?
4-34
Arguments. ALL specifies the Both Input Mode and that the same frequency value will be set for both Channel 1 and Channel 2.A channel 1 may be delayed about 30 ms by the inside process forward the Channel 2. NONE specifies the mode in which frequency values will be set independently for Channel 1 and Channel 2. The argument is reset to NONE when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Examples. INSTrument:COUPle:FREQuency ALL specifies the Both Input Mode and that the same frequency value will be set for both Channel 1 and Channel 2. INSTrument:COUPle:FREQuency? might return ALL, which indicates that the same frequency value will be set for both Channel 1 and Channel 2.
The INSTrument:COUPle:OFFSet command specifies whether the same offset value will be set for both Channel 1 and Channel 2 or offset values will be set independently for each channel. The INSTrument:COUPle:OFFSet? query returns the designated setting. Group. INSTrument subsystem Command (SCPI). Syntax. INSTrument:COUPle:OFFSet {ALL|NONE} INSTrument:COUPle:OFFSet? Arguments. ALL specifies the Both Input Mode and that the same offset value will be set for both Channel 1 and Channel 2. A channel 1 may be delayed about 30 ms by the inside process forward the Channel 2. NONE specifies the mode in which offset values will be set independently for Channel 1 and Channel 2.
4-35
The argument is reset to NONE when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Examples. INSTrument:COUPle:OFFSet ALL specifies the Both Input Mode and that the same offset value will be set for both Channel 1 and Channel 2. INSTrument:COUPle:OFFSet? might return ALL, which indicates that the same offset value will be set for both Channel 1 and Channel 2.
The INSTrument:COUPle:PHASe command specifies whether the same phase value will be set for both Channel 1 and Channel 2 or whether the phase values will be set independently for each channel. The INSTrument:COUPle:OFFSet? query returns the designated setting. Group. INSTrument subsystem Command (SCPI). Syntax. INSTrument:COUPle:PHASe {ALL|NONE} INSTrument:COUPle:PHASe? Arguments. ALL specifies the Both Input Mode and that the same phase value will be set for both Channel 1 and Channel 2. A channel 1 may be delayed about 30 ms by the inside process forward the Channel 2. NONE specifies the mode in which phase values will be set independently for Channel 1 and Channel 2. The argument is reset to NONE when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Examples. INSTrument:COUPle:PHASe ALL specifies the Both Input Mode and that the same phase value will be set for both Channel 1 and Channel 2.
4-36
INSTrument:COUPle:PHASe? might return ALL, which indicates that the same phase value will be set for both Channel 1 and Channel 2.
MODE<n>[:TYPE]
The MODE<n>[:TYPE] command determines the operating mode when a trigger event occurs and a waveform is output to the channel designated by the header. The MODE<n>[:TYPE]? query returns the operating mode that is currently set. Group. MODE subsystem Command (NonSCPI). Syntax. MODE<n>[:TYPE] {CONTinuous|TRIGgered|BURSt} MODE<n>[:TYPE]? Arguments. CONTInuous sets the continuous mode which continuously outputs the waveform. The Arbitrary Function Generator ignores the external trigger signals. The external trigger signals are generated by a trigger signal input to the EXT TRIG IN connector, the MANUAL key on the front panel, or a remote command. TRIGgered The waveform is output for 1 cycle by an external trigger signal. BURSt sets the burst mode which outputs waveform for the number of cycles set by BCOunt (burst count) by an external trigger signal. If BCOunt is set to infinity (INFinit), the instrument ignores the burst count. The waveform will be output continuously when an external trigger signal is received. The argument is reset to CONTinuous when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Examples. MODE2:TYPE TRIGgered sets the channel 2 output for triggered mode. MODE2:TYPE? might return TRIG, which indicates that the operating mode is set to triggered.
4-37
MODE<n>:BCOunt
The MODE<n>:BCOunt command determines the number of cycles (the burst count) for which the waveform is output in burst mode to the channel designated by the header suffix. The MODE<n>:BCOunt? query returns the burst count currently set. This command can be used to set or ask for a value regardless of the currently selected operating mode. Burst mode is set with the MODE<n>[:TYPE] BURSt command. Group. MODE subsystem Command (nonSCPI). Syntax. MODE<n>BCOunt {<count>|INFinity} MODE<n>BCOunt? Arguments. <count>::=<NR1> where the burst count ranges from 0 to 60 000. <count>::=9.9E37 sets the burst count for infinity. <INFinity sets the burst count for infinity. The argument is reset to 10 when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Examples. MODE2:BCOunt 200 sets output for burst mode with 200 waveforms cycles. MODE2:BCOunt? might return 9.9000E+37, which indicates that the burst count is set to infinite.
*OPC
The *OPC common command generates an operation complete message by setting bit 0 in the Standard Event Status Register (SESR) when all pending operations are finished. The *OPC? common query enters a 1 in the Output Queue when all pending operations are finished. Group. IEEE488.2 Common Command.
4-38
Syntax. *OPC *OPC? Responses. <execution complete>::=1 where 1 indicates that all pending operations are finished (operation complete message). Examples. CALibration;*OPC might wait for the completion of calibration.
The *OPT? common query returns the implemented options of the Arbitrary Function Generator. Group. IEEE488.2 Common Command. Syntax. *OPT? Responses. <Option>[,<Option>]... <Option>::=<NR1> where <NR1> is a decimal integer as follows; 0 indicates no option.
Examples. *OPT? might return 0 to indicate that no option is installed in this instrument.
OUTPut<n>[:STATe]
The OUTPut<n>[:STATe] command sets the output port (turns the CH1 or CH2 waveform output on or off) for the channel designated by the header. The OUTPut<n>[:STATe]? query returns the output port setting for the channel designated by the header. Group. OUTPut subsystem Command (SCPI).
4-39
Syntax. OUTPut<n>[:STATe] {ON|OFF|<NR1>} OUTPut<n>[:STATe]? Arguments. ON or any nonzero value for <NR1> sets the output port to ON. OFF or a 0 value for <NR1> sets the output port to OFF. The output port is set to on or off by opening or closing the relays connected between the internal circuit and the output connector on the front panel. The argument is reset to 0 when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Response> <Response>::=<NR1> where <NR1> is a decimal integer as follows; 0 1 the output port is currently turned off. the output port is currently powered on.
Examples. OUTPut1:STATe ON turn on the channel 1 output port. OUTPut1:STATE? returns the on/off status for the CH1 output port.
The *RCL common command recalls the setting designated by the memory number in the settings memory. In such cases, the Arbitrary Function Generator will be set up in accordance with this setting value. Group. IEEE488.2 Common Command. Syntax. *RCL <Setup Memory Number>
4-40
Arguments. <Setup Memory Number>::=<NR1> where <NR1> is a memory number that ranges from 1 to 19. Examples. *RCL 12 recalls the setup from the number 12 setting memory and set up the instrument with the setting values.
The *RST common command resets this Arbitrary Function Generator to the factory default state (default values are listed in Secure Settings (Factory Settings) on page E4). Group. IEEE488.2 Common Command. Syntax. *RST Examples. *RST reset the instrument to its factory default settings.
The *SAV common command saves the current settings of the Arbitrary Function Generator to the setting memory designated with memory number. Group. IEEE488.2 Common Command. Syntax. *SAV <Setup Memory Number> Arguments. <Setup Memory Number>::=<NR1> where <NR1> is a memory number that ranges from 1 to 19. Examples. *SAV 12 saves the current settings to the setting memory number 12.
4-41
[SOURce<n>]:AM:STATe
The [SOURce<n>]:AM:STATe command turns AM modulation on or off for the channel designated by the header suffix. The [SOURce<n>]:AM:STATe? query returns ON or OFF status for AM modulation for the channel designated by the header suffix. When one of the other modulation functions (sweep, FM modulation or FSK modulation) is on, turning on AM modulation will automatically turn off the other modulation function. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:AM:STATe {ON|OFF|<NR1>} [SOURce<n>]:AM:STATe? Arguments. ON or any nonzero value for <NR1> sets AM modulation to ON. OFF or 0 value for <NR1> sets AM modulation to OFF. The argument is reset to 0 when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Response> <Response>::=<NR1> where <NR1> is a decimal integer as follows; 0 1 AM modulation is currently turned off. AM modulation is currently powered on.
Examples. SOURce1:AM:STATe ON turn on CH1 AM modulation. SOURce1:AM:STATE? might return 1, which indicate CH1 AM modulation is powered on.
4-42
[SOURce<n>]: FM[:DEViation]
The [SOURce<n>]:FM[:DEViation] command sets the peak frequency deviation of FM modulation for the channel designated by the header suffix. The [SOURce<n>]:FM[:DEViation]? query returns the peak frequency deviation for the channel designated by the header suffix. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:FM[:DEViation] <Deviation> [SOURce<n>]:FM[:DEViation]? [MINimum|MAXimum] Arguments. <Deviation>::=<NR3>[<unit>] where <NR3> The peak frequency deviation ranges from 10 mHz to 8 MHz. <unit>::=[Hz|kHz|MHz} The argument is reset to 1.000 00 kHz when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Deviation> <Deviation>::=<NR3> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:FREQuency:CENTer 5MHz;FM:DEViation 1MHz sets the center frequency of the carrier wave to 5 MHz and the frequency deviation to 1 MHz for the CH1 FM modulation.
4-43
[SOURce<n>]: FM:INTernal:FREQuency
The [SOURce<n>]:FM:INTernal:FREQuency command sets the modulating frequency of FM modulation for the channel designated by the header suffix. The [SOURce<n>]:FM:INTernal:FREQuency? query returns the FM modulating frequency for the channel designated by the header suffix. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:FM:INTernal:FREQuency <Modulating Frequency> [SOURce<n>]:FM:INTernal:FREQuency? [MINimum|MAXimum] Arguments. <Modulating Frequency>::=<NR3>[<unit>] where <NR3> The modulating frequency ranges from 10 mHz to 10 kHz. <unit>::=[Hz|kHz} The argument is reset to 1.000 kHz when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Modulating Frequency> <Modulating Frequency>::=<NR3> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:FM:INTernal:FREQuency 5kHz sets the modulating frequency to 5 kHz for the CH1 FM modulation.
4-44
[SOURce<n>]: FM:INTernal:FUNCtion
The [SOURce<n>]:FM:INTernal:FUNCtion command sets the shape of the modulating waveform of FM modulation for the channel designated by the header suffix. The [SOURce<n>]:FM:INTernal:FUNCtion? query returns the shape of the FM modulating waveform for the channel designated by the header suffix. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:FM:INTernal:FUNCtion {SINusoid|SQUare|TRIangle|RAMP| USER[1]|USER2|USER3|USER4|EMEMory} [SOURce<n>]:FM:INTernal:FUNCtion? Arguments. SINusoid|SQUare|TRIangle|RAMP One of four types of function wave is used as a modulating signal. USER[1]|USER2|USER3|USER4 User wave saved in the user waveform memory is used as a modulating signal. EMEMory Edit wave being edited in the edit memory is used as a modulating signal. The argument is reset to SINusoid when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Examples. SOURce1:FM:INTernal:FUNCtion SQUare sets the modulating waveform to square wave for the CH1 FM modulation.
[SOURce<n>]:FM:STATe
The [SOURce<n>]:FM:STATe command turns FM modulation on or off for the channel designated by the header suffix. The [SOURce<n>]:FM:STATe? query returns ON or OFF status for FM modulation for the channel designated by the header suffix. When one of the other modulation functions (sweep, AM modulation or FSK modulation) is on, turning FM modulation on will automatically turn off the other modulation function.
4-45
On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:FM:STATe {ON|OFF|<NR1>} [SOURce<n>]:FM:STATe? Arguments. ON or any nonzero value for <NR1> sets FM modulation to ON. OFF or 0 value for <NR1> sets FM modulation to OFF. The argument is reset to 0 when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Response> <Response>::=<NR1> where <NR1> is a decimal integer as follows; 0 1 FM modulation is currently turned off. FM modulation is currently powered on.
Examples. SOURce2:FM:STATe ON turn on CH2 FM modulation. SOURce1:FM:STATE? might return 1, which indicates that the CH1 FM modulation is powered on.
[SOURce<n>]: FREQuency[:CW|:FIXed]
The [SOURce<n>]:FREQuency[:CW|:FIXed] command sets the output frequency for the channel designated by the header suffix in case of other than sweep mode. The [SOURce<n>]:FREQuency[:CW|:FIXed]? query returns the output frequency for the channel designated by the header suffix in case of other than sweep mode.
4-46
On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:FREQuency[:CW|:FIXed] <Frequency> [SOURce<n>]:FREQuency[:CW|:FIXed]? [MINimum|MAXimum] Arguments. <Frequency>::=<NR3>[<unit>] where <NR3> The frequency ranges from 10 mHz to 16 MHz <unit>::=[Hz|kHz|MHz} The argument is reset to 100.000 0 kHz when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Frequency> <Frequency>::=<NR3> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:FREQuency:FIXed 500kHz sets the CH1 output frequency to 500 kH in other than sweep mode.
[SOURce<n>]: FREQuency:MODE
The [SOURce<n>]:FREQuency:MODE command selects the command set used to control frequencies for the channel designated by the header suffix. The [SOURce<n>]:FREQuency:MODE? query returns the selected command set used to control frequencies for the channel designated by the header suffix. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted.
4-47
Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:FREQuency:MODE {CW|FIXed|SWEep} [SOURce<n>]:FREQuency:MODE? Arguments. CW|FIXed The frequency is controlled to the value set by the [SOURce<n>]:FREQuency[:CW|:FIXed] command (and sweep modulation is turned off). SWEep The frequency is controlled to the values set by the [SOURce<n>]:FREQuency:STARt and [SOURce<n>]:FREQuency:STOP commands (and sweep modulation is powered on). The argument is reset to FIXed when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Response> <Response>::=<String> The response to the query is as follows: CW|FIXed SWEep Controls the frequency with the [SOURce<n>] :FREQuency[:CW|:FIXed] command. Controls the frequency with the sweep command set.
Examples. SOURce1:FREQuency:MODE SWEep specifies the sweep command set for controlling the CH1 output frequency.
[SOURce<n>]: FREQuency:STARt
The [SOURce<n>]:FREQuency:STARt command sets the start frequency of sweep modulation for the channel designated by the header suffix. The [SOURce<n>]:FREQuency:STARt? query returns the sweep start frequency for the channel designated by the header suffix. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted.
4-48
Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:FREQuency:STARt <Start Frequency> [SOURce<n>]:FREQuency:STARt? [MINimum|MAXimum] Arguments. <Start Frequency>::=<NR3>[<unit>] where <unit>::=[Hz|kHz|MHz} <NR3> The setting range for <Start frequency> is one of the following depending on the waveform for the sweep operation: SINusoid and SQUare Other than SINusoid and SQUare 10 mHz to 16 MHz 10 mHz to 100 kHz
The argument is reset to 1.000 0 kHz when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Start Frequency> <Start Frequency>::=<NR3> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:FREQuency:STARt 500kHz sets the start frequency to 500 kHz for the CH1 sweep when sine wave is selected.
[SOURce<n>]: FREQuency:STOP
The [SOURce<n>]:FREQuency:STOP command sets the stop frequency of sweep modulation for the channel designated by the header suffix. The [SOURce<n>]:FREQuency:STOP? query returns the sweep stop frequency for the channel designated by the header suffix.
4-49
On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:FREQuency:STOP <Stop Frequency> [SOURce<n>]:FREQuency:STOP? [MINimum|MAXimum] Arguments. <Stop Frequency>::=<NR3>[<unit>] where <unit>::=[Hz|kHz|MHz} <NR3> The setting range for <Stop frequency> is one of the following depending on the waveform for the sweep operation. SINusoid and SQUare Other than SINusoid and SQUare 10 mHz to 16 MHz 10 mHz to 100 kHz
The argument is reset to 100.00 kHz when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Start Frequency> <Start Frequency>::=<NR3> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:FREQuency:STARt 1 MHz sets the stop frequency to 1 MHz for the CH1 sweep when sine wave is selected.
[SOURce<n>]: FSKey[:FREQuency]
The [SOURce<n>]:FSKey[:FREQuency] command sets the hop frequency of FSK modulation for the channel designated by the header suffix.
4-50
The [SOURce<n>]:FSKey[:FREQuency]? query returns the FSK hop frequency for the channel designated by the header suffix. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (nonSCPI). Syntax. [SOURce<n>]:FSKey[:FREQuency] <Hop Frequency> [SOURce<n>]:FSKey[:FREQuency]? [MINimum|MAXimum] Arguments. <Hop Frequency>::=<NR3>[<unit>] where <unit>::=[Hz|kHz|MHz} <NR3> The setting range for <Hop frequency> is one of the following depending on the carrier waveform: SINusoid and SQUare Other than SINusoid and SQUare 10 mHz to 16 MHz 10 mHz to 100 kHz
The argument is reset to 10.000 00 kHz when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Hop Frequency> <Hop Frequency>::=<NR3> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:FSKey:FREQuency 1 MHz sets the Hop frequency to 1 MHz for the CH1 FSK modulation when sine wave is selected as the carrier wave.
4-51
[SOURce<n>]: FSKey:INTernal:RATE
The [SOURce<n>]:FSKey:INTernal:RATE command sets the key switching frequency at which the output frequency moves between the carrier frequency and the Hop frequency for the channel designated by the header suffix. The [SOURce<n>]:FSKey:INTernal:RATE? query returns the key switching frequency for the channel designated by the header suffix. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (nonSCPI). Syntax. [SOURce<n>]:FSKey:INTernal:RATE <Hop Rate> [SOURce<n>]:FSKey:INTernal:RATE? [MINimum|MAXimum] Arguments. <Hop Rate>::=<NR3>[<unit>] where <NR3> The key switching frequency ranges from 10 mHz to 50 kHz <unit>::=[Hz|kHz} The argument is reset to 1.000 kHz when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Hop Rate> <Hop Rate>::=<NR3> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:FSKey:INTernal:RATE 10kHz sets the key switching frequency to 10 kHz for the CH1 FSK modulation.
[SOURce<n>]: FSKey:STATe
The [SOURce<n>]:FSKey:STATe command turns FSK modulation on or off for the channel designated by the header suffix.
4-52
The [SOURce<n>]:FSKey:STATe? query returns ON or OFF status for FSK modulation for the channel designated by the header suffix. When one of the other modulation functions (sweep, AM modulation or FM modulation) is on, turning FSK modulation on will automatically turn off the other modulation function. On a single-channel instruments, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (nonSCPI). Syntax. [SOURce<n>]:FSKey:STATe {<ON|OFF|NR1>} [SOURce<n>]:FSKey:STATe? Arguments. ON or any nonzero value for <NR1> sets FSK modulation to ON. OFF or 0 value for <NR1> sets FSK modulation to OFF. The argument is reset to 0 when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Response> <Response>::=<NR1> where <NR1> is a decimal integer as follows; 0 1 FSK modulation is currently powered off. FSK modulation is currently powered on.
Examples. SOURce2:FSKey:STATe ON turn on CH2 FSK modulation. SOURce1:FSKey:STATE? might return 1, which indicates CH1 FSK modulation is powered on.
4-53
[SOURce<n>]: FUNCtion[:SHAPe]
The [SOURce<n>]:FUNCtion[:SHAPe] command sets the shape of the output waveform for the channel designated by the header suffix. The [SOURce<n>]:FUNCtion[:SHAPe]? query returns the shape of the output waveform for the channel designated by the header suffix. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:FUNCtion[:SHAPe] {SINusoid|SQUare|TRIangle|RAMP| PULSe|PRNoise|DC|USER[1]|USER2|USER3|USER4|EMEMory} [SOURce<n>]:FUNCtion[:SHAPe]? Arguments. SINusoid|SQUare|TRIangle|RAMP|PULSe|PRNoise|DC One of 7 types of function wave can be select for the output waveform. USER[1]|USER2|USER3|USER4 User wave saved in the user waveform memory is set for the output waveform. EMEMory Edit wave being edited in the edit memory is set for the output waveform. The argument is reset to SINusoid when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Examples. SOURce1:FUNCtion:SHAPe SQUare sets the CH1 output waveform to square wave.
[SOURce<n>]: PHASe[:ADJust]
The [SOURce<n>]:PHASe[:ADJust] command sets the phase for the output signal for the channel designated by the header suffix. The [SOURce<n>]:PHASe[:ADJust]? query returns the phase for the output signal for the channel designated by the header suffix. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted.
4-54
Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:PHASe[:ADJust] <Phase> [SOURce<n>]:PHASe[:ADJust]? [MINimum|MAXimum] Arguments. <Phase>::=<NR2>[<unit>] where <NR2> is a decimal number that must range as follows depending on the unit specified by the argument suffix: DEG RAD 360 to +360, in steps of 1 degree, relative phase value 2PI to +2PI, relative phase value
<unit>::={DEG|RAD} If <unit> is omitted, DEG is specified automatically. The argument is reset to 0 degree when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Phase> <Phase>::=<NR2> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:PHASe:ADJust 90DEG changes the CH1 output signal phase by 90 degrees.
[SOURce<n>]: PULSe:DCYCle
The [SOURce<n>]:PULSe:DCYCle command sets the duty cycle for the pulse wave for the channel designated by the header suffix. The [SOURce<n>]:PULSe:DCYCle? query returns the duty cycle for the pulse wave for the channel designated by the header suffix. This command is only valid for pulse wave. Duty cycle represents the amount of time per cycle that the pulse wave is high.
4-55
On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:PULSe:DCYCle <Duty> [SOURce<n>]:PULSe:DCYCle? [MINimum|MAXimum] Arguments. <Duty>::=<NR1>[<unit>] where <unit>::=PCT <NR1> is a decimal number that must range from 1 % to 99 %, in increments of 1 %. The argument is reset to 50 % when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Phase> <Duty>::=<NR1> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:PULSe:DCYCle 25PCT sets the duty cycle to 25 % for the CH1 pulse wave.
[SOURce<n>]: SWEep:TIME
The [SOURce<n>]:SWEep:TIME command sets the sweep time for the channel designated by the header suffix. The [SOURce<n>]:SWEep:TIME? query returns the sweep time for the channel designated by the header suffix. Sweep time represents the amount of time required to sweep from the start frequency to the stop frequency.
4-56
On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:SWEep:TIME <Sweep Time> [SOURce<n>]:SWEep:TIME? [MINimum|MAXimum] Arguments. <Sweep Time>::=<NR3>[<unit>] where <unit>::={ms|s} <NR3> is a decimal number that must range from 1 ms to 500 s. The argument is reset to 1.000 s when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Phase> <Sweep Time>::=<NR3> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:SWEep:TIME 10s sets the CH1 sweep time to 10 s.
[SOURce<n>]: SWEep:SPACing
The [SOURce<n>]:SWEep:SPACing command selects linear or logarithmic spacing for the sweep for the channel designated by the header suffix. The [SOURce<n>]:SWEep:SPACing? query returns LIN or LOG for the sweep spacing for the channel designated by the header suffix. The sweep output frequency is varied in steps. When linear is selected, the frequency is varied by a fixed amount for each step. When log is selected, the frequency is changed logarithmically for each step.
4-57
On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:SWEep:SPACing {LINear|LOGarithmic} [SOURce<n>]:SWEep:SPACing? [MINimum|MAXimum] Arguments. LINear LOGarithmic
sets the sweep spacing to linear. sets the sweep spacing to logarithmic.
The [SOURce<n>]:VOLTage[:LEVel][:IMMediate]:AMPLitude command sets the output amplitude for the currently selected waveform for the channel designated by the header suffix. The [SOURce<n>]:VOLTage[:LEVel][:IMMediate]:AMPLitude? query returns the output amplitude for the currently selected waveform for the channel designated by the header suffix. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:VOLTage[:LEVel][:IMMediate]:AMPLitude <Amplitude> [SOURce<n>]:VOLTage[:LEVel][:IMMediate]:AMPLitude? [MINimum|MAXimum] Arguments. <Amplitude>::=<NR2>[<unit>] where
4-58
<unit>::={mV|V} <NR2> is a decimal number that must range from 0 Vp-p to 10 Vp-p. The argument is reset to 1.000 V when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Amplitude> <Amplitude>::=<NR2> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:VOLTage:LEVel:IMMediate:AMPLitude 2V sets the CH1 output amplitude to 2 Vp-p.
The [SOURce<n>]:VOLTage[:LEVel][:IMMediate]:OFFSet command sets the DC offset for the currently selected waveform for the channel designated by the header suffix. The [SOURce<n>]:VOLTage[:LEVel][:IMMediate]:OFFSet? query returns the DC offset for the currently selected waveform for the channel designated by the header suffix. On a single-channel instrument, SOURce1 or SOURce header can be valid for designating the channel. If channel 2 is designated on the dual-channel instrument, the SOURce2 header cannot be omitted. Group. SOURce subsystem Command (SCPI). Syntax. [SOURce<n>]:VOLTage[:LEVel][:IMMediate]:OFFSet <Offset> [SOURce<n>]:VOLTage[:LEVel][:IMMediate]:OFFSet? [MINimum|MAXimum] Arguments. <Offset>::=<NR2>[<unit>] where
4-59
<unit>::={mV|V} <NR2> is a decimal number that must range from 5 V to +5 V. The argument is reset to 0.000 V when the Arbitrary Function Generator is powered on or the *RST command is sent to this instrument. Responses. <Offset> <Offset>::=<NR2> The response to a query is as follows depending on the argument status: <Argument>::=<None> Returns the current setting <Argument>::=<MINimum> Returns the value to the available minimum setting <Argument>::=<MAXimum> Returns the value to the available maximum setting Examples. SOURce1:VOLTage:LEVel:IMMediate:OFFSet 2V sets the CH1 output DC offset to 2 V.
*SRE
The *SRE common command sets the bits of the SRER (Service Request Enable Register). The *SRE? common query returns the contents of SRER. Group. IEEE488.2 Common Command. Syntax. *SRE <Bit Value> Arguments. <Bit Value>::=<NR1> where the argument must be decimal number from 0 to 255. The SRER bits are set in binary bit according to the decimal number. The power-on default for the ESER is to reset all bits to zero. Examples. *SRE 48 sets the SRER to 48 (binary 00110000), which sets the ESB and MAV bits.
4-60
*SRE? might return 32 which indicates that the SRER contains the binary number 00100000.
The STATus:OPERation:CONDition? query returns the contents of the Operation Condition Register. Group. STATus subsystem Command (SCPI). Syntax. STATus:OPERation:CONDition? Responses. <OCRbits>::=<NR1> where <NR1> must be returned in decimal number according to the binary data in the OCR. Examples. STATus:OPERation:CONDition? might return 32 which indicates that the OCR contains the binary number 00000000 00100000 and the instrument is waiting for trigger.
STATus: OPERation:ENABle
The STATus:OPERation:ENAble command sets the mask for the Operation Enable Register. The STATus:OPERation:ENAble? query returns the value of the mask for the Operation Enable Register. Group. STATus subsystem Command (SCPI). Syntax. STATus:OPERation:ENABle <Bit Value> STATus:OPERation:ENABle? Arguments. <Bit Value>::=<NRf> or nondecimal data Responses. <OENRbits>::=<NR1>
4-61
where <NR1> must be returned in decimal number according to the binary data in the OENR. Examples. STATus:OPERation:ENAble #H0008 sets the SWEeping bit in the OENR to enable. STATus:OPERation:ENABle? might return 8 which indicates that the OENR contains the binary number 00000000 00001000 and the SWE bit is set to enable.
The STATus:OPERation[:EVENt]? query returns the value in the Operation Event Register and clears the Operation Event Register. Group. STATus subsystem Command (SCPI). Syntax. STATus:OPERation[:EVENt]? Responses. <OEVRbits>::=<NR1> where <NR1> must be returned in decimal number according to the binary data in the OEVR. Examples. STATus:OPERation:EVENt? might return 8 which indicates that the OEVR contains the binary number 00000000 00001000 and the SWE bit is set to enable.
The STATus:PRESet command presets the SCPI status registers (OENR and QENR). Group. STATus subsystem Command (SCPI). Syntax. STATus:PRESet
4-62
The STATus:QUEStionable:CONDition? query returns the contents of the Questionable Condition Register. Group. STATus subsystem Command (SCPI). Syntax. STATus:QUEStionable:CONDition? Responses. <QCRbits> <QCRbits>::=<NR1> where <NR1> must be returned in decimal number according to the binary data in the QCR. Examples. STATus:QUEStionable:CONDition? might return 256 which indicates that the QCR contains the binary number 00000001 00000000 and the calibration is completed with some errors.
STATus: QUEStionable:ENABle
The STATus:QUEStionable:ENAble command sets the mask for the Questionable Enable Register. The STATus:QUEStionable:ENAble? query returns the value of the mask for the Questionable Enable Register. Group. STATus subsystem Command (SCPI). Syntax. STATus:QUEStionable:ENABle <Bit Value> STATus:QUEStionable:ENABle? Arguments. <Bit Value>::=<NRf> or nondecimal data
4-63
Responses. <QENRbits>::=<NR1> where <NR1> must be returned in decimal number according to the binary data in the QENR. Examples. STATus:QUEStionable:ENAble #H0100 sets the CALibration bit in the QENR to enable. STATus:QUEStionable:ENABle? might return 256 which indicates that the QENR contains the binary number 00000001 00000000 and the CAL bit is set to enable.
The STATus:QUEStionable[:EVENt]? query returns the value in the Questionable Event Register and clears the Questionable Event Register. Group. STATus subsystem Command (SCPI). Syntax. STATus:QUEStionable[:EVENt]? Responses. <QEVRbits>::=<NR1> where <NR1> must be returned in decimal number according to the binary data in the QEVR. Examples. STATus:QUEStionable:EVENt? might return 256 which indicates that the QEVR contains the binary number 00000001 00000000 and the CALibration bit is set to enable.
The STATus:QUEue[:NEXT]? query retrieves and returns error data from the Error and Event Queue. It has the same function as the SYSTem:ERRor? query. Group. STATus subsystem Command (SCPI). Syntax. STATus:QUEue[:NEXT]?
4-64
Responses. <Response>::=<Error/event number>,<Error/event description>[;<Device dependent info>] where <Error/event number> is an integer between 32768 and 32767. Negative values are error/event numbers reserved in SCPI standards. Positive values are error/event numbers determined by this instrument. 0 indicates that no error or event has occurred. <Error/event description> is a message relating to the error/event number. <Device dependent info> is more detailed information relating to the error/event number. Examples. STATus:QUEue[:NEXT]? might return the following response: 102,Syntax error;possible invalid :SOUR:FREQ 2V In the example shown above, the unit is invalid.
Group. IEEE488.2 Common Command. Syntax. *STB? The *STB? common query returns the value of the SBR (Status Byte Register). At this time, bit 6 of the SBR is read as a MSS (Master Status Summary) bit. Responses. <NR1> which is a decimal number. Examples. *STB? might return 96, which indicates that the SBR contains the binary number 01100000.
SYSTem:BEEPer:STATe
The SYSTem:BEEPer:STATe command sets the beep sound to on or off. The SYSTem:BEEPer:STATe? query returns the beep sound setting.
4-65
Group. SYSTem subsystem Command (SCPI). Syntax. SYSTem:BEEPer:STATe {ON|OFF|<NR1>} SYSTem:BEEPer:STATe? Arguments. ON or any nonzero value for <NR1> sets the beep sound to ON. OFF or 0 value for <NR1> sets the beep sound to OFF. Responses. <Response>::=<NR1> where <NR1> is a decimal integer as follows; 0 1 the beep sound is currently turned off. the beep sound is currently powered on.
Examples. SYSTem:BEEPer:STATe ON turns on the beep sound. SYSTem:BEEPer:STATe? might return 1, which indicates that the beep sound is set to ON state.
The SYSTem:ERRor? query retrieves and returns error data from the Error and Event Queue. It has the same function as the STATus:QUEue[:NEXT]? query. Group. SYSTem subsystem Command (SCPI). Syntax. SYSTem:ERRor? Responses. <Response>::=<Error/event number>,<Error/event description>[;<Device dependent info>] where <Error/event number> is an integer between 32768 and 32767. Negative values are error/event numbers reserved in SCPI standards.
4-66
Positive values are error/event numbers determined by this instrument. 0 indicates that no error or event has occurred. <Error/event description> is a message relating to the error/event number. <Device dependent info> is more detailed information relating to the error/event number. Examples. SYSTem:ERRor? might return the following response: 102,Syntax error;possible invalid :SOUR:FREQ 2V In the example shown above, the unit is invalid.
SYSTem:KLOCk
The SYSTem:KLOCk command locks or unlocks the functions of the keys on the front panel. The SYSTem:KLOCk? query returns whether or not the functions of the keys on the front panel are locked. If the key functions are locked, operation from the front panel is not possible. Group. SYSTem subsystem Command (SCPI). Syntax. SYSTem:KLOCk {ON|OFF|<NR1>} SYSTem:KLOCk? Arguments. ON or any nonzero value for <NR1> locks the key control on the front panel. OFF or 0 value for <NR1> unlocks the key control on the front panel. Responses. <Response>::=<NR1> where <NR1> is a decimal integer as follows; 0 1 the key control on the front panel is currently unlocked. the key control on the front panel is currently locked.
4-67
Examples. SYSTem:KLOCk ON locks the key control on the front panel. SYSTem:KLOCk? might return 1, which indicates that the key control on the front panel is locked.
The SYSTem:SECurity:IMMediate command initializes the user waveform memory, edit memory, settings memory, and returns all settings to their factory default (secure) values. The system menu items (GPIB ADDRESS, STEP RECALL, LAST RECALL STEP, KEY CLICK, BEEP, LOCK WAVE and UNLOCK WAVE) are also initialized to their factory settings. Group. SYSTem subsystem Command (SCPI). Syntax. SYSTem:SECurity:IMMediate Examples. SYSTem:SECurity:IMMediate initializes the user waveform memory, edit memory, settings memory, and returns all settings to their factory default (secure) values.
SYSTem:SRECall[:STATe]
The SYSTem:SRECall[:STATe] command sets the step recall mode to on or off. The SYSTem:SRECall[:STATe]? query returns the step recall mode setting. Group. SYSTem subsystem Command (nonSCPI). Syntax. SYSTem:SRECall[:STATe] {ON|OFF|<NR1>} SYSTem:SRECall[:STATe]? Arguments. ON or any nonzero value for <NR1> sets the step recall mode to ON. OFF or 0 value for <NR1> sets the step recall mode to OFF.
4-68
Responses. <Response>::=<NR1> where <NR1> is a decimal integer as follows; 0 1 the step recall mode is currently turned off. the step recall mode is currently powered on.
Examples. SYSTem:SRECall:STATe ON turns on the step recall mode. SYSTem:SRECall:STATe? might return 1, which indicates that the step recall mode is set to ON state.
SYSTem:ULIMit
The SYSTem:ULIMit command sets the upper limit for the setting memory number in STEP RECALL mode. The SYSTem:ULIMit? query returns the upper limit for the setting memory number in STEP RECALL mode. Group. SYSTem subsystem Command (nonSCPI). Syntax. SYSTem:ULIMit <Memory Number> SYSTem:ULIMit? [MINimum|MAXimum] Arguments. <Memory Number>::=<NR1> where <NR1> is the upper limit for the setting memory number in STEP RECALL mode and ranges from 1 to 19. Examples. SYSTem:ULIMit 5 sets the upper limit memory number to 5. SYSTem:ULIMit? might return 5, which indicates that the upper limit memory number is 5.
The SYSTem:VERSion? query returns the conformed SCPI version of the Arbitrary Function Generator.
4-69
Group. SYSTem subsystem Command (SCPI). Syntax. SYSTem:VERSion? Responses. <SCPI Version>::=YYYY.Z
where YYYY
Indicates the year. Indicates the version number for that year.
The TRACe|DATA:CATalog? query returns the user waveform memory names and the edit memory name. Group. TRACe|DATA subsystem Command (SCPI). Syntax. TRACe|DATA:CATalog? Responses. <String>,<String>,<String>,<String>,<String> A series of strings separated by commas is returned. Each string is enclosed within quotation marks. Examples. DATA:CATalog? might return USER,USER2,USER3,USER4,EMEM
The TRACe|DATA:COPY command copies the content of the edit memory to the specified user waveform memory. An error will occur if the destination user waveform memory is locked. Group. TRACe|DATA subsystem Command (SCPI).
4-70
Syntax. TRACe|DATA:COPY <Trace Name>,EMEMory Arguments. <Trace Name>::={USER[1]|USER2|USER3|ISER4} where <Trace Name> is the destination file name. Examples. DATA:COPY USER1,EMEMory copies the waveform data in the edit memory to the user waveform memory USER1.
The TRACe|DATA[:DATA] command transfers the waveform data from the external controller to the edit memory in the Arbitrary Function Generator. Group. TRACe|DATA subsystem Command (SCPI). Syntax. TRACe|DATA[:DATA] EMEMory,<Block> Arguments. <Block>::=<Arbitrary Block> where <Arbitrary Block> is the unscaled waveform data in binary format. Each data point <Block> that ranges from 0 to 4094 is transferred as an unsigned integer code of two bytes with an effective bit length of 12 bits. The byte order for the point data is designated by the FORMat:BORDer command. Examples. DATA:DATA EMEMory,#42000<DAB><DAB>.......<DAB> transmits an unscaled waveform to the edit memory in the Arbitrary Function Generator. The block data element #42000 indicates that 4 is the number of digits in 2000 (byte count) and the 2000 bytes of binary data are to be transmitted.
The TRACe|DATA[:DATA]:LINE command writes line data to the edit memory. The data between the designated points is interpolated linearly. Group. TRACe|DATA subsystem Command (SCPI).
4-71
Syntax. TRACe|DATA[:DATA]:LINE EMEMory,<Start Point>,<Point Data>, <End Point>,<Point Data> Arguments. <Start Point>::=<NR1> where <NR1> is the first point from which the data is interpolated linearly. <End Point>::=<NR1> where <NR1> is the last point to which the data is interpolated linearly. <Point Data>::=<NR1> where <NR1> is the data value at the start point or the end point. Examples. DATA:DATA:LINE EMEMory,1,2047,250,4094 sets a data value of 2047 for start point 1 and a data value of 4094 for end point 250, and interpolates linearly between these two points in the edit memory.
TRACe|DATA[:DATA]: VALue
The TRACe|DATA[:DATA]:VALue writes a data value at the designated points in the edit memory. The TRACe|DATA[:DATA]:VALue? query returns the data value at the designated points in the edit memory. Group. TRACe|DATA subsystem Command (SCPI). Syntax. TRACe|DATA[:DATA]:VALue EMEMory,<Data Point>,<Data Value>, TRACe|DATA[:DATA]:VALue? EMEMory,<Data Point> Arguments. <Data Point>::=<NR1> where <NR1> is the designated point number in the edit memory. <Data Value>::=<NR1> where <NR1> is the data value for the designated point number. Examples. DATA:DATA:VALue EMEMory,500,2047 sets the data value to 2047 for the point number 500 in the edit memory.
4-72
The TRACe|DATA:DEFine command initialize the edit memory. Group. TRACe|DATA subsystem Command (SCPI). Syntax. TRACe|DATA:DEFine EMEMory[,{<Num of Points>|<Trace Name>}] Arguments. <Num of Point>::=<NR1> where <NR1> is the number of points in the edit memory that ranges from 10 to 16 384. If the second parameter in the argument is a numerical value, the length of the edit memory will be the number of points designated by this number and each point will be initialized to the default value (2047). <Trace Name>::={USER[1]|[USER2|USER3|USER4} is the name of the user waveform memory. If the second parameter in the argument is the name of the user waveform memory, the contents of the user waveform memory will be copied to the edit memory. If the second parameter in the argument is omitted, the edit memory will be initialized to the default number of points (1000) and value (2047). Examples. DATA:DEFine EMEMory,1000 sets the length of the edit memory to 1000 points and initializes the data points to the default value 2047.
TRACe|DATA: LOCK[:STATe]
The TRACe|DATA:LOCK[:STATe] command locks or unlocks the user waveform memory. The TRACe|DATA:LOCK[:STATe]? query returns the status (locked or unlocked) of the user waveform memory. Group. TRACe|DATA subsystem Command (nonSCPI). Syntax. STRACe|DATA:LOCK[:STATe] <Trace Name>,{ON|OFF|<NR1>} STRACe|DATA:LOCK[:STATe]? <Trace Name>
4-73
Arguments. <Trace Name>::=USER[1]|USER2|USER3|USER4 designates a user waveform memory to be locked or unlocked. ON or any nonzero value for <NR1> locks the user waveform memory designated with <Trace Name>. OFF or 0 value for <NR1> unlocks the user waveform memory designated with <Trace Name>. Responses. <Response>::=<NR1> where <NR1> is a decimal integer as follows; 0 1 the specified user waveform memory is currently unlocked. the specified user waveform memory is currently locked..
Examples. DATA:LOCK:STATe USER1,ON locks the USER1 waveform memory. DATA:LOCK:STATe? USER1 returns 1, which indicates that the USER1 waveform memory is locked.
TRACe|DATA:POINts
The TRACe|DATA:POINts command sets the number of data points of the waveform created in the edit memory. The TRACe|DATA:POINts? query returns the number of data points in the waveform. Group. TRACe|DATA subsystem Command (SCPI). Syntax. TRACe|DATA:POINts EMEMory,<Num of Points> TRACe|DATA:POINts?EMEMory Arguments. <Num of Points>::=<NR1> where <NR1> sets the number of points of the waveform created in the edit memory. The number of points ranges from 10 to 16,384. If the second parameter <Num of Point> in the argument is omitted, the edit memory will be set to the default number of points (1000).
4-74
Examples. DATA:POINts EMEMory,500 sets the waveform data points to 500 in the edit memory.
The *TRG common command generates trigger event. Group. IEEE488.2 Common Command. Syntax. *TRG Examples. *TRG generates trigger event.
The *TST? common query performs a self test and returns status a that indicates whether the Arbitrary Function Generator completes the self test without error. Group. IEEE488.2 Common Command. Syntax. *TST? Responses. <Result> where <Result>::=<NR1>, which is one of following decimal integers: 0 500 501 502 503 504 Terminated without error. Self test error Flash memory error Control memory error Waveform memory error GPIB interface error
4-75
If errors are detected during self test, the error code for the first error to be discovered is returned. NOTE. Up to 20 seconds are required to complete the self test for the Arbitrary Function Generator. During this time, the Arbitrary Function Generator does not respond to any commands or queries issued.
Examples. *TST? performs an internal self test and returns the results (for example, it might return 0, which indicates the self test terminated without any detected errors).
The *WAI common command prevents the Arbitrary Function Generator from executing any further commands or queries until all pending operations are completed. Group. IEEE488.2 Common Command Syntax. *WAI Examples. *WAI prevents the execution of any commands or queries until all pending operations are complete.
Programming Examples
This section describes example programs in Quick BASIC that illustrate methods that you can use to control the Arbitrary Function Generator over the GPIB interface. The programs run on PC compatible systems equipped with a National Instruments GPIB board and associated drivers. All the example programs assume that the GPIB system recognizes the instrument as DEV1 and the PC (external controller) as GPIB0 and also recognizes the address number of DEV1 as 1 and GPIB0 as 0.
The first example illustrates setting up Arbitrary a Function Generator for output.
$INCLUDE: qbdec1.bas CLS Open Device CALL IBFIND(GPIB0, BD%) CALL IBFIND(DEV1, AFG%) Set GPIB address CALL IBPAD(BD%, 0) CALL IBPAD(AFG%, 1) Reset Instrument CALL IBWRT(AFG%, *RST) CH1 settings CALL IBWRT(AFG%, FUNCTION SIN) Function is SINE wave. CALL IBWRT(AFG%, FREQUENCY 10E3) Frequency is 10 kHz. CALL IBWRT(AFG%, VOLTAGE:AMPLITUDE 2.00) Amplitude is 2Vpp. CALL IBWRT(AFG%, VOLTAGE:OFFSET 1.00) Offset is 1 V. CALL IBWRT(AFG%, PHASE:ADJUST 0DEG) Phase is 0 degree. CH2 settings CALL IBWRT(AFG%, SOURCE2:FUNCTION SIN) Function is SINE wave. CALL IBWRT(AFG%, SOURCE2:FREQUENCY 10E3) Frequency is 10 kHz. CALL IBWRT(AFG%, SOURCE2:VOLTAGE:AMPLITUDE 1.00) Amplitude is 1 Vpp. CALL IBWRT(AFG%, SOURCE2:VOLTAGE:OFFSET 0.00) Offset is 0 V. CALL IBWRT(AFG%, SOURCE2:PHASE:ADJUST 90DEG) Phase is 90 degree. Save settings and output on CALL IBWRT(AFG%, *SAV 0) Save setup to memory 0.
4-77
CALL IBWRT(AFG%, *RCL 0) Recall setup from memory 0. CALL IBWRT(AFG%, OUTPUT ON) CH1 output on. CALL IBWRT(AFG%, OUTPOUT2 ON) CH2 output on. Close GPIB connection CALL IBONL(BD%, 0) CALL IBONL(AFG%, 1) END
The second example illustrates a simple waveform transfer from the external controller to the EDIT memory in the Arbitrary Function Generator and a waveform copy from the EDIT memory to the USER1 memory. $INCLUDE: qbdec1.bas CLS Open Device CALL IBFIND(GPIB0, BD%) CALL IBFIND(DEV1, AFG%) Set GPIB address CALL IBPAD(BD%, 0) CALL IBPAD(AFG%, 1) Reset Instrument CALL IBWRT(AFG%, *RST) Create arbitrary block data (Num of points = 2000) Byte count digit = 4 WAVE$ = #44000 Byte count = 4000 FOR I = 1 TO 500
4-78
Rise time (500 points) DATA = I * 8 HI = INT(DATA / 256) LO = DATA (HI * 256) WAVE$ = WAVE$ + CHR$(HI) + CHR$(LO) NEXT I FOR I = 501 TO 800 Data Hi (300 points) DATA = 4000 HI = INT(DATA / 256) LO = DATA (HI * 256) WAVE$ = WAVE$ + CHR$(HI) + CHR$(LO) NEXT I FOR I = 801 TO 1000 Fall time (200 points) DATA = (1000 I) * 20 HI = INT(DATA / 256) LO = DATA (HI * 256) WAVE$ = WAVE$ + CHR$(HI) + CHR$(LO) NEXT I FOR I = 1001 TO 2000 Data Lo (1000 points) DATA = 0 HI = INT(DATA / 256) LO = DATA (HI * 256) WAVE$ = WAVE$ + CHR$(HI) + CHR$(LO) NEXT I Send waveform Send arbitrary block data to EDIT memory. CALL IBWRT(AFG%, TRACE:DATA EMEMORY, + WAVE$) Copy EDIT data to USER1 memory. CALL IBWRT(AFG%, TRACE:COPY USER1, EMEM) Setup CH1 output parameter CALL IBWRT(AFG%, FUNCTION USER1) Function is USER1. CALL IBWRT(AFG%, FREQUENCY 8K) Frequency is 8 kHz. CALL IBWRT(AFG%, OUTPUT ON) Output on.
4-79
4-80
Process Flow
When an event occurs, the SESR bit corresponding to that event is set; the event is stacked in the error and event queue and the OAV bit in the SBR is set. If the bit in the ESER corresponding to the event is also set, the ESB bit in the SBR will be set as well. If a message has been sent to the Output Queue, the MAV bit in the SBR is set.
5-1
CALibration
QEVR OEVR
QENR OENR
CALibrating
Output Queue
*STB?
*ESR?
5-2
This block is used to report on the status of several operations being executed by the Arbitrary Function Generator. This block is made up of three registers: the Operation Condition Register (OCR), the Operation Event Register (OEVR) and the Operation Enable Register (OENR). See the Error and Event Status Block shown at the bottom of Figure 51. When the instrument achieves a certain status, the corresponding bit is set to the OCR. This register cannot be written to by the user. OCR bits that have changed from false (reset) to true (set) status are set in the OEVR. The function of the OENR is to mask the OEVR. This mask can be set by the user and can take AND with the OEVR to determine whether or not the OSB bit in the Status Byte Register (SBR) should be set. Refer to Registers on page 53 for the content of the bits in these registers. Process Flow. When the status designated for the OCR changes, a bit in the OCR is set or reset. If a bit has changed from reset to set status, the corresponding bit in the OEVR is set. If the bit corresponding to that status is also set in the OENR, the OSB bit in the SBR is set as well.
This block reports on the status of signals and data, such as the accuracy of entered data and signals generated by the instrument. The register configuration and process flow are the same as for the Operation Status Block. QSB is the bit corresponding to Questionable Status Block in the SBR.
Registers
The registers fall into two functional groups: H H Status registers, which store information about the status of Arbitrary Function Generator. Enable registers, which determine whether certain events are reported to the Status Registers and the Event Queue. Enable registers mask the Status Registers. This type of register can be freely set by the user to match the objectives of the user.
5-3
Status Register
Status Bytes Register (SBR). The status byte register (SBR) is made up of 8 bits and is defined as shown in the diagram below. Of these bits, numbers 4, 5 and 6 are defined by IEEE Std. 488.21987 and are used to monitor the output queue, SESR (Standard Event Status Register) and service request, respectively. Bits 7, 3, and 2 are defined by SCPI and monitor the operation status, questionable status and error/event queue.
6 RQS 6 MSS
7 OSB
5 ESB
4 MAV
3 QSB
2 EQS
6 5
4 3 2 10
5-4
Standard Event Status Register (SESR). The Standard Event Status Register (SESR) is made up of eight bits which note the occurrence of eight different types of events as explained below.
7 PON 6 URQ 5 CME 4 EXE 3 DDE 2 QYE 1 RQC 0 OPC
Execution error messages are listed in Table 5-8 on page 5-12. 3 2 DDE (Device Dependent Error): Indicates that a device specific error occurred. Device error messages are listed in Table 5-9 on page 5-14. QYE (Query Error): Indicates that an error occurred upon attempting to read the output queue. Such an error occurs for one of the following two reasons.: H H 1 An attempt was made to retrieve a message from the output queue, even through it is empty or pending. Output queue message was cleared while it was being retrieved from the output queue.
RQC (Request Control): The Arbitrary Function Generator does not use this bit. Request Control (RQC) is used to show that an instrument has requested to transfer bus control back to the controller. (This is the usage prescribed by the IEEE Std. 488.1.) OPC (Operation Complete): Indicates that the operation is complete. This bit is set when all pending operations complete following a *OPC command.
0 (LSB)
5-5
Operation Event Register (OEVR). In this instrument, this register has the same content as the Operation Condition Register described below.
15 14 13 12 11 10 9 8 7 6 5 WTRIG 4 3 SWE 2 1 0 CAL
Operation Condition Register (OCR). The Operation Condition Register (OCR) is made up of sixteen bits, which note the occurrence of three different types of events as explained below.
15 14 13 12 11 10 9 8 7 6 5 WTRIG 4 3 SWE 2 1 0 CAL
4 3
21 0
Questionable Event Register (QEVR). In this instrument, this register has the same content as the Questionable Condition Register described below.
15 14 13 12 11 10 9 8 CAL 7 6 5 4 3 2 1 0 VOLT
5-6
Questionable Condition Register (QCR). The Questionable Condition Register (QCR) is made up of sixteen bits which note the occurrence of only one type of event as explained below.
15 14 13 12 11 10 9 8 CAL 7 6 5 4 3 2 1 0 VOLT
Enable Register
The bits in the enable register correspond to the bits in the event register being controlled. By setting or resetting the bits in the enable register, the operator can determine whether an event that has occurred should be recorded to the status register. In other words, these bits mask the status register. Event Status Enable Register (ESER). The Event Status Enable Register (ESER) is made up of bits that are defined exactly the same as bits 0 through 7 in the SESR. This register is used for the operator to define whether the ESB bit in the SBR is set when an event occurs and the corresponding SESR bit is set.
7 PON 6 URQ 5 CME 4 EXE 3 DDE 2 QYE 1 RQC 0 OPC
When the SESR bit is set, the ESER bit corresponding to the event should be set to cause the ESB bit in the SBR to be set. Conversely, the ESER bit corresponding to the event should be reset to cause the ESB bit in the SBR not to be set. For example, when all bits in the ESER have been reset to 0, the ESB bit in the SBR will not be set, even if some sort of error should occur. Use the *ESE command to set the bits in the ESER. Use the *ESE? query to read it.
5-7
Service Request Enable Register (SRER). The Service Request Enable Register (SRER) controls bit 6 in the Status Byte Register (SBR). When this register is set, if the corresponding bit in the SBR is set, the RQS bit in the SBR is set and a service request (SRQ) is generated. In the generation of a service request, the instrument changes the status of the SRQ line in the GPIB bus to Low and issues a service request to the controller. The status byte set for RQS is returned in response to the serial polling performed by the controller.
6 RQS 6 MSS
7 OSB
5 ESB
4 MAV
3 QSB
2 EQS
Use the *SRE command to set the SRER. Use the *SRE? query to read it. The RQS bit remains set to one until either the Status Byte Register is read with a Serial Poll or the MSS bit changes back to a zero. Operation Enable Register (OENR). The Operation Enable Register (OENR) is made up of bits that are defined exactly the same as bits 0 through 15 in the OEVR. This register is used for the operator to define whether the OSB bit in the SBR is set when an event occurs and the corresponding OEVR bit is set.
15 14 13 12 11 10 9 8 7 6 5 WTRIG 4 3 SWE 2 1 0 CAL
Use the STATus:OPERation:ENABle command to set the bits in the OENR. Use the STATus:OPERation:ENABle? query to read it. Questionable Enable Register (QENR). The Questionable Enable Register (QENR) is made up of bits that are defined exactly the same as bits 0 through 15 in the OEVR. This register is used for the operator to define whether the QSB bit in the SBR is set when an event occurs and the corresponding QEVR bit is set.
15 14 13 12 11 10 9 8 CAL 7 6 5 4 3 2 1 0 VOLT
Use the STATus:QUEStionable:ENABle command to set the bits in the OENR. Use the STATus:QUEStionable:ENABle? query to read it.
5-8
Queue
The status and event reporting system contains two queues, the Output Queue and the Event Queue. Output Queue. The Output Queue is a FIFO (First In First Out) queue that holds response messages until they are requested. When a message is put in the queue, the MAV bit in the Status Byte Register (SBR) is set. The Output Queue empties each time the Arbitrary Function Generator receives a new command or query. Therefore the controller must read the output queue before it sends the next command or query command or it will lose responses to earlier queries. If a command or query command is given without taking it out, an error results and the Output Queue is emptied. Error and Event Queue. The Event Queue is a FIFO queue which can hold up to 64 Arbitrary Function Generator events. When the number of events exceeds 64, the 64th event is replaced by the event code 350, Queue overflow. Events are retrieved by achieving synchronicity with the *ESR? query and using the SYSTem:ERRor? or STATus:QUEue[:NEXT]? query as described below. First, the *ESR? query is issued to read the contents of the SESR (and the contents of the SESR are cleared as soon as they have been read). If a bit has been set in the SESR, it indicates that events have been stacked in the Error and Event Queue. The event codes can be retrieved using the SYSTem:ERRor? or STATus:QUEue[:NEXT]? queries. *ESR? SYSTem:ERRor? (or STATus:QUEue[:NEXT]?)
If an event is retrieved from the Error and Event Queue without using the *ESR? query, the SESR bit will remain set even when the event has disappeared from the Error and Event Queue. Conversely, even if the SYSTem:ERRor? or STATus:QUEue[:NEXT]? query is used to retrieve all events from the Error and Event Queue and the *ESR? query has not been used to clear the SESR, a bit will be set in the SESR even though there are no events stacked in the Error and Event Queue. If a new event occurs before existing events are retrieved, the bit corresponding to the SESR event will be set and the event will be stacked to the Error and Event Queue.
5-9
Most messages returned have both an event message, followed by a semicolon (;), and a second message which contains more detailed information. These secondary messages are not listed in this manual. The SYSTem:ERRor?, and STATus:QUEue[:NEXT]? queries return both the event code and event message in the following format: <event code>, <event message ; secondary message> When using these query commands, use the *ESR? query to make the events available for dequeuing.
Table 55 lists the definition of event codes. When an error has occurred, it is possible to find out what class of error has occurred by simply checking the code range. See Tables 56 through 513 for more information on events used by the Arbitrary Function Generator; events are organized by class in these tables. Table 5-5: Definition of Event Codes
Event Class No Events Command Errors Execution Errors Device Specific Errors Query Errors Extended Device Specific Errors Reserved Event Code Ranges 0 -100 -199 -200 -299 -300 -399 -400 -499 1 32767 other than above Descriptions No event nor status Command syntax errors Command execution errors Internal device errors (Hardware errors) System event and query errors Device dependent device errors (unused)
Table 56 lists the message when the system has no events nor status to report. These have no associated SESR bit.
5-10
Table 57 lists the error messages generated due to improper command syntax. In this case, check that the command is properly formed and that it follows the syntax. Table 5-7: Command Errors (CME Bit:5)
Code 100 101 102 103 104 105 108 109 110 111 112 113 114 120 121 123 124 128 130 131 134 138 140 141 144 148 150 151 158 160 161 168 Description Command error Invalid character Syntax error Invalid separator Data type error GET not allowed Parameter not allowed Missing parameter Command header error Header separator error Program mnemonic too long Undefined header Header suffix out of range Numeric data error Invalid character in number Exponent too large Too many digits Numeric data not allowed Suffix error Invalid suffix Suffix too long Suffix not allowed Character data error Invalid character data Character data too long Character data not allowed String data error Invalid string data String data not allowed Block data error Invalid block data Block data not allowed
5-11
Table 58 lists the execution errors that are detected during execution of a command. Table 5-8: Execution Errors (EXE Bit:4)
Code 200 201 202 203 210 211 212 213 214 215 220 221 222 223 224 225 226 230 231 232 233 240 241 Description Execution error Invalid while in local Settings lost due to RTL Command protected Trigger error Trigger ignored Arm ignored Init ignored Trigger deadlock Arm deadlock Parameter error Settings conflict Data out of range Too much data Illegal parameter value Out of memory Lists not same length Data corrupt or stale Data questionable Invalid format Invalid version Hardware error Hardware missing
5-12
5-13
Table 59 lists the internal errors that can occur during operation of the Arbitrary Function Generator. These errors may indicate that the Arbitrary Function Generator needs repair. Table 5-9: Internal Device Errors (DDE Bit:3)
Code 300 310 311 312 313 314 315 330 350 Description Device specific error System error Memory error PUD memory lost Calibration memory lost Save/recall memory lost Configuration memory lost Self test failed Queue overflow
Table 510 lists query error messages. These messages are generated when the output queue controller detects a protocol error during the exchange of messages. Table 5-10: Query Errors (QYE Bit:2)
Code 400 410 420 430 440 Description Query error Query INTERRUPTED Query UNTERMINATED Query DEADLOCKED Query UNTERMINATED after indefinite response
Table 511 lists error messages for device-dependent errors detected while a self test command is being executed. Codes are expressed as positive numbers and indicate errors specific to that device. Table 5-11: Device Dependent Device Errors (DDE Bit:3)
Code 500 501 502 503 504 Description Self test error Flash memory error Control memory error Waveform memory error GPIB interface error
5-14
Table 512 lists error messages for device-dependent errors that occur when, as a result of calibration, the calibration constant cannot be set. Codes are expressed as positive numbers and indicate errors specific to that device. Table 5-12: Device Dependent Device Errors (DDE Bit:3)
Code 600 601 602 603 604 605 606 607 Description Calibration error Offset calibration error Arbitrary gain calibration error Sine gain calibration error Square gain calibration error AM offset calibration error Sine flatness calibration error Output attenuator calibration error
Table 513 lists error messages for device-dependent errors detected while data was being read from or written to the edit memory or user waveform memory. Codes are expressed as positive numbers and indicate errors specific to that device. Table 5-13: Device Dependent Device Errors (DDE Bit:3)
Code 700 701 702 703 704 Description Trace data error User waveform locked Trace data byte count error Too much trace data Not enough trace data
5-15
5-16
Appendix A: Specifications
This section contains the AFG310 and AFG320 Arbitrary Function Generator specifications. All specifications are guaranteed unless labeled typical. Typical specifications are provided for your convenience but are not guaranteed.
Performance Conditions
The performance limits in this specification are valid with these conditions: H H The function generator must have been calibrated/adjusted at an ambient temperature between +20_ C and +30_ C. The function generator must be in an environment with temperature, altitude, humidity, and vibration within the operating limits described in these specifications. The function generator must have had a warm-up period of at least 20 minutes. The function generator must be operating at an ambient temperature between +10_ C and +40_ C.
H H
Electrical Characteristic
Table A-1: Operating Mode
Name Continuous Triggered Burst Description Generates the waveform continuously. Output quiescent until triggered by an external, GPIB, or manual trigger, then generates a waveform only one time. Output quiescent until triggered by an external, GPIB, or manual trigger, then generates waveform predefined count.
Resolution
A-1
Appendix A: Specifications
A-2
Appendix A: Specifications
A-3
Appendix A: Specifications
A-4
Appendix A: Specifications
A-5
Appendix A: Specifications
A-6
Appendix A: Specifications
Mechanical Characteristic
Table A-15: Mechanical
Name Weight Standard Dimensions Height Width Depth 99 mm (3.9 in), with the feet 214 mm (8.4 in) 411 mm (16.2 in) 5.4 kg (AFG310) 5.6 kg (AFG320) Description
A-7
Appendix A: Specifications
Environmental
Table A-16: Environmental
Name Atmospherics Temperature Relative humidity Altitude Operating: 0_ C to +50_ C Nonoperating: -20_ C to +60_ C Operating: 0 % to 95 %, at or below +40_ C, Operating: 0 % to 75 %, +40_ C to +50_ C Operating: Up to 4.5 km (15,000 ft.), (Maximum operating temperature decreases 1_ C each 300 m above 1.5 km.) Nonoperating: Up to 15 km (50,000 ft.) Dynamics Random vibration Shock Operating: 0.31 g rms, from 5 to 500 Hz, 10 minutes each axis Nonoperating: 2.46 g rms, from 5 to 500 Hz, 10 minutes each axis Nonoperating: 294 m/s2 (30 G), Half sine, 11 ms duration Three shocks per axis in each direction (18 shocks total) Description
A-8
Appendix A: Specifications
Complies with EMC provision of Radio-communications Act per the following standard: AS/NZS 2064.1/2 Industrial, Scientific, and Medical Equipment: 1992
Compliance was demonstrated to the following specification as listed in the Official Journal of the European Communities: Low Voltage Directive 73/23/EEC, amended by 93/68/EEC EN 61010 1/A2:1995 Safety requirements for electrical equipment for measurement, control and laboratory use. Standard for electrical measuring and test equipment. Safety requirements for electrical equipment for measurement, control and laboratory use.
Approvals
Complies with the following safety standards: UL3111-1, First Edition CAN/CSA C22.2 No.1010.1 92
Terminals on this product may have different installation (over-voltage) category designations. The installation categories are: Category CAT III CAT II CAT I Examples of products in this category Distribution level mains (usually permanently connected). Equipment at this level is typically in a fixed industrial location. Local level mains (wall sockets). Equipment at this level includes appliances, portable tools, and similar products. Equipment is usually cord connected. Secondary (signal level) or battery operated circuits of electronic equipment.
A-9
Appendix A: Specifications
Conditions of Approval
Safety Certifications/Compliances are made for the following conditions: Temperature (operation): +5 _C to +40 _C Altitude (maximum operation): 2000 meters Equipment type: Test and Measuring Installation Category II (as defined in IEC 61010-1, Annex J) Pollution Degree 2 (as defined in IEC 61010-1) Safety Class I (as defined in IEC 61010-1, Annex H)
IEC Characteristics
A-10
Conventions
Throughout these procedures the following conventions apply: H Each test procedure uses the following general format: Title of Test Equipment Required Prerequisites Procedure H Each procedure consists of as many steps and substeps as required to do the test. Steps and substeps are sequenced. Refer to Conventions on page xi for further information.
B-1
Brief Procedures
Follow the Self Test and Calibration Test procedures below to verify that the AFG310 or AFG320 is operating properly.
Self Test
This procedure uses internal routines to verify that the Arbitrary Function Generator is operating properly. No test equipment or hookups are required. Table B-1: Self Test Requirements
Equipment Required None Prerequisites Power on the Arbitrary Function Generator and allow a 20 minute warm up before doing this procedure.
Do the following steps to verify passing of internal self test. 1. Select the SELF TEST item in the SYSTEM menu. Do the following procedure: SHIFT PHASE < button until SELF TEST is displayed ENTER 2. Press ENTER button to execute self test. The message ***TESTING*** is displayed in the first line of the LCD during self test. 3. Wait until the test is completed. When an error is detected during diagnostic execution, the instrument displays the name of that test item. If multiple errors were detected, the test item names can be viewed using the and buttons. Press the front panel EXIT/CANCEL button to exit from the error display state. 4. Verify passing of the internal self test. If the self test completes without finding any problems, the display returns to its state before the self test was executed. 5. Return to regular service. Press EXIT/CANCEL button until the default display is obtained.
B-2
Calibration Test
This procedure uses internal routines to verify proper calibration. No test equipment or hookups are required. Table B-2: Calibration Test Requirements
Equipment Required None Prerequisites Power on the Arbitrary Function Generator and allow a 20 minute warm up before doing this procedure. An ambient temperature is between +20_ C and +30_ C.
Do the following steps to verify passing of internal calibration. 1. Select the CALIBRATION item in the SYSTEM menu. Do the following procedure: SHIFT PHASE < button until CALIBRATION is displayed ENTER 2. Press ENTER button to execute calibration. The message ***CALIBRATING*** is displayed in the first line of the LCD during calibration. NOTE. Do not turn off the power while ***CALIBRATING*** is displayed. If the power is turned off while the message is displayed, data stored in internal nonvolatile memory may be lost. 3. Wait until the calibration is completed. When an error is detected during calibration execution, the instrument displays the name of that calibration item. If multiple errors were detected, the calibration item names can be viewed using the and buttons. Press the front panel EXIT/CANCEL button to exit from the error display state. 4. Verify passing of the internal calibration. If the calibration completes without finding any problems, the display returns to its state before the calibration was executed. 5. Return to regular service. Press EXIT/CANCEL button until the default display is obtained.
B-3
Performance Tests
This section contains the following procedures for checking that the Arbitrary Function Generator performs as warranted: H H H H H H Output Waveform Checks Frequency Accuracy Checks Amplitude Accuracy Checks DC Voltage Accuracy Checks Operating Mode and Phase Checks Modulation Checks
Prerequisites
The tests in this subsection do an extensive check of performance and functionality when the following requirements are met: H H H The cabinet covers must be on the Arbitrary Function Generator. You must have performed and passed the procedures under Self Tests and Calibration, on page B2. The Arbitrary Function Generator must have been calibrated at an ambient temperature between +20_ C and +30_ C, must have been operating for a warm-up period of at least 20 minutes, and must be operating at an ambient temperature between 0_ C and +50_ C.
B-4
Equipment Required
The following equipment is required to check the performance of the Arbitrary Function Generator.
Terminator, 50 W , Preci sion Cable, 50 W Coaxial (three required) Connector, BNC T" N to BNC adapter Connector, Dual Banana Digital Oscilloscope Frequency Counter/Timer Signal Generator
3 4 5 6 7 8 9
10 Digital Multimeter
B-5
Check that the seven types of standard waveforms are output. Refer to Table B4 for test requirements. Table B-4: Output Waveform Test Requirements
Equipment Required One 50 W terminator (Item 1 on page B-5) One digital oscilloscope (Item 7 page B-5) One coaxial cable (Item 3 on page B-5) Prerequisites The Arbitrary Function Generator must meet the prerequisites listed on page B-4
1. Connect the function generator to a digital oscilloscope. Use a 50 W coaxial cable to connect to the CH1 output of the function generator to a 50 W terminator on the CH1 input of the digitizing oscilloscope. Refer to Figure B1.
Digital Oscilloscope
AFG320
CH1
50 W Coaxial Cable
CH1
50 W Termination
B-6
2.
Set the oscilloscope controls by selecting the function and settings in Table B5.
3. Select INITIALIZE in the SYSTEM menu on the function generator. Press the front panel buttons in the following order: SHIFT PHASE < button until INITIALIZE is displayed ENTER ENTER 4. Set the CH1 and CH2 frequencies to 20 kHz then set the controls of the function generator to FUNC for both CH1 and CH2. Press the front panel buttons in the following order: FREQ 2 0 kHz/ms/mV CH FREQ 2 0 kHz/ms/mV FUNC CH FUNC
B-7
5. Press the CH1 OUTPUT to set the waveform output to on. NOTE. To change the waveform on the function generator, place the cursor on the name of the waveform in the FUNC item and press the button. When the name of the desired waveform appears, press the ENTER button to confirm the selection. 6. Change the waveform in the FUNC column on the LCD display. 7. Check the output waveform listed in the Table B6. Table B-6: AFG320 Output Waveform
LCD Display in FUNC Column SINE SQUA TRIA RAMP PULSE Output Waveform Description 2 Cycles in 10 divisions, Continuous Sine wave 2 Cycles in 10 divisions, Continuous Square wave 2 Cycles in 10 divisions, Continuous Triangle wave 2 Cycles in 10 divisions, Continuous Ramp wave 2 Cycles in 10 divisions, Continuous Pulse wave with 50 % duty ratio
a. Change the duty ratio of Pulse wave for 75 %. SHIFT FUNC 7 5 ENTER
PULSE 2 Cycles in 10 divisions, Continuous Pulse wave with 75 % duty ratio
b. Select the DC waveform and then change the DC offset to 0.5 V. FUNC ENTER OFFSET 0 . 5 Hz/s/V
DC +0.5 V DC
c. Change the DC offset back to 0 V and then select the noise waveform. 0 Hz/s/V FUNC ENTER
NOISE Continuous Noise wave
B-8
8. Follow the steps below to check the function generator output waveforms: a. Remove the BNC cable from CH1 connector on the front panel and connect it to the CH2 connector. b. Press the CH2 button to set waveform output to on. c. Press the CH button to change the target channel to CH2. d. Check the CH2 output waveform using the same procedure described in the note on page B5.
Check the frequency accuracy of the output waveform. Refer to Table B7 for test requirements. Table B-7: Frequency Accuracy Test Requirements
Equipment Required One coaxial cable (Item 3 page B-5) One N to BNC adapter (Item 5 page B-5) One frequency counter (Item 8 page B-5) Prerequisites The Arbitrary Function Generator must meet the prerequisites listed on page B-4
1. Connect the function generator to the Frequency Counter. Use a 50 W coaxial cable to connect the CH1 output of the function generator to the CH1 input of the Frequency Counter. Refer to Figure B2.
AFG320 Frequency Counter
Figure B-2: Initial Test Hookup 2. Select INITIALIZE in the SYSTEM menu on the function generator. Press the buttons on the front panel in the following order: SHIFT PHASE < button until INITIALIZE is displayed ENTER ENTER
B-9
3. Set the CH1 and CH2 frequencies to 16 MHz then press the CH button to change the target channel back to Ch1. Press the buttons on the front panel in the following order: FUNC ENTER FREQ 1 6 MHz/ms CH FREQ 1 6 MHz/ms CH 4. Press the CH1 button to set waveform output to on. 5. Check the frequencies or periods listed in the tables below. a. Use the numeric keys and unit keys to change the frequency of the function generator.
LCD Display in FREQ Column 16.000 00 (MHz) 100.000 0 (kHz)
Frequency Range 16.000 800 MHz 15.999 200 MHz 100.005 0 kHz 99.995 0 kHz
b. Change the measurement mode of the frequency counter to counter timer and check the period.
LCD Display in FREQ Column 1.000 00 (kHz) 1.000 00 (Hz)
Frequency Range 1.000 050 ms 0.999 950 ms 1.000 050 s 0.999 950 s
6. Follow the steps below to check the CH2 frequency accuracy. a. Remove the BNC cable from the CH1 connector on the front panel and connect it to the CH2 connector. b. Press the CH2 button to set waveform output to on. c. Press the CH button on the front panel to change the target channel to CH2. d. Check the CH2 output frequency accuracy using the same procedure described above in Step 5.
B-10
Check the amplitude accuracy of the output waveform. Refer to Table B8 for test requirements. Table B-8: Amplitude Accuracy Test Requirements
Equipment Required One 50 W precision terminator (Item 2 on page B-5) One dual banana connector (Item 6 page B-5) One coaxial cable (Item 3 page B-5) One digital multimeter (Item 10 page B-5) Prerequisites The Arbitrary Function Generator must meet the prerequisites listed on page B-4
1. Use a 50 W coaxial cable to connect the CH1 output of the function generator to a 50 W precision terminator on the input of the digital multimeter (DMM). Refer to Figure B3.
AFG320 Dual Banana to BNC Adapters DMM
8842A
50 W Precision Terminator
Figure B-3: Initial Test Hookup 2. Set the DMM measurement range to AC 20 V. 3. Select INITIALIZE in the SYSTEM menu on the function generator to initialize the system. Press the buttons on the front panel in the following order: SHIFT PHASE < button until INITIALIZE is displayed ENTER ENTER
B-11
4. Set the CH1 and CH2 frequencies to 1 kHz and amplitude to 10 Vp-p then press the CH button to change the target channel back to CH1. FREQ 1 kHz/ms/mV AMPL 1 0 Hz/s/V CH FREQ 1 kHz/ms/mV AMPL 1 0 Hz/s/V CH 5. Press the CH1 button to set the waveform output to on. 6. Check that the amplitude for the sine waveform is within the range listed in the following tables. Use the numeric keys and unit keys to change the amplitude of the function generator.
LCD Display in AMPL Column 10.00 (Vp p) 7.000 (Vp p)
Amplitude Range 3.572 Vrms 3.499 Vrms 2.501 Vrms 2.449 Vrms
Amplitude Range 1.787 Vrms 1.749 Vrms 1.251 Vrms 1.224 Vrms 0.8944 Vrms 0.8733 Vrms 0.6266 Vrms 0.6108 Vrms 0.3588 Vrms 0.3483 Vrms 0.2517 Vrms 0.2433 Vrms
B-12
Amplitude Range 0.1803 Vrms 0.1733 Vrms 0.1267 Vrms 0.1208 Vrms 0.09103 Vrms 0.08574 Vrms 0.04640 Vrms 0.04199 Vrms 0.03747 Vrms 0.03324 Vrms 0.01962 Vrms 0.01574 Vrms
7. Change the output waveform to SQUA (square). Set the controls of the function generator to AMPL item. Press the buttons on the front panel in the following order: FUNC ENTER AMPL 8. Check that the amplitude for the square waveform is within the range listed in following tables. Use the numeric keys and unit keys to change the amplitude of the function generator.
LCD Display in AMPL Column 0.050 (Vp p) 0.100 (Vp p) 0.125 (Vp p) 0.250 (Vp p) 0.350 (Vp p)
Amplitude Range 0.02775 Vrms 0.02225 Vrms 0.05300 Vrms 0.04700 Vrms 0.06562 Vrms 0.05938 Vrms 0.1287 Vrms 0.1213 Vrms 0.1792 Vrms 0.1708 Vrms
B-13
a. Set the range of the digital multimeter to AC 2V and check that the square waveform is within the range listed in following table.
LCD Display in AMPL Column 0.500 (Vp p) 0.700 (Vp p) 1.000 (Vp p) 1.750 (Vp p) 2.500 (Vp p) 3.500 (Vp p)
Amplitude Range 0.2550 Vrms 0.2450 Vrms 0.3560 Vrms 0.3440 Vrms 0.5075 Vrms 0.4925 Vrms 0.8862 Vrms 0.8638 Vrms 1.265 Vrms 1.235 Vrms 1.770 Vrms 1.730 Vrms
b. Set the range of the digital multimeter to AC 20 V and check that the square waveform is within the range listed in following table.
LCD Display in AMPL Column 5.000 (Vp p) 7.000 (Vp p) 10.00 (Vp p)
Amplitude Range 2.527 Vrms 2.473 Vrms 3.537 Vrms 3.463 Vrms 5.052 Vrms 4.948 Vrms
9. Change the output waveform to TRIA (triangle). Set the controls of the function generator to AMPL item. Press the buttons on the front panel in the following order: FUNC ENTER AMPL 10. Check that the amplitude for the triangle waveform is within the range listed in the tables below. Use the numeric keys and unit keys to change the amplitude of the function generator.
LCD Display in AMPL Column 10.00 (Vp p) 7.000 (Vp p)
Amplitude Range 2.917 Vrms 2.857 Vrms 2.042 Vrms 2.000 Vrms
B-14
Amplitude Range 1.459 Vrms 1.428 Vrms 1.0219 Vrms 0.9989 Vrms 0.7303 Vrms 0.7131 Vrms 0.5116 Vrms 0.4987 Vrms 0.2930 Vrms 0.2844 Vrms 0.2055 Vrms 0.1987 Vrms
Amplitude Range 0.1472 Vrms 0.1415 Vrms 0.10349 Vrms 0.09859 Vrms 0.07433 Vrms 0.07001 Vrms 0.03788 Vrms 0.03429 Vrms 0.03059 Vrms 0.02714 Vrms 0.01602 Vrms 0.01285 Vrms
Follow the steps below to check the CH2 amplitude accuracy. 1. Remove the BNC cable from CH1 connector on the front panel and connect it to the CH2 connector. 2. Press the CH2 to set the waveform output to on. 3. Press the CH button to change the target channel to CH2. 4. Check the CH2 output amplitude accuracy using the same procedure described in Steps 6 through 10 on page B12.
B-15
Check the DC voltage accuracy of the offset output. Use a 50 W coaxial cable to connect the CH1 output of the function generator to a 50 W precision terminator on the input of the digital multimeter. Refer to Figure B3. Table B-9: DC Voltage Accuracy Test Requirements
Equipment Required One 50 W precision ter minator (Item 2 on page B-5) One dual banana con nector (Item 6 page B-5) One coaxial cable (Item 3 page B-5) One digital multimeter (Item 10 page B-5) Prerequisites The Arbitrary Function Generator must meet the prerequisites listed on page B-4
1. Set the DMM measurement range to DC 20 V. 2. Select INITIALIZE in the SYSTEM menu on the function generator to initialize the system. Press the buttons on the front panel in the following order: SHIFT PHASE < button until INITIALIZE is displayed ENTER ENTER 3. Set the CH1 and CH2 FUNC waveforms to DC and offset to +5 V then press the CH button to change the target channel back to CH1. FUNC button until DC is displayed ENTER OFFSET 5 Hz/s/V CH FUNC button until DC is displayed ENTER OFFSET 5 Hz/s/V CH 4. Press the CH1 button to set waveform output to on.
B-16
5. Check that the offset voltage for the DC waveform is within the range listed in the table below. a. Use the numeric keys and unit keys to change the offset of the function generator. b. Set the range of the digital multimeter to DC 20 V.
LCD Display in AMPL Column 5.000 (V)
f.
-5.000 (V)
B-17
6. Check the CH2 DC voltage accuracy by following the steps below: a. Remove the BNC cable from the CH1 connector on the front panel and connect it to the CH2 connector. b. Press the CH2 button above the BNC connector to set the waveform output to on. c. Press the CH button on the front panel to change the target channel to CH2. d. Check the CH2 output DC voltage accuracy using the same procedure described in step 5 on page B17.
Check the phase of the output waveform in the triggered and burst mode. Refer to Table B10 and Figure B4 for test requirements and connections. Follow the steps below to make the proper connections: 1. Use a 50 W coaxial cable to connect the CH1 output of function generator to a 50 W terminator on the CH1 input of the digital oscilloscope. See Figure B4. 2. Use a 50 W coaxial cable to connect the output of the signal generator to one side of a BNC T connector. 3. Use a 50 W coaxial cable to connect the CH2 input of the digital oscilloscope to the other side of the BNC T connector. 4. Connect the BNC T connector to the EXT TRIG IN connector of function generator. Refer to Table B10 for the accuracy test requirements.
B-18
Prerequisites The Arbitrary Function Generator must meet the prerequisites listed on page B-4
AFG320
Digital Oscilloscope
BNC T Connector CH1 EXT TRIG IN 50 W Coaxial Cables CH1 CH2 50 W Termination
Figure B-4: Initial Test Hookup 5. Refer to Table B11 to set the oscilloscope controls. Table B-11: Oscilloscope settings
Function CH 1 Vertical Coupling Scale Input Impedance CH 2 Vertical Coupling DC DC 0.2V/DIV 1 MW Setting
B-19
B-20
6. Refer to Table B12 to set the signal generator controls. Table B-12: Signal generator settings
Function Frequency Amplitude Setting 10 kHz (square wave) 0 5 V (TTL compatible output)
7. Select INITIALIZE in the SYSTEM menu on the function generator to initialize the system. Press the buttons on the front panel in the following order: SHIFT PHASE < button until INITIALIZE is displayed ENTER ENTER 8. Set the CH1 and CH2 burst count to 3 and set the operating mode to TRIG (triggered). Press the CH button to change the target channel back to CH1. SHIFT MODE 3 ENTER MODE ENTER CH SHIFT MODE 3 ENTER MODE ENTER CH 9. Press the CH1 button above the BNC connector to set the waveform output to on. 10. Check that the one cycle of the sine wave is output with the phase according to the phase changing from +360_ to 360_ in 90_steps. The phase shift is observed at the starting point of the waveform. Press the following buttons or keys on the front panel to change the phase by 90_ (relative value). PHASE +/- 9 0 ENTER The following Figures are examples of waveforms for the different phase settings. These screen shots were made with a TDS 700 series oscilloscope with CH 1 set to 200 mV/DIV, and using a TTL compatible (0 5 V) 10 kHz square wave for the external trigger source.
B-21
B-22
B-23
11. Follow the steps below to change the operating mode to burst. Press the following buttons on the front panel to change the mode. MODE ENTER
B-24
B-25
12. Check that the three cycles of the sine wave is output with the phase according to the phase changing from +360_ to 360_ in 90_steps. 13. Follow the steps below to check the phase of the CH2 output. a. Remove the BNC cable from the CH1 connector on the front panel and connect it to the CH2 connector. b. Press the CH2 button above the BNC connector to set the waveform output to on. c. Press the CH button on the front panel to change the target channel to CH2. d. Check the phase of the CH2 output using the same procedure described in Step 10 to 12.
Check that the sweep, FM modulation, FSK modulation and AM modulation are functioning. Refer to Table B13. Table B-13: Modulation Function Test Requirements
Equipment Required One 50 W terminator (Item 1 on page B-5) One coaxial cable (Item 3 page B-5) One digital oscilloscope (item 7 page B-5) Prerequisites The Arbitrary Function Generator must meet the prerequisites listed on page B-4
14. Connect the function generator to a digital oscilloscope. Use a 50 W coaxial cable to connect the CH1 output of the function generator to a 50 W terminator on the CH1 input of the digitizing oscilloscope. Refer to Figure B13.
B-26
AFG320
Digital Oscilloscope
CH1
50 W Coaxial Cable
CH1
50 W Termination
Figure B-13: Initial Test Hookup 15. Set the oscilloscope controls as shown in Table B14. Table B-14: Oscilloscope settings
Function CH 1 Vertical Coupling Scale Input Impedance Horizontal Sweep Trigger Source Coupling Slope Level Mode CH 1 DC Positive +100 mV Auto 20 ms (adjust for best display) DC 0.2 V/DIV 1 MW Setting
16. Select INITIALIZE in the SYSTEM menu on the function generator to initialize the system. Press the buttons on the front panel in the following order: SHIFT PHASE < button until INITIALIZE is displayed ENTER ENTER 17. Press the CH1 button above the BNC connector to set the waveform output to on. 18. Press MODUL button on the front panel.
B-27
19. Change the modulation type and check the modulation output listed in the table below. To change the modulation type on the function generator, place the cursor on the name of the modulation in the MODUL item and press the button. When the name of the desired modulation appears, press the ENTER button to confirm the selection.
LCD Display in MODUL Column SWP FM FSK AM
Modulation Output Description 1 Vp p, Sweep output of Sine wave 1 Vp p, FM modulation output of Sine wave 1 Vp p, FSK modulation output of Sine wave (frequency alternates between 10 kHz and 100 kHz each 500 ms.) 0.5 Vp p, Continuous Sine wave
20. Follow the steps below to check the CH2 modulation output. a. Remove the BNC cable from CH1 connector on the front panel and connect it to the CH2 connector. b. Press the CH2 button above the BNC connector to set waveform output to on. c. Press the CH button on the front panel to change the target channel to CH2. d. Check the modulation of the CH2 output using the same procedure described in Step 18 to 19. Note that there is no AM modulation function for the CH2 output. This completes the performance verification procedures. If you require further assistance, contact your nearest Tektronix Service Center.
B-28
Exterior Inspection
Using Table C1 as a guide, inspect the outside of the instrument for damage, wear, and missing parts. You should thoroughly check instruments that appear to have been dropped or otherwise abused to verify correct operation and performance. Immediately repair defects that could cause personal injury or lead to further damage to the instrument.
C-1
Only qualified personnel should access the inside of the AFG310 and AFG320 for inspection and cleaning, refer to the Maintenace section in the AFG310 and AFG320 service manual.
C-2
CAUTION. To prevent damage to the instrument, be sure to all BNC commons are at the same potential.
CAUTION. To prevent damage to the instrument, when you make floating connections, pay attention to following examples.
Example 1. The maximum rated voltage between the chassis and common is 42 Vp-p (DC + peak AC). When the potential voltage between the chassis ground and common goes over 42 Vp-p, the internal protective circuit will be activated to protect the circuits. However, higher voltage may cause the internal circuits in the instrument to be damaged.
Chassis ground
D-1
Example 2. When the output signal line and the common are shorted, the internal protective circuit is activated to disable the line to the output. The output will automatically be activated when the short is removed. This function is effective for both floating and nonfloating connections.
Short Common
Load Maximum 42 Vp p
Chassis ground
Example 3. When a potential voltage exists between the chassis ground and common, a short from output to ground causes the instrument internal fuse to open and the output is stopped. If the fuse opens, you need to contact your local Tektronix Service Center to make arrangements for a service person to replace the fuse.
Chassis ground
Example 4. When a potential voltage exists between the common and chassis ground, shorting between them may lead to excessive current flow and the internal or external circuits may be damaged.
Short
Chassis ground
D-2
Appendix E: Miscellaneous
This appendix covers the following items: H H H H H H H Timing chart of SYNC signal output Initial settings Secure settings Initial Settings for the Command Argument Character Charts SCPI Conformance GPIB Interface Specification
The SYNC pulse goes high when the output waveform exceeds nearly at the zero level (nearby zero cross). The SYNC pulse is delayed from the output waveform about 10 to 15 % of its period.
Output Waveform
SYNC Waveform
When a waveform is output with the phase set to a value other than 0 degrees in burst or trigger mode, SYNC pulses are also generated on zero crossings as described above according to the output level, including the levels before the trigger event and after waveform output completes.
E-1
Appendix E: Miscellaneous
SYNC Waveform
For these waveforms, the SYNC pulse falls immediately prior to the completion of the output of a single cycle of the waveform. The width of the SYNC pulse will vary with the frequency of the output signal.
The SYNC pulse falls before the frequency switches to the last frequency. The pulse width is about 45 ns.
FM Modulation FSK Modulation Sweep
Output Waveform
SYNC Waveform 45 ns
Initial Settings
When the INITIALIZE item selection is confirmed in the SYSTEM menu and the ENTER button is pressed, this instrument performs the initialize function. When the initialize function is performed the instrument goes to power on default settings except for menu item selection states, cursor position, edit memory data, and edit menu item settings.
E-2
Appendix E: Miscellaneous
Table E1 shows the list of initial settings. Table E-1: Initial Settings
Menu and Menu Item Setting Menu FUNC FREQ AMPL OFFSET PHASE MODE MODUL PARAMETER Menu FUNC PARAMETER PULSE DUTY MODE PARAMETER BURST COUNT MODUL PARAMETER SWP START SWP STOP SWP TIME SWP SPACING FM FUNC FM FREQ FM DEVIA FSK RATE FSK FREQ RECALL Menu RECALL SAVE Menu SAVE Other Settings Channel OUTPUT Switch CH1 CH2 CH1 OFF OFF 0 0 50 % 10 1.000 0 kHz 100.00 kHz 1.000 s LINEAR SINE 1.000 kHz 1.000 00 kHz 1.000 kHz 10.000 0 kHZ SINE 100.000 0 kHz 1.000 V 0.000 V 0 CONT OFF Selection and Value
E-3
Appendix E: Miscellaneous
System Menu SYSTEM GPIB ADDRESS GPIB CONFIG STEP RECALL LAST RECALL STEP BEEP KEY CLICK LOCK WAVE UNLOCK WAVE 1 T/L OFF 1 ON ON USER1 X USER4 NONE
User Waveform Memory EDIT USER1 USER2 USER3 USER4 Sampling Function SIN(X)/X Double Exponential Pulse Damped Sine Wave NRZ Random Signal
E-4
Appendix E: Miscellaneous
E-5
Appendix E: Miscellaneous
Character Charts
Table E4 shows the Arbitrary Function Generator character sets and Table E5 shows the ASCII and GPIB codes. Table E-4: The Arbitrary Function Generator Character Set
0 0 1
1
1
0 16
3
32 33 34 35 36 37 38 39 40 41 42 43 44 45
4
48 49 50 51 52 53 54 55 56 57 58 59 60 61
5
64 65 66 67 68 69 70 71 72 73 74 75 76 77
6
80 81 82 83 84 85 86 87 88 89 90 91 92 93
7
96 97 98 99 100 101 102 103 104 105 106 107 108 109
NUL
0 1 2 3 4 5 6 7 8 9 : ; < = > ?
@ A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z [ \ ] ^ _
` a b c d e f g h i j k l m n o
p q r s t u v w x y z {
112 113 114 115 116 117 118 119 120 121 122 123 124
W D
17 18 19 20 21
2 3
4
4
5
5
6
6
22 23 24 25 26
7 8
7 8
9 A B
HT LF
9 10 11
ESC
27 28
C
12
D E
CR
13
} ~
29
125
14
30 31
. /
46 47
62 63
78 79
94 95
110 111
126 127
15
rubout
E-6
Appendix E: Miscellaneous
BITS B4 B3 B2 B1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1
B5
0 0
0 1
0 0
1 1
1 0
1 1
1 0
CONTROL
0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 10 8 11 9 12 A 13 B 14 C 15 D 16 E 17 F
NUMBERS SYMBOLS
UPPER CASE
LOWER CASE
TA16 80 TA17 81 TA18 82 TA19 83 TA20 84 TA21 85 TA22 86 TA23 87 TA24 88 TA25 89 TA26 90 TA27 91 TA28 92 TA29 93 TA30 94 UNT 95 140 60 141 61 142 62 143 63 144 64 145 65 146 66 147 67 150 68 151 69 152 6A 153 6B 154 6C 155 6D 156 6E 157 6F SA0 96 160 70 161 71 162 72 163 73 164 74 165 75 166 76 167 77 170 78 171 79 172 7A 173 7B 174 7C 175 7D 176 7E 177 7F
DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US
SP !
60 30 61 31 62 32 63 33 64 34 65 35 66 36 67 37 70 38 71 39 72 3A 73 3B 74 3C 75 3D 76 3E 77 3F
0 1 2 3 4 5 6 7 8 9
LA16 48 LA17 49 LA18 50 LA19 51 LA20 52 LA21 53 LA22 54 LA23 55 LA24 56 LA25 57 LA26 58 LA27 59 LA28 60 LA29 61 LA30 62 UNL 63
100 40 101 41 102 42 103 43 104 44 105 45 106 46 107 47 110 48 111 49 112 4A 113 4B 114 4C 115 4D 116 4E 117 4F
@ A B C D E F G H I J K L M N O
TA0 64 TA1 65 TA2 66 TA3 67 TA4 68 TA5 69 TA6 70 TA7 71 TA8 72 TA9 73 TA10 74 TA11 75 TA12 76 TA13 77 TA14 78 TA15 79
120 50 121 51 122 52 123 53 124 54 125 55 126 56 127 57 130 58 131 59 132 5A 133 5B 134 5C 135 5D 136 5E 137 5F
P Q R S T U V W X Y Z [ \ ]
p q r s t u v w x y z {
SA16 112 SA17 113 SA18 114 SA19 115 SA20 116 SA21 117 SA22 118 SA23 119 SA24 120 SA25 121 SA26 122 SA27 123 SA28 124
a b c d e f g h i j k l m n o
SA1 97 SA2 98 SA3 99 SA4 100 SA5 101 SA6 102 SA7 103 SA8 104 SA9 105 SA10 106 SA11 107 SA12 108 SA13 109 SA14 110 SA15 111
# $ % &
34 LA3 35 LA4 36 LA5 37 LA6 38 LA7 39 LA8 40 LA9 41 LA10 42 LA11 43 LA12 44 LA13 45 LA14 46 LA15 47
( )
*
+
: ;
< = > ?
,
-
.
/
^ -
RUBOUT (DEL)
127
ADDRESSED COMMANDS
UNIVERSAL COMMANDS
LISTEN ADDRESSES
TALK ADDRESSES
KEY
octal hex
5 5
ENQ
PPC 5
Tektronix
REF: ANSI STD X3.4 1977 IEEE STD 488.1 1987 ISO STD 646 2973
E-7
Appendix E: Miscellaneous
SCPI Conformance
The Arbitrary Function Generator conforms to the 1994.0 version of the SCPI standard.
The following commands are SCPI approved commands that are used by the Arbitrary Function Generator.
CALibration[:ALL] CALibration[:ALL]? FORMat:BORDer NORMal|SWAPped FORMat:BORDer? INSTrument:COUPle ALL|NONE INSTrument:COUPle? INSTrument:COUPle:AMPLitude ALL|NONE INSTrument:COUPle:AMPLitude? INSTrument:COUPle:FREQuency ALL|NONE INSTrument:COUPle:FREQuency? INSTrument:COUPle:OFFSet ALL|NONE INSTrument:COUPle:OFFSet? INSTrument:COUPle:PHASe ALL|NONE INSTrument:COUPle:PHASe? OUTPut<n>[:STATe] <Boolean> OUTPut<n>[:STATe]? [SOURce<n>]:AM:STATe <Boolean> [SOURce<n>]:AM:STATe? [SOURce<n>]:FM[:DEViation] <numeric_value> [SOURce<n>]:FM[:DEViation]? [MINimum|MAXimum] [SOURce<n>]:FM:INTernal:FREQuency <numeric_value> [SOURce<n>]:FM:INTernal:FREQuency? [MINimum|MAXimum] [SOURce<n>]:FM:INTernal:FUNCtion SINusoid|SQUare|TRIangle|RAMP| USER[1]|USER2|USER3|USER4|EMEMory [SOURce<n>]:FM:INTernal:FUNCtion? [SOURce<n>]:FM:STATe <Boolean> [SOURce<n>]:FM:STATe? [SOURce<n>]:FREQuency[:CW|:FIXed] <numeric_value> [SOURce<n>]:FREQuency[:CW|:FIXed]? [MINimum|MAXimum] [SOURce<n>]:FREQuency:MODE CW|FIXed|SWEep [SOURce<n>]:FREQuency:MODE? [SOURce<n>]:FREQuency:STARt <numeric_value> [SOURce<n>]:FREQuency:STARt? [MINimum|MAXimum] [SOURce<n>]:FREQuency:STOP <numeric_value> [SOURce<n>]:FREQuency:STOP? [MINimum|MAXimum] [SOURce<n>]:FUNCtion[:SHAPe] SINusoid|SQUare|TRIangle|RAMP|PULSe| PRNoise|DC|USER[1]|USER2|USER3|USER4|EMEMory [SOURce<n>]:FUNCtion[:SHAPe]?
E-8
Appendix E: Miscellaneous
[SOURce<n>]:PHASe[:ADJust] <numeric_value> [SOURce<n>]:PHASe[:ADJust]? [MINimum|MAXimum] [SOURce<n>]PULSe:DCYCle <numeric_value> [SOURce<n>]PULSe:DCYCle? [MINimum|MAXimum] [SOURce<n>]SWEep:TIME <numeric_value> [SOURce<n>]SWEep:TIME? [MINimum|MAXimum] [SOURce<n>]SWEep:SPACing LINear|LOGarithmic [SOURce<n>]SWEep:SPACing? [SOURce<n>]VOLTage[:LEVel][:IMMediate][:AMPLitude] <numeric_value> [SOURce<n>]VOLTage[:LEVel][:IMMediate][:AMPLitude]? [MINimum|MAXimum] [SOURce<n>]VOLTage[:LEVel][:IMMediate]:OFFSet <numeric_value> [SOURce<n>]VOLTage[:LEVel][:IMMediate]:OFFSet? [MINimum|MAXimum] STATus:OPERation:CONDition? STATus:OPERation:ENABle <pattern_value> STATus:OPERation:ENABle? STATus:OPERation[:EVENt]? STATus:PRESet STATus:QUEStionable:CONDition? STATus:QUEStionable:ENABle <pattern_value> STATus:QUEStionable:ENABle? STATus:QUEStionable[:EVENt]? STATus:QUEue[:NEXT]? SYSTem:BEEPer:STATe <Boolean> SYSTem:BEEPer:STATe? SYSTem:ERRor? SYSTem:KLOCk <Boolean> SYSTem:KLOCk? SYSTem:SECurity:IMMediate SYSTem:VERSion? TRACe|DATA:CATalog? TRACe|DATA:COPY <trace_name>,EMEMory TRACe|DATA[:DATA] EMEMory,<block> TRACe|DATA[:DATA]:LINE EMEMory,<numeric_value>,<numeric_value>, <numeric_value>,<numeric_value> TRACe|DATA[:DATA]:VALue EMEMory,<numeric_value>,<numeric_value> TRACe|DATA[:DATA]:VALue? TRACe|DATA:DEFine EMEMory[,{<numeric_value>|<trace_name>}] TRACe|DATA:POINts EMEMory[,<numeric_value>] TRACe|DATA:POINts?
E-9
Appendix E: Miscellaneous
NonSCPI Commands
The following commands are not SCPI approved commands and are designed specifically for the Arbitrary Function Generator. These commands follow the command syntax rules defined by the standard.
MODE<n>[:TYPE] CONTinuous|TRIGgered|BURSt MODE<n>[:TYPE]? MODE<n>:BCOunt <numeric_value>|INFinity MODE<n>:BCOunt? [MINimum|MAXimum] [SOURce<n>]:FSKey[:FREQuency] <numeric_value> [SOURce<n>]:FSKey[:FREQuency]? [MINimum|MAXimum] [SOURce<n>]:FSKey:INTernal:RATE <numeric_value> [SOURce<n>]:FSKey:INTernal:RATE? [MINimum|MAXimum] [SOURce<n>]:FSKey:STATe <Boolean> [SOURce<n>]:FSKey:STATe? SYSTem:SRECall[:STATe] <Boolean> SYSTem:SRECall[:STATe]? SYSTem:SRECall[:ULIMit <numeric_value> SYSTem:SRECall[:ULIMit? [MINimum|MAXimum] TRACe|DATA:LOCK[:STATe] <trace_name>,<boolean> TRACe|DATA:LOCK[:STATe]? <trace_name>
Interface Functions
E-10
Appendix E: Miscellaneous
Acceptor Handshake (AH). Allows a listening device to help coordinate the the proper reception of data. The AH function holds off initiation or termination of a data transfer until the listening device is ready to receive the next data byte. Source Handshake (SH). Allows a talking device to help coordinate the proper transfer of data. The SH function controls the initiation and termination of the transfer of data bytes. Listener (L). Allows a device to receive device-dependent data over the interface. This capability exists only when the device is addressed to listen. This function uses a one-byte address. Talker (T). Allows a device to send device-dependent data over the interface. This capability exists only when the device is addressed to talk. The function uses a one-byte address. Device Clear (DC). Allows a device to be cleared or initialized, either individually or as part of a group of devices. Remote/Local (RL). Allows a device to select between two sources for operating control. This function determines whether input information from the front-panel controls (local) or GPIB commands (remote) control the waveform generator. Service Request (SR). Allows a device to request service from the controller. Controller (C). Allows a device with the capability to send the device address, universal commands, and addressed commands to other devices over the interface to do so.
H H
H H
E-11
Appendix E: Miscellaneous
Electrical Interface (E) Identifies the type of the electrical interface. The notation E1 indicates the electrical interface uses open collector drivers, while E2 indicates the electrical interface uses three-state drivers.
Interface Messages
Table E7 lists the GPIB Universal and Addressed commands that the Arbitrary Function Generator implements. A brief description of each function follows the table. Table E-7: GPIB Interface Messages
Interface Message Device Clear (DC) Local Lockout (LLO) Serial Poll Disable (SPD) Serial Poll Enable (SPE) Parallel Poll Unconfigure (PPU) Go To Local (GTL) Selected Device Clear (SDC) Group Execute Trigger (GET) Take Control (TCT) Parallel Poll Configure (PPC)
1
Type1 UC UC UC UC UC AC AC AC AC AC
H H H
Device Clear (DCL). Clears (initializes) all devices on the bus that have a device clear function, whether the controller has addressed them or not. Local Lockout (LLO). Disables the return to local function. Serial Poll Enable (SPE). Puts all devices on the bus that have a service request function into the serial poll enabled state. In this state, each device sends the controller its status byte, instead of the its normal output, after the device receives its talk address on the data lines. This function may be used to determine which device sent a service request. Serial Poll Disable (SPD). Changes all devices on the bus from the serial poll state to the normal operating state. Go To Local (GTL). Causes the listen-addressed device to switch from remote to local (front panel) control. Select Device Clear (SDC). Clears or initializes all listen-addressed devices.
H H H
E-12
Appendix E: Miscellaneous
H H H
Group Execute Trigger (GET). Triggers all applicable devices and causes them to initiate their programmed actions. Take Control (TCT). Allows controller in charge to pass control of the bus to another controller on the bus. Parallel Poll Configure (PPC). Causes the listen-addressed device to respond to the secondary commands Parallel Poll Enable (PPE) and Parallel Poll Disable (PPD), which are placed on the bus following the PPC command. PPE enables a device with parallel poll capability to respond on a particular data line. PPD disables the device from responding to the parallel poll.
E-13
Appendix E: Miscellaneous
E-14
Index
A
Abbreviation of Commands, 413 Accessories, 13 AM IN Connector, 26 AM Modulation, 317 AMPL Button, 310 APPEND, 324 Append a Waveform at the End of the Edit Waveform, 324 Append a Waveform at the Front of the Edit Waveform, 325 Arbitrary Block, 410 Arguments, 48 ASCII, code and character charts, E6 Command Notation, 45 Command Syntax, 45 Common Command *CAL?, 428 *CLS, 430 *ESE, 430 *ESR?, 431 *IDN?, 432 *OPC, 438 *OPT?, 439 *RCL, 440 *RST, 441 *SAV, 441 *SRE, 460 *STB?, 465 *TRG, 474 *TST?, 475 *WAI, 475 Compliances, specifications, A9 Concatenating Commands, 411 Contacting Tektronix, xiii Continuous Mode, 314 Conventions, xi Self Test Procedure, B1 Copy a Waveform from User Waveform Memory, 324 COPY CH1 > 2, 334 Copy CH1 Parameter to CH2, 334 COPY FROM, 324 Creating a User Waveform and Output Waveform, 238 CUT, 327 Cut Data Points on the Designated Range, 327
B
BEEP, 333 BOTH Button, 39 BOTH Input Mode, 215 Burst Count, 216 Burst Mode, 315
C
*CAL?, 428 CALIBRATION, 337 Calibration command *CAL?, 428 CALibration[:ALL], 429 CALibration Subsystem Commands, 416 Calibration Test, B3 CALibration[:ALL], 429 Cancel the Both Input Mode, 215 Certification, specifications, A9 CH / BOTH Button, 38 CH Button, 39 Channel Representation, 46 Characteristic, specifications, A1, A7 Characters, ASCII chart, E6 Cleaning the Instrument Exterior, C2 Cleaning the Instrument Interior, C2 *CLS, 430 Codes and Messages, 510 Command Conventions, 413 Command Descriptions, 428 Command errors, 511 Command Groups, 416
D
Damped Sine Wave, 221 DATA, 327 Data Transfer Procedures, 415 Decimal Numeric, 49 Default Display, 27 Dequeuing Event Code and Message, 510 Device Dependent Device Errors Calibration Errors, 515 Read/Write Errors, 515 Self Test Errors, 514 Difference between SQUARE and PULSE, 313 Display Firmware Version, 336 Double Exponential Pulse, 220 DSOLINK, 332 Duty, 216
Index-1
Index
E
EDIT Button, 322 Editing a Waveform, 223 Editing by Data Point, 327 Editing, saving, and importing waveforms, 223 Effective and Uneffective Trigger Input for the Dual Channel Instrument, 315 Electrical, specifications, A1 Enable Register, 57 Enable Registers, Defined, 53 Environment, 14 Environmental, specifications, A8 Error, No events, 511 Error and Event Status Block, 51 *ESE, 430, 57 ESER register, 57 *ESR?, 431 *ESR? query, 55 Event Codes and Messages, 510 Event handling, 51 Event Queue, 59 Example 1: Set up a Waveform Output, 476 Example 2: Waveform Transfer and Copy, 477 Executing Calibration, 337 Executing Factory Reset, 335 Executing Initialization, 335 Executing Self Test, 336 Execution Errors, 512 Exterior Inspection, C1 Exterior inspection, procedures, C2
G
GPIB ADDRESS, 332 GPIB CONFIG, 332 GPIB Interface Specification, E10 GPIB System Configurations, 42
H
Header, 46 Header Mnemonic, 46 Header Structure, 47 Hop Frequency, 322
I
*IDN?, 432 IEEE488.2 Common Commands, 427 Import a Waveform from Other Instrument, 328 IMPORT FROM, 328 Importing a Waveform from Other Instrument, 248 Importing Waveform, 224 Initial Inspection, 12 Initial Settings, E2 Initial Settings for the Command Arguments, E5 INITIALIZE, 335 Input and output connectors, 25 Inspection and Cleaning, C1 Installation, 14 Installing for GPIB Communication, 41 INSTrument:COUPle, 433 INSTrument:COUPle:AMPLitude, 433 INSTrument:COUPle:FREQuency, 434 INSTrument:COUPle:OFFSet, 435 INSTrument:COUPle:PHASe, 436 Interface Functions, E10 Interface Messages, E12 Interior inspection, procedures, C2 Internal Device Errors, 514
F
Factory Settings, E4 Floating Connections, D1 FM DEVIA, 320 FM FREQ, 320 FM FUNC, 320 FM Modulating Waveform, 320 FM Modulating Waveform Frequency, 320 FM Modulation, 317 FORMat Subsystem Commands, 417 FORMat:BORDer, 431 FREQ Button, 39 Frequency Deviation for the FM Modulation, 320 Frequency Shift Rate, 321 Front Panel Controls and Connectors, 22 FSK FREQ, 322 FSK Modulation, 317 FSK RATE, 321 FUNC Button, 312
K
KEY CLICK, 333
L
LAST RECALL STEP, 333 LCD Display, 27
Index-2
Index
LINE, 325 Line Editing, 325 Linked to DSO, 332 Lock User Waveform Memory, 334 LOCK WAVE, 334 Logical Data, 49
Optional Accessories, 13 OUTPUT Connector, 25 Output Queue, 59 OUTPut Subsystem Commands, 419 OUTPut<n>[:STATe], 439 Outputting Standard Waveforms, 228 Outputting Waveform, 214
M
Mechanical, specifications, A7 Menu Button Functions, 38 Menu Item Display, 27 Menu Structure, 31 Menus other than Setting Menu, 32 Message Handling, 51 Miscellaneous, E1 MODE Button, 314 MODE Subsystem Commands, 418 MODEPARAMETER Button, 316 MODE<n>:BCOunt, 438 MODE<n>[:TYPE], 437 Modify Modulation/Sweep, 217 MODUL Button, 316 MODULPARAMETER Button, 318 Modulation/Sweep to the Output Waveform, 217 Moving between menus, 28
P
PHASE Button, 311 Power cord identification, 19 Power Cord Options, 12 PREPEND, 325 Procedure inspect exterior, C2 inspect interior, C2 Product Description, 11 Program and Response Messages, 45 Programming Examples, 476
Q
QCR register, 57 QENR register, 58 QEVR register, 56 Query Error, 514 Query Responses, 413 Questionable Status Block, 53 Queue, 59 Event, 59 Output, 59
N
NEW, 324 Nondecimal Numeric, 49 NonSCPI Commands, E10 Normal Recall Mode, 330 NRZ Random Signal, 222 NUM OF POINTS, 323 Number of Points, 323 Numeric Input, 210
R
*RCL, 440 Rear Panel, 24 Rear Panel Controls and Connectors, 24 Recall a Setting, 218 RECALL Button, 330 Recall Menu Structure, 36 Register ESER, 57 OCR, 56 OENR, 58 OEVR, 56 QCR, 57 QENR, 58 QEVR, 56 SBR, 54 SESR, 55
O
OCR register, 56 OENR register, 58 OEVR register, 56 OFF BUS, 333 OFFSET Button, 311 On/Off Setting for Key Click and Beep Sound, 333 *OPC, 438 Operation for Setting Menu Items, 28 Operation for the Main Menus, 29 Operation Status Block, 53 *OPT?, 439
Index-3
Index
SRER, 58 Registers, 53 Status, 54 Remote Interface, 41 Repackaging for Shipment, 112 Response Messages, 413 Retrieving Response Messages, 414 *RST, 441
S
Sample Waveform Damped Sine Wave, 221 Double Exponential Pulse, 220 NRZ Random Signal, 222 Sample Waveforms, 219 *SAV, 441 SAVE Button, 329 Save Menu Structure, 36 Save the Edit Waveform to the User Waveform Memory, 328 SAVE TO, 328 Saving Edited Waveform, 224 Saving Setup, 219 SBR register, 54 SCPI Conformance, E8 SCPI Conformed Commands, E8 SECURE, 335 Secure Settings, E4 Selecting Modulation Sweep, 217 Selecting Operation Mode, 216 Selecting Waveform, 214 SELF TEST, 336 Self Test, 110, B2 Self Test and Calibration Procedure, B1 SESR register, 55 Setting GPIB Address, 332 Setting GPIB Configuration, 332 Setting Instrument System, 226 Setting Menu, 31 Setting On / Off State for the Step Recall Mode, 333 Setting Operation Mode, 216 Setting the Both Input Mode, 215 Setting the GPIB Parameters, 43 Setting Up Sweep and Output Waveform, 233 Setting Waveform Parameters, 215 SHIFT Button, 38 SOURce Subsystem Commands, 419 [SOURce<n>]:AM:STATe, 442 [SOURce<n>]:FM:DEViation], 443 [SOURce<n>]:FM:INTernal:FREQuency, 444 [SOURce<n>]:FM:INTernal:FUNCtion, 445
[SOURce<n>]:FM:STATe, 445 [SOURce<n>]:FREQuency[:CW|:FIXed], 446 [SOURce<n>]:FREQuency:MODE, 447 [SOURce<n>]:FREQuency:STARt, 448 [SOURce<n>]:FREQuency:STOP, 449 [SOURce<n>]:FSKey[:FREQuency], 450 [SOURce<n>]:FSKey:INTernal:RATE, 451 [SOURce<n>]:FSKey:STATe, 452 [SOURce<n>]:FUNCtion[:SHAPe], 453 [SOURce<n>]:PHASe[:ADJust], 454 [SOURce<n>]:PULSe:DCYCle, 455 [SOURce<n>]:SWEep:SPACing, 457 [SOURce<n>]:SWEep:TIME, 456 [SOURce<n>]:VOLTage[:LEVel][:IMMediate]:AMPLitude, 458 [SOURce<n>]:VOLTage[:LEVel][:IMMediate]:OFFSet, 459 Specifications certification, A9 characteristic, A1, A7 compliances, A9 electrical, A1 environmental, A8 mechanical, A7 specifications, A1 Specify the Last Setting Memory Number for the Step Recall, 333 *SRE, 460 *SRE command, 58 SRER register, 58 Standard Accessories, 13 Starting Output, 215 Status and error commands *ESE, 57 *ESR?, 55 *SRE, 58 STATus:OPERation:ENABle, 58 STATus:QUEStionable:ENABle, 58 Status Register, 54 Status Registers, Defined, 53 STATus Subsystem Commands, 423 STATus:OPERation:CONDition?, 460 STATus:OPERation:ENABle, 461, 58 STATus:OPERation[:EVENt]?, 461 STATus:PRESet, 462 STATus:QUEStionable:CONDition?, 462 STATus:QUEStionable:ENABle, 463, 58 STATus:QUEStionable[:EVENt]?, 463 STATus:QUEue[:NEXT]?, 464 *STB?, 465 STEP RECALL, 333 Step Recall, 330
Index-4
Index
Step Recall Mode, 331 String, 410 Style Fun, Style Name, Page# Sep Equipment List, for Performance Verification, B5 Performance Verification Amplitude Accuracy Checks, B11 DC Voltage Accuracy Checks, B16 Equipment Required, B5 Frequency Accuracy Checks, B9 Modulation Function Checks, B26 Of Warranted Characteristics, B4 Operating Mode and Phase Checks, B18 Output Waveform Checks, B6 Prerequisites, B4 Sweep, 316 Sweep Spacing, 320 Sweep Start Frequency, 319 Sweep Stop Frequency, 319 Sweep Time, 319 SWP, 316 SWP SPACING, 320 SWP START, 319 SWP STOP, 319 SWP TIME, 319 SYNC OUT Connector, 25 SYNC Signal Output, E1 Syntactic Delimiters, 46 SYSTEM Button, 331 System events, 514 System Menu Structure, 36 SYSTem Subsystem Commands, 424 SYSTem:BEEPer:STATe, 465 SYSTem:ERRor?, 466 SYSTem:KLOCk, 466 SYSTem:SECurity:IMMediate, 467 SYSTem:SRECall[:STATe], 468 SYSTem:ULIMit, 468 SYSTem:VERSion?, 469
TRACe|DATA:COPY, 470 TRACe|DATA[:DATA], 470 TRACe|DATA[:DATA]:LINE, 471 TRACe|DATA[:DATA]:VALue, 472 TRACe|DATA:DEFine, 472 TRACe|DATA:LOCK[:STATe], 473 TRACe|DATA:POINts, 474 *TRG, 474 TRIGGER EXT IN Connector, 26 Trigger Input for the Dual Channel Instrument, 315 Triggered Mode, 314 *TST?, 475 Tutorial 1. Outputting Standard Waveforms, 228 Tutorial 2. Setting Up Sweep and Output Waveform, 233 Tutorial 3. Creating a User Waveform and Output Waveform, 238 Tutorial 4. Importing a Waveform from Other Instrument, 248 Tutorials, 227
U
Unit and SI Prefix, 410 Unlock User Waveform Memory, 334 UNLOCK WAVE, 334 Upper and Lower Case, 413 USER Waveform and EDIT Waveform, 313 Using the Control Buttons, 212 Using the Numeric Buttons, 211
V
VERSION, 336 Voltage Settings, 17
W
*WAI, 475 Warranted characteristics, performance conditions for, A1 Waveform Data Format, 415 Waveform Transfer, 414 Write a New Waveform, 324
T
T / L, 332 Talk / Listen, 332 TRACe|DATA Subsystem Commands, 425 TRACe|DATA:CATalog?, 469
Index-5
Index
Index-6