beautypg.com

1 highlighting, 2 text editing commands, 3 help – Teledyne LeCroy USB Protocol Suite User Manual (Voyager_Advisor T3_Mercury) User Manual

Page 356: 4 properties window, 5 file tabs, 6 errors

background image

Teledyne LeCroy Corporation

Script Editor

356

 

 

USB Protocol Suite User Manual

12.8.1

Highlighting

All known commands and parameters are highlighted in blue.

All predefined values and command modifiers are highlighted in brown.

Comments are in green.

Errors are in red.

12.8.2

Text Editing Commands

The Script Editor supports standard editor commands using toolbar buttons and Edit 
menu commands: 

Undo/Redo

Cut/Copy/Paste: Also available by right‐clicking a command to display a menu

Bookmarks: Toggle, Previous/Next, and Clear All

Find/Replace/Find Next/Go to

12.8.3

Help

Right‐click a command to display a menu from which you can choose Help.

12.8.4

Properties Window

The Properties window lists all parameters and their values for the selected script 
command. Parameters/values can be changed by entering text into the text boxes or by 
selecting items from pull‐down menus.

12.8.5

File Tabs

At the top of the Script Editor window is a tab with the name of the open generation file. 

If there are Include statements in the generation file that link it to other generation files, 
these files automatically open and display as tabs at the top of the window. You can click 
the tabs to toggle between the open generation files.

12.8.6

Errors

When you compile a script and have an error, the error appears in the Error tab at the 
bottom of the application window. Each error has a file name, line number, and 
description. Double‐clicking the error jumps to the line number.

A red square appears next to the line number that contains the error.

A yellow square appears next to the line number that has a warnings.

Note:

You cannot run a script that has syntax errors.