Data Sheet

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
32
2.1.15 IUsbAnalyzer::StopUsb3Generation
HRESULT StopUsb3Generation ();
Stops USB 3.0 generation started by the StartUsb3Generation method.
Parameters
Return values
ANALYZERCOMERROR_ANALYZERNOTCONNECTED Analyzer is not connected
Remarks
Stops generation started by the StartUsb3Generation method. Generation stops if the analyzer is either
running or paused, and the analyzer then returns to the idle state.
Example
WSH:
Set Analyzer = WScript.CreateObject("CATC.UsbTracer", "Analyzer_")
' Tell the CATC USB analyzer to start generation.
Analyzer.StartUsb3Generation "example.usb3g"
WScript.Sleep 3000
' Tell the analyzer to stop recording.
Analyzer.StopUsb3Generation()
VBScript:
<OBJECT
RUNAT=Server
ID = Analyzer
CLASSID = "clsid:136D64A4-3CD5-4b41-974A-C7039E3FC292"
>
</OBJECT>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub BtnStopUsb3Generation_OnClick
On Error Resume Next
Analyzer.StopUsb3Generation
If Err.Number <> 0 Then
MsgBox Err.Number & ":" & Err.Description
End If
End Sub
-->
</SCRIPT>