beautypg.com

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

Page 5

background image


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

API Description 5

How to Navigate through Trace File ............................................................. 148

Load a Trace File and Build View ............................................................ 148

Load a Trace File .................................................................................................................... 148

Build View for Packet Navigation ........................................................................................... 148

Navigate through Trace File .................................................................... 149

Extraction of Packet Information ........................................................................................... 149

Navigate through Packets ...................................................................................................... 152

Filter Packets ........................................................................................... 153

Set Filter Data ........................................................................................................................ 153

Apply Filter ............................................................................................................................ 157

Search/ Find Packets ............................................................................... 157

Summary ................................................................................................. 158

Using CATC API .............................................................................................. 160

Create an SASAnalyzer Object ................................................................ 160

Call the Attach Function .......................................................................... 160

Using Infusion API ......................................................................................... 161

Initialize Sierra Infusion and Connect to Board ...................................... 161

Create a Callback class which inherits from CINFAPINotificationCallback class

........................ 161

Create an object from Callback class and initialize it ............................................................. 162

Initialize the Infusion Library ................................................................................................. 162

Get main objects from Infusion library to work with them ................................................... 162

Get connected devices list ..................................................................................................... 163

Call ConnectFromAPI function to connect to a specified board ............................................ 164

Disconnect from the board .................................................................................................... 168

Run and Stop Scenario ............................................................................ 168

Set port configuration in Infusion .......................................................................................... 168

Specify scenario ..................................................................................................................... 170

StartSession ........................................................................................................................... 170

StopSession ............................................................................................................................ 170

SATA Protocol Suite

Device Emulator API Functions ............................... 171

Enabling smart feature set ...................................................................... 171

Enabling Smart Self Test ......................................................................... 171

Enabling Error Logging ............................................................................ 172

Enabling READ DATA returns user data ................................................................................. 172

STCompliance API ......................................................................................... 172

VB Script ................................................................................................................................ 172

STCompliance API Methods .................................................................... 173

Attach .................................................................................................................................... 173