Data Sheet

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
5
3.9 ...... IUsbTrace10 interface ........................................................... 82
3.9.1 IUsbTrace10::ExportTransactionsWithPacketsToCsv ....................... 82
3.10 ... _ITraceEvents interface ........................................................ 84
3.10.1 ITraceEvents::OnLevelDecodeFinished ............................................ 84
3.11 ... IUsbVerificationScript Interface............................................. 85
3.11.1 IUsbVerificationScript::RunVerificationScript .................................... 86
3.11.2 IUsbVerificationScript::GetVScriptEngine ......................................... 88
4 Primary Dual Interface for Packet ........................................................... 89
4.1 ...... IUsbPacket Interface ............................................................. 89
4.1.1 IUsbPacket::GetTimestamp .............................................................. 89
4.1.2 IUsbPacket::GetDuration .................................................................. 89
4.1.3 IUsbPacket::GetSpeed...................................................................... 89
4.1.4 IUsbPacket::GetChannel ................................................................... 90
4.1.5 IUsbPacket::GetType ........................................................................ 90
4.1.6 IUsbPacket::GetFieldValue ............................................................... 92
4.1.7 IUsbPacket::GetAllFieldsValues ....................................................... 92
4.1.8 IUsbPacket::GetMarker ..................................................................... 93
4.1.9 IUsbPacket::GetErrorsBitmap ........................................................... 93
4.1.10 IUsbPacket::GetRawData ................................................................. 95
4.1.11 IUsbPacket::GetUsb3ScrambledData ............................................... 95
4.1.12 IUsbPacket::GetUsb3TenBitData ...................................................... 96
5 Primary Dual Interface for USB Verification Script Engine .................. 97
5.1 ...... IVScriptEngine interface ....................................................... 97
5.1.1 IVScriptEngine::VscriptName ............................................................ 98
5.1.2 IVScriptEngine::Tag .......................................................................... 99
5.1.3 IVScriptEngine::RunVScript ............................................................ 100
5.1.4 IVScriptEngine::RunVScriptEx ........................................................ 101
5.1.5 IVScriptEngine::LaunchVScript ....................................................... 102
5.1.6 IVScriptEngine::Stop ....................................................................... 103
5.1.7 IVScriptEngine::GetScriptVar .......................................................... 104
5.1.8 IVScriptEngine::SetScriptVar .......................................................... 106
6 Verification Script Engine Events Callback Interface ......................... 108
6.1 ...... _IVScriptEngineEvents dispinterface .................................. 108
6.1.1 _IVScriptEngineEvents::OnVScriptReportUpdated ......................... 111
6.1.2 _IVScriptEngineEvents::OnVScriptFinished .................................... 112
6.1.3 _IVScriptEngineEvents::OnNotifyClient .......................................... 113
7 Primary Dual Interface for Recording Options .................................... 115
7.1 ...... IUsbRecOptions Dual Interface .......................................... 115
7.1.1 IRecOptions::Load .......................................................................... 116
7.1.2 IRecOptions::Save .......................................................................... 117
7.1.3 IRecOptions::SetRecMode .............................................................. 118
7.1.4 IRecOptions::SetBufferSize ............................................................ 119
7.1.5 IRecOptions::SetPostTriggerPercentage ........................................ 120
7.1.6 IRecOptions::SetTriggerBeep ......................................................... 121
7.1.7 IRecOptions::SetDataTruncate ....................................................... 122
7.1.8 IRecOptions::SetAutoMerge ........................................................... 122