1 ianalyzeradapter interface, Ianalyzeradapter interface – Teledyne LeCroy USB Analyzer Automation Manual User Manual

Page 123

Advertising
background image

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

123

The following diagram and the examples below show how the CATCAnalyzerAdapter automation
server is used as an intermediate between an HTML page and the USB Protocol Suite analyzer server
to create automation objects dynamically, handle events, and control operation remotely.



























Figure 6-1 Analyzer Adapter

10.1 IAnalyzerAdapter Interface


Classid:

A0CB5386-38BA-4970-8782-3D1B707C3E5F

ProgID:

CATC.AnalyzerAdapter

COM server:

CATCAnalyzerAdapter.exe


Primary default interface:

IAnalazerAdapter









</HEAD>
<BODY BGCOLOR=silver>
<OBJECT id=

AnalyzerAdapter

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

</OBJECT

>

<SCRIPT
LANGUAGE="VBScript">
Set

Analyzer

=

AnalyzerAdapter.CreateObject

...
Sub
AnalyzerAdapter_OnTraceCreated

(ByRef

Trace)

'

Event Handler

End Sub

HTML page

Analyzer

Adapter

Firing automation events
from adapter

USB Analyzer

Running on remote
machine

Firing automation events from
USB Analyzer

Adapter is launched when
page is loaded

Advertising