beautypg.com

Summary – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 97

background image


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

Using Initiator/Host Emulator API Functions 97

Summary

Using an Initiator Emulator API involves a stage-by-stage process of Create, Run, Open, and

Modify of an Exerciser capture project, as given below.

Stages involved in using

Host Emulator API

Corresponding Function Calls

Create a NEW Initiator/Host Exerciser
Capture Project
Initialize an Initiator Project Object

Create a New Initiator Capture Project


CSerialSCSICaptureProject::CreateInstance ()

CSerialSCSICaptureProject::New ()

Run, Stop and Extract Sample
Run the Capture Project



Stop the Capture Project

Upload and Create Sample file


CSerialSCSICaptureProject::Run ()
CWnd::SetTimer ()
OnTimer ()

CSASGeneralService::HalAnalyzerStop ()

CSerialSCSIExtraction::put_AnalyzerSpeed ()
CSerialSCSIExtraction::SetAnalyzerLinkEnable ()
CSerialSCSIExtraction::DumpAndExtract ()

Open a Saved Host Emulator

Capture Project

Open an Initiator Capture Project



CSerialSCSICaptureProject::Open ()

Modify an Existing Initiator

Capture Project

Get Exerciser Engine Interface


Set Data Block

Add/ Insert a Packet in Initiator

Add/ Insert an Event in Initiator



CSerialSCSICaptureProject::GetExerciserInterface

()


CExerciserEngine::SetDataBlock ()

CExerciserEngine::InsertPacket ()

CExerciserEngine::InsertInstruction()