Teledyne LeCroy UWBTracer Automation Manual User Manual

Page 83

Advertising
background image

LeCroy

UWBTracer Automation API Reference Manual

Manual Version 3.02

79

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



























Figure 6-1 Analyzer Adapter


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

UwbAnalyzer

Running on remote
machine

Firing automation events from
UWBAnalyzer

Adapter is launched when
page is loaded

Advertising