Teledyne LeCroy SAS_SATA Automation API manual User Manual
Page 9

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite
3
Teledyne LeCroy SAS/SATA Protocol Suite COM API Object Model
Teledyne LeCroy
Only the SASAnalyzer object is creatable at the top level (for instance, via the
CoCreateInstance call from a C/C++ client). Instantiation of an object of other classes
requires API calls.
The Class ID and App ID for the SASAnalyzer object are the following.
Class ID:
SASAnalyzer 12A4B62B‐107A‐42AE‐9C56‐08C5EC3C26E2
AppID:
SASAnalyzer Lecroy.SASAnalyzer
All interfaces are dual interfaces that allow simple use from typeless languages (like
VBScript), as well as from C/C++.
All objects implement the ISupportErrorInfo interface for easy error handling from the
client.
* Primary interfaces
The examples of C++ code given in this document assume using the “import” technique
of creating COM clients. That means the corresponding include is used:
#import "SASAutomation.tlb" no_namespace named_guids
Appropriate wrapper classes are created in .tli and .tlh files by the compiler.
Examples of WSH, VBScript, and C++ client applications are provided.
Object
Interface
Description
SASAnalyzer
ISASAnalyzer
_ISASAnalyzerEvents
Represents the Teledyne LeCroy SAS/
SATA Protocol Suite COM API
application.
SASTrace
ITrace
ISASTrace*
ISASVerificationScript*
Represents the recorded trace.
SASRecOptions
IRecOptions
ISASRecOptions
Represents recording options.
SASPacket
IPacket
ISASPacket*
Represents a single packet of the
recorded trace.
SASTraceErrors
ISASAnalyzerErrors*
Represents the collection of errors that
occurred in the recorded trace.