3 sasanalyzer object – Teledyne LeCroy SAS_SATA Tracer_Trainer Automation API Manual User Manual

Page 8

Advertising
background image

LeCroy Corporation

Automation API for SAS/SATATracer/Trainer

Manual Version 1.11

8

3 SASAnalyzer Object

The SASAnalyzer object is the top-level object of the SASTracer API. The SASAnalyzer

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

Interfaces Description
ISASAnalyzer

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

_ISASAnalyzerEvents Events from SASAnalyzer object.


The ISASAnalyzer interface is the primary interface for the SASAnalyzer object.

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

Class ID SASAnalyzer

12A4B62B-107A-42AE-9C56-08C5EC3C26E2

App ID

SASAnalyzer

Lecroy.SASAnalyzer



Example

WSH:

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

C++:

ISASAnalyzer* poSASAnalyzer;

// create SASAnalyzer object
if ( FAILED( CoCreateInstance(

CLSID_SASAnalyzer,
NULL, CLSCTX_SERVER,
IID_ISASAnalyzer,
(LPVOID *)&poSASAnalyzer ) )

return;

Advertising