Chapter 11: macros, 1 macros, Default macros: connect and disconnect – Teledyne LeCroy PETracer EML Analyzer and Exerciser User Manual User Manual
Page 221: Chapter 11 macros

PETracer EML User Manual
Chapter 11: Macros
LeCroy Corporation
213
Chapter 11: Macros
11.1 Macros
PETrainer™ EML™ allows users to add buttons to the Status bar at the bottom of the 
window (and add commands to the Generate menu) to run traffic generation macros on 
the Exerciser. 
After a macro script has been defined and assigned to a button the on the Status bar, the 
macro can be run by clicking the macro button with the mouse or selecting the macro 
name from the Generate menu.
Default Macros: Connect and Disconnect
By default, the PETracer™ software includes two macros, Connect and Disconnect. 
These buttons execute macros for creating and breaking a connection between the 
Exerciser and a DUT.
The buttons are on the Status bar when Exerciser hardware is present.
The commands are also on the Generate menu:
Connect Macro
The default code for this macro is the following:
Config = General {TrainerReset = 1} 
Link = Detect 
Wait = 500 
Link = L0 
Wait = 500 
Link = InitFC 
Disconnect Macro
The default code for this macro is the following:
Config = General {TrainerReset = 1} 
Link = Detect
