beautypg.com

How to navigate through trace file, Load a trace file and build view, Load a trace file – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 148: Build view for packet navigation, Navigate through trace file

background image


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

How to Navigate through Trace File 148

How to Navigate through Trace File

Navigating through a Trace/Sample file involves:

• Load a Trace File and Build View

o

Load a Trace File

o

Build View for Packet Navigation

• Navigate through Trace File

o

Extract Packet Information

o

Navigate Through Packets

• Filter Packets

o

Set Filter Data

o

Apply Filter

• Search/Find Packets
• Summary

Load a Trace File and Build View

Load a Trace File

To load/open a saved sample file, use the Open () function of Extraction.

int nIsOpenSuccess = m_SerialSCSIExtraction -> Open (bstrFileName);

CSerialSCSIExtraction::Open ()
Prototype

int Open (_bstr_t bstrFileName);

Usage

-> Open ();

Inputs

_bstr_t bstrFileName: BSTR format of the sample file path

Return Value Success/failure status of the method execution
Description Call the Open () function of Extraction interface to load any saved sample file.

Build View for Packet Navigation

To build a Data-View or Packet-View for trace file navigating, call their respective functions,

such as BuildDataView or BuildPacketView of Extraction Interface.

BOOL bRetVal = m_pSASExtraction->
BuildDataView (CEI_FRAME_VIEW_TYPE, TRUE, TRUE);

BOOL bRetVal = m_pSASExtraction->BuildPacketView ();