beautypg.com

3 peanalyzer object, Class id: 297cd804-08f5-4a4f-b3ba-779b2654b27c, Example – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual

Page 9: Ipeanalyzer* popeanalyzer, Peanalyzer object

background image

Teledyne LeCroy

Automation API for PETracer/PETrainer

4

3 PEAnalyzer Object


The PEAnalyzer

object is a top-level object of PETracer™ API.


The PEAnalyzer

object allows user to control the recording and traffic generation, open trace files, and access

to the recording and generation options.

The PEAnalyzer

object supports the following interfaces:

Interfaces

Description

IAnalyzer

Facilitates recording and traffic generation, opens trace files,
and retrieves recording options,

IPEAnalyzer

Extends the IAnalyzer interface:
Adds advanced generator functionality, retrieves generation
options.

IPEAnalyzer2

IPEAnalyzer3

Extends the IPEAnalyzer interface:
Adds hardware information and control methods.
Extends the IPEAnalyzer2 interface:
Adds StartImportFile method.

_IAnalyzerEvents

Events from PEAnalyzer object


The IPEAnalyzer3 interface is a primary interface for the PEAnalyzer object.

The Class ID and App ID for the PEAnalyzer object are the following.

Class ID:

297CD804-08F5-4A4F-B3BA-779B2654B27C

App ID:

CATC.PETracer


Example


WSH:

Set Analyzer = WScript.CreateObject( “CATC.PETracer” )


C++:

IPEAnalyzer* poPEAnalyzer;

// create PEAnalyzer object
if ( FAILED( CoCreateInstance(

CLSID_PEAnalyzer,
NULL, CLSCTX_SERVER,
IID_IPEAnalyzer,
(LPVOID *)&poPEAnalyzer ) )

return;