3 modifying script macros – Teledyne LeCroy PETracer EML Analyzer and Exerciser User Manual User Manual

Page 224

Advertising
background image

Chapter 11: Macros

PETracer EML User Manual

216

LeCroy Corporation

11.3 Modifying Script Macros

To modify a macro assigned to a button:

Step 1 Select Setup > Generation Macro from the menu.

The Generation Macros dialog opens for modifying, creating, and deleting macros:

Name: Name of Macro

Comment: Descriptive comment so you can remember what the macro does

Icon: Currently assigned button for the macro.

Show icon on the toolbar: If checked, places the icon on the Status bar.

Edit Code: Opens a dialog for editing the macro script.

Step 2 Select the macro to be modified.

Step 3 Within the Script properties area, modify the script name, script

comment, script icon, and whether or not to show script icon

Step 4 To edit script code, press the Edit code... button. The Generation

Macros dialog closes and the Script Editing window appears, showing
current code for the selected script macro.

Note: If the Generation Script Editor pane does not appear, click

.

Step 5 Modify the script code and press the Save button

.

Step 6 Close the script window. The macro has now been modified.

11.4 Changing the Order of Macro Icons on the Status
Bar

To change the order of script macro icons on the Status bar:

Step 1 Open Generation Macro Scripts dialog by selecting

Setup > Generation Macros.

Step 2 Click the Up and Down buttons to change the order of the script macros.

Step 3 Close the dialog. The button order is changed.

Advertising