Introduction, Api description – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 29

Advertising
background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

API Description 29

Introduction

The SAS/SATA API has three types of API:

STX API: For analyzer, emulators, and Trainer
CATC API: For analyzer and Trainer
Infusion API: Only for Infusion

SASEngine is a COM-based library that enables programmers to use some SAS software

functionality in their programs. This library manages all hardware functions. The library includes

some internal Interfaces to detect and set device options and to program SAS hardware.
The software is for use with applications developed under COM-supported platforms, such as

Microsoft

®

Visual C++™, Borland

®

Delphi™, and Microsoft Visual Basic™.

First, you must use a COM-supported platform.
Second, you must follow some instructions in programs.
To use API functions, you initialize your application and attach to a board. After initializing your

application and attaching to a board, create an instance of the COM Object. Then use the API

functions.
The most important sections of the SAS/SATA Protocol Suite, STX software are Analyzer and

Emulators.

API Description

The following is the Object Model:

GeneralSrv
This COM class can initialize, shut down the system, and attach to and detach from board.

SerialSCSICaptureProject
This COM Object can trigger, capture, and run a project.

ExerciserEngine
This COM Object can set up an initiator/host emulator and run it.

InitiatorErrorInjection
This COM Object can inject errors on commands or frames in host emulator.

Advertising