16 setting complex “wait for” conditions – Teledyne LeCroy Sierra M122 User Manual User Manual
Page 357

Sierra M122 SAS/SATA Protocol Analyzer User Manual
355
Sierra Trainer Generation Language
Teledyne LeCroy
5.11.16 Setting Complex “Wait For” Conditions
The Generation Options dialog lets you define complex “Wait For” events and assign a
letter value (“A” through “F”) to the definition, so that you can refer to the definition by
letter instead of by textual name.
After a letter value has been assigned to an event, the letter is referred to in your
generation script using the following command syntax:
Wait_For {WF_REC_RESOURCES_OUTPUT_A}
where “A,” in this case, is the defined condition.
Setting Conditions with the Generation Options Dialog
To set a complex condition, open the Generation Options dialog:
1. Select Generate > Generation Options from the menu to open the
Generation Options dialog.
2. Click the New Events button and select an event from the menu. The selected event
should appear in the Available Events area along the left side of the dialog box.
3. Drag the new event button to the Global State cell.