User's Manual
Table Of Contents
- Title page
- Table of Contents
- General Safety Summary
- Preface
- Getting Started
- Operating Basics
- Reference
- Reference
- Menu Structures
- The Setup Menu Screen
- The Graphical Waveform Editor
- The Pattern Editor
- Quick Editing
- The Table Editor
- The Equation Editor
- The Sequence Editor
- The APPL Menu
- The UTILITY Window
- External Keyboards
- Setting General Purpose Knob Direction
- Formatting a Floppy Disk
- Displaying Disk Usage
- Screen Display Enable/Disable
- Focused Color
- Displaying Instrument Status
- Internal Clock (Date and Time)
- Resetting the Instrument
- Connecting to a GPIB Network
- Ethernet Networking
- Hardcopy
- Calibration and Diagnostics
- Upgrading the System Software
- Capturing Waveforms
- Waveform Programming Language
- Command Descriptions
- Programming Examples
- File Conversion
- File Management
- FG Mode
- Waveform Mixing Mode
- Synchronous Operation Mode (AWG710B only)
- Appendices
- Appendix A: Specifications (AWG710B)
- Appendix A: Specifications (AWG710)
- Appendix B: Performance Verification (AWG710B)
- Conventions
- Self Tests
- Performance Tests
- Operating Mode Tests
- Amplitude and Offset Accuracy Tests (Normal Out), (except option 02)
- Amplitude, Offset Accuracy and Rise Time Tests (Direct DA Out), (except option 02)
- Amplitude, Offset Accuracy and Rise Time Tests (for option 02)
- Pulse Response Tests (Normal Out), (except option 02)
- Trigger Input Tests
- Event Input and Enhanced Mode Tests
- External Clock Input and VCO Out Output Tests
- VCO OUT Output Frequency and 10 MHz Reference Input Tests
- Marker Output Tests
- Synchronous Operation Tests
- Appendix B: Performance Verification (AWG710)
- Conventions
- Self Tests
- Performance Tests
- Operating Mode Tests
- Amplitude and Offset Accuracy Tests (Normal Out), (except option 02)
- Amplitude, Offset Accuracy and Rise Time Tests (Direct DA Out), (except option 02)
- Amplitude, Offset Accuracy and Rise Time Tests (for option 02)
- Pulse Response Tests (Normal Out), (except option 02)
- Trigger Input Tests
- Event Input and Enhanced Mode Tests
- 1/4 Clock Frequency and 10 MHz Reference Input Tests
- Marker Output Tests
- Appendix C: Inspection and Cleaning
- Appendix D: Sample Waveforms
- Appendix E: File Transfer Interface Outline
- Appendix F: Miscellaneous
- Appendix G: Sequence File Text Format
- Index

Programming Examples
AWG710&AWG710B Arbitrary Waveform Generator User Manual 3-209
Figure 3-64: Waveform generated by the Example 2 equation
Example 3
The following example creates one sequence file and four waveforms.
delete("test.seq")
size=1000
clock=1e9
num=4
'write sequence file header
write("test.seq","3002A\n")
write("test.seq","LINES ":num:"\n")
for i = 1 to num
'create a waveform file
"test":i:".wfm" = sin(2 * pi * i * scale)
'add line to sequence file
rep = num * i
write("test.seq","\"test":i:".wfm\",\"\",":rep:"\n")
next
The first line is the statement for deleting the existing waveform. If that file does
not exist, then no action is taken.
The size and clock keywords are the system valuables representing the waveform
record length, in points, and the sampling clock frequency. They are set to 1000
points and 1.0 GS/s in the above example.
The comment text on line 5 starts with a single quotation (') character. Comment
text is effective until the end of the line containing the single–quote character.