Compiling equations – Tektronix AWG610 User Manual

Page 227

Advertising
background image

The Equation Editor

AWG610 Arbitrary Waveform Generator User Manual

3-109

3. Select the keyword to insert from the pop-up menu.

4. Press the OK side button. The keyword is inserted at the caret position.

Compiling Equations

The instrument cannot directly output an equation waveform. You must compile
the equation into a standard waveform (.wfm) file. You then load and output this
waveform file the same as any other waveform file. You can compile an equation
file from either the Equation editor or the main EDIT menu.

The syntax checker runs after you initiate the compile command. The error line
number is displayed if a syntax error is found.

Do the following steps to compile an equation from the Equation editor:

1. Push File (bottom)

!Compile (side).

The instrument checks the equations for syntax errors. If the equation file
contains syntax errors, the instrument displays the line number it thinks
contains the syntax error. Push the OK side button to return to the editor and
correct the equation(s).

If the equations contain no syntax errors, the instrument compiles the
equations and saves them to a .wfm file. The instrument then displays the
names of the new waveform file. By default, the instrument uses the
equation file name with a .wfm suffix.

2. Select the compiled waveform in the list, and push the View side button.

The instrument displays the waveform in the waveform view window.

3. Push the Close side button to return to the editor screen.

Compiling from the

Equation Editor

Advertising