Chapter 5: macros, 1 macros, Default macros: connect and disconnect – Teledyne LeCroy Summit Z2-16 PCI Express Multi-lane Exerciser User Manual User Manual
Page 59: Chapter 5, Macros

Summit Z2-16 Exerciser User Manual
Chapter 5: Macros
Teledyne LeCroy
55
Chapter 5: Macros
5.1 Macros
You can 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
