beautypg.com

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

Page 151

background image


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

How to Navigate through Trace File 151

CSerialSCSIExtraction::SetAssociateLayers ()
Prototype

HRESULT SetAssociateLayers (short iAssociateLayers);

Usage

-> SetAssociateLayers ();

Inputs

short iAssociateLayers: Identifier of the Layer (LAYER_LINK | LAYER_IDLE)

Return Value None
Description Call the SetAssociateLayers () function of Extraction Interface object to set

extraction on layers.


CSerialSCSIExtraction::ExpandAllPackets ()
Prototype

HRESULT ExpandAllPackets (short iLayerMaskID, long bExpand);

Usage

-> ExpandAllPackets (,

);

Inputs

short iLayerMaskID: Identifier of the layer long bExpand: Specifies whether to

expand the layer or not

Return Value None
Description Call ExpandAllPackets () of Extraction Interface to set the expansion status of

all packets of the layer.


CSerialSCSIExtraction::GetPacketProperties ()
Prototype

long GetPacketProperties (int nIndex, short* pLayerID, int* pFieldNumber,

BOOL* pExpandable, BOOL* pIsExpanded, BYTE* pLayerLevel,

int* pPacketIndexInLayer, BYTE* pPacketDirection, VARIANT* pStartTime,

long* pIdleTime, long* pDurationTime, BOOL* pHasBookmark,

short* piNumberOfPErrors, VARIANT* pvtPErrorCodeList);

Usage

-> GetPacketProperties

(<”set of parameters as listed below”>);

Inputs

int nIndex: Object index of a packet

short* pLayerID: Layer ID of a packet

int* pFieldNumber: Number of fields of a packet

BOOL* pExpandable: Dummy parameter

BOOL* pIsExpanded: Dummy parameter

BYTE* pLayer: Level of a packet

int* pPacketIndexInLayer: Index of a packet corresponding to layer ID

BYTE* pPacketDirection: Direction of a packet