beautypg.com

Saveastext, Findpacket – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 833

background image


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

ISerialSCSIExtraction 833

SaveAsText

Void SaveAsText (

BSTR bstrFileName,

short iStartLayerID,

int nStartPacketIndexLayer,

short iEndLayerID,

int nEndPacketIndexInLayer,

int* pbRetVal);


Inputs
BSTR bstrFileName

Path and name of file.

short iStartLayerID

Layer ID of start packet to save. (see

SAS Layer definition

)

int nStartPacketIndexInLayer Start packet index in a layer.
short iEndLayerID

Layer ID of end packet to save. (see

SAS Layer definition

)

int nEndPacketIndexInLayer

End packet index in a layer.


Return Value
If function call is correct, return value is zero. Otherwise, contains an error code.

Remark
Saves all or a part of sample to a text file.