Sasanalyzer object – Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 10

Advertising
background image

Teledyne LeCroy

SASAnalyzer Object

4

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

SASAnalyzer Object

The SASAnalyzer object is the top‐level object of the SAS 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:

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;

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.

Advertising