Data Sheet

USBProtocolSuiteUserManual 545
DeviceEmulation TeledyneLeCroyCorporation
2. IntheMiscpage,selectDeviceEmulationMode.
3. ConfigureResumesettings.
IfyouwantthesimulateddevicetoissueResumes,thenselectDeviceResumes
andenteradelaytime(inmilliseconds).IfyoudonotselectDeviceResumes,
thentheemulateddevicewaitsforaHosttoissueaResume.
IfyouwantthesimulateddevicetotakeitsaddressfromtheTrafficGeneration
(.utg)scriptfile,thenselectUse Address in .utgfile.Thisoptioncausesthesys‐
temtoreadthe.utgfileandassignaDeviceAddressbasedonthedevicetraffic
thatitseesinthefile.
Note:Inthisrelease,theDeviceEmulatordoesnotlookattheSetAddressinthescript,soifyourhost
controllerisrunningmorethanonedevice,itmayenumerateyourdeviceemulatorincorrectly
whenyoubegintogeneratetraffic.Thesolutionistomanuallyassignadeviceaddress.To
manuallyconfiguretheDeviceAddress,selectEmulatedDevice'sHexAddressandenteran
addressormask(Note:Amaskallowsthesystemtorespondtomultipledeviceaddresses.)
4. ClickOKtoclosetheRecordingOptionsdialogandapplythechanges.The
generationsettingstakeeffectassoonasyouexecuteascript.
11.12.3 Run the Traffic Generation Script File
1. Connectthesystem'sportB(eitherHiSpeedorClassicSpeed)totheHost.
2. OpentheTrafficGeneration.utgfile.
3. Begintrafficgenerationbyclicking .
Whenexecutionbegins,thesystemreadstheentiregenerationfileandthenparsesthe
generationcommandsintogroupsaccordingtotheirendpoints.Eachoftheparsed
groupsofcommandsarethenwrittenintodedicatedmemorysegmentsinthegenerator.
Uptoeightmemorysegmentscanbecreatedforthevariousendpoints.Inthecaseof
Endpoint0oranyControlendpoints,asinglememorysegmentiscreated.
Eachmemorysegmentcanbethoughtofasaqueueofthecommandsandresponsesfor
aparticularendpointthatoccurinthegenerationfile.
Commandsarestoredsequentiallywithineachmemorysegmentastheyoccurinthe
generationfile.Forexample,ifagenerationfilehasasequenceofcommandXandYfor
theEndpoint1,thecommandsareextractedinthisorderandplacedintheEndpoint1
memorysegment.
Whenthehostcallsforaparticulardeviceendpointresponse,thefirstcommandlistedin
thatendpointmemorysegmentisthenexecuted.Witheachsubsequentcalltothesame
endpoint,commandsareexecutedsequentiallydownthelistastheyoccurinthe
memorysegments.Forexample,ifthreecallsweremadetoEndpoint0IN,thenthefirst
threecommandsinthatendpoint'smemorysegmentwouldthenexecute.
Note:Eachoftheendpointmemorysegmentsexecuteindependently:therearenobehavioral
interactionsbetweentheindividualendpoints.