beautypg.com

Navigate through trace file, Extraction of packet information, Extract packet information – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 149

background image


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

How to Navigate through Trace File 149

CSerialSCSIExtraction::BuildDataView ()
Prototype

BuildDataView (CEIViewTypeEnum eColumnViewTypeOfView,

BOOL bBuildSync, BOOL bBuildWithFilteredPacket, BOOL* pbRetVal)

Usage

= -> BuildDataView

(, , );

Inputs

CEIViewTypeEnum eColumnViewTypeOfView: Type of the view that you want to

build for sample navigation

BOOL bBuildSync: Specifies whether to apply synchronization of packets

while building.

BOOL bBuildWithFilteredPacket: Specifies whether to consider filtered packets

or not.

Return Value Success/failure status of the method execution
Description Call the BuildDataView () function of the Serial SCSI Extraction interface to build

data view for trace file navigation.

CSerialSCSIExtraction::BuildPacketView ()
Prototype HRESULT BuildPacketView (int* pnErrorCode)
Usage

-> BuildDataView ();

Inputs

Int* pnErrorCode: Specifies success/failure status of the method execution

Return Value None
Description Call the BuildPacketView () function of the Serial SCSI Extraction interface to

build packet view for trace file navigation.


Navigate through Trace File

To navigate through a loaded sample file, first extract the packet information” from the file, and

then navigate through packets, using the GoTo functionalities of the Extraction Interface.

Extraction of Packet Information

Extraction of packet information involves:

• Set Extraction to Layers
• Expand Layers

Extract Packet Properties

(

Refer to SampleViewer -> SampleViewerView.cpp -> ExtractAndShow ().)

//Set Extraction to Link and Idle Layers.