3 editing generation files with the script editor – Teledyne LeCroy PETracer EML Analyzer and Exerciser User Manual User Manual

Page 200

Advertising
background image

Chapter 10: Traffic Generation

PETracer EML User Manual

192

LeCroy Corporation

10.3 Editing Generation Files with the Script Editor

The Script Editor is an editing tool for PETracer traffic generation files (<filename>.peg).
The generation script is presented in the Script Edit window. Parameters are presented
in menus and text boxes in the Command Properties window in the right-hand portion of
the Script Editor.

To launch the Script Editor: click the Script Editor button

on the toolbar or

right-click the CATC Trace window and choose Edit as Text from the pop-up menu.

The Script Editor window displays in the lower portion of the CATC Trace window.

Layout: The Script Editor divides into four areas:

Script Editor toolbar: Presents options for printing, saving, bookmarking,
and other options.

Script Edit window: Main window where the script is displayed and edited.
Text in this window behaves as in most text editors. Text can be copied,
pasted, and searched.

Command Properties window: Presents editable parameters. Many
parameters have menus. Click the parameter in the Command Properties
window to see if a down-arrow appears.

File tabs: Lists the name of the traffic generation file and any open Include
files that are associated with the generation file. If the generation file has
Include statements, the Include files automatically open and display as tabs
in the File tabs section of the Editor window.

Error Log: An error log opens automatically at the bottom of the window any time a script
error occurs. The window closes automatically whenever the error is corrected, after you
save the script.

Advertising