beautypg.com

17 iusbanalyzer::resumeusb3generation, Iusbanalyzer::resumeusb3generation – Teledyne LeCroy USB Analyzer Automation Manual User Manual

Page 34

background image

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite

34

2.1.17 IUsbAnalyzer::ResumeUsb3Generation


HRESULT ResumeUsb3Generation ();

Resumes the USB 3.0 generation paused by the PauseUsb3Generation command.

Parameters


Return values

ANALYZERCOMERROR_ANALYZERNOTCONNECTED

Analyzer is not connected

Remarks

Resumes the generation paused by the PauseUsb3Generation method. The generation returns to the
running state from the paused state.

Example


WSH:

Set

Analyzer = WScript.CreateObject("CATC.UsbTracer", "Analyzer_")

' Tell the CATC USB analyzer to start generation.

Analyzer.StartUsb3Generation "example.Usbg"
WScript.Sleep 3000

' Tell the analyzer to stop recording.

Analyzer.PauseUsb3Generation()
WScript.Sleep 3000
Analyzer.ResumeUsb3Generation()


VBScript:

RUNAT=Server
ID = Analyzer
CLASSID = "clsid:136D64A4-3CD5-4b41-974A-C7039E3FC292"

>