Data Sheet

TeledyneLeCroyCorporation CreatingaScriptusingtheScriptEditor
584 USBProtocolSuiteUserManual
6. Adddatapatterns:
DataPattern SetAddrReq = { 00 05 00 00 00 00 00 00 }
7. Addframeandstructuretemplates:
structDeliveryID
{
Sel : 1 = 1 # Stream Index
Val : 3
}
8. (optional)Addglobalvariables.
9. (optional)Addgenerationsettings.
10. AddtheMaingenerationprocedure,suchasthefollowingexample:
Main
{
# Place your generations instructions here.
SetLinkState (LinkState = U0)
Call GetDescriptor(EndpointNum,0,DEVICE_DESC,0x00,
0x00,0x1200,WaitTPSleep,WaitDPSleep)
Call SetAddress(EndpointNum, DeviceNumber * 256,
WaitTPSleep, WaitDPSleep)
}
Note:YoucanusetheTextSnippetsontheleftTextSnippetspaneltoaddcommandsandtheir
parameters.
11. Addothergenerationprocedures(seeFigure 12.7onpage 585).Forhowtosetup
othergenerationprocedures,seeAppendixAoftheVoyager USB3.1Exerciser
GenerationScriptLanguageReferenceManual.