beautypg.com

Teledyne LeCroy USB Analyzer Automation Manual User Manual

Page 125

background image

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

125

Example


VBScript:


classid=clsid:A0CB5386-38BA-4970-8782-3D1B707C3E5F>


...



WSH:

' Create CATC analyzer adapter first.
Set AnalyzerAdapter = WScript.CreateObject("CATC.AnalyzerAdapter", "Analyzer_")

RemoteServer = "EVEREST"
Set Analyzer = AnalyzerAdapter.CreateObject("CATC.USBTracer", RemoteServer)

Analyzer.StartRecording ( Analyzer.ApplicationFolder & "my.rec" )
...