beautypg.com

3 fcanalyzer object – Teledyne LeCroy SierraFC Automation API User Manual

Page 8

background image

LeCroy Corporation

SierraFC M8-4 API Reference Manual

Manual Version 1.00

8

3 FCAnalyzer Object

The FCAnalyzer object is the top-level object of the SierraFC Protocol Analyzer API. The

FCAnalyzer object allows you to control recording and traffic generation, open trace files, and
access recording and generation options. The FCAnalyzer object supports the following
interfaces:

Interfaces

Description

IFCAnalyzer

Facilitates recording and traffic generation, opens trace files, and
retrieves recording options. Adds advanced generator functionality
and retrieves generation options.

_IFCAnalyzerEvents

Events from FCAnalyzer object.


The IFCAnalyzer interface is the primary interface for the FCAnalyzer object.

The Class ID and App ID for the FCAnalyzer object are the following:

Class ID FCAnalyzer

C2FB2993-5558-4E2C-9487-B0BEA36747B1

App ID

FCAnalyzer

Lecroy.FCAnalyzer



Example

WSH:

Set Analyzer = WScript.CreateObject( “Lecroy.FCAnalyzer” )

C++:

IFCAnalyzer* poFCAnalyzer;

// create FCAnalyzer object
if ( FAILED( CoCreateInstance(

CLSID_FCAnalyzer,
NULL, CLSCTX_SERVER,
IID_IFCAnalyzer,
(LPVOID *)&poFCAnalyzer ) )

return;