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

AWG710&AWG710B Arbitrary Waveform Generator User Manual 3-185
Waveform Programming Language
This section describes the Waveform Programming Language (WPL) syntax, rules,
and command descriptions. There are also a number of programming examples at
the end of this section.
Command Syntax
This manual uses the Backus–Naur Form (BNF) notation, shown in Table 3-46, to
describe commands.
General Syntax Rules
Following are the general syntax rules for writing an equation file:
All spaces, line feeds, and tab codes are ignored unless in a string.
The concept of a line does not exist.
All data from a single quote (’) to the end of a line is regarded as a comment.
Alphabetical characters are case–insensitive unless in a string.
The concept of cursor does not exist. You always work with the whole
waveform.
File attribute functions are unavailable in a waveform expression.
The maximum length of a string is 256 characters, including spaces. Even if
two or more strings are linked by colons (:) in a string expression, the whole
length of the linked strings must not exceed 256 characters or an error will
occur.
The total length of strings in the whole equation program can be up to 1,000.
(The length is the sum of the number of characters of the string(s) plus a
character used as the internal terminal code.)
Table 3-46: BNF symbols and meanings
Symbol Meaning
< > Defined element
[ ] Optional; can be omitted
… Previous element(s) may be repeated