12 catcanalyzeradapter, Class id: a0cb5386-38ba-4970-8782-3d1b707c3e5f, Catcanalyzeradapter – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual
Page 144

Teledyne LeCroy
Automation API for PETracer/PETrainer
139
12 CATCAnalyzerAdapter
CATCAnalyzerAdapter is an automation server that allows the launching and accessing of Teledyne LeCroy
analyzer automation servers. If all necessary DCOM settings and permissions are set on the remote server, the
server can be run remotely over an IP network. The examples below shows how the CATCAnalyzerAdapter is
used as an intermediary between an HTML page and the PETracer™ analyzer server.
The following diagram illustrates how this functionality works:
The Class ID and App ID for PEAnalyzer object are the following.
Class ID:
A0CB5386-38BA-4970-8782-3D1B707C3E5F
App ID:
CATC.AnalyzerAdapter
Primary 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
AnalyzerAdapter
Firing automation
events from adapter
PEAnalyzer
on remote machine
Firing automation events
from PEAnalyzer
Adapter is launched
when page is loaded