beautypg.com

Getdatainproperties, Getdelayinstructiontime – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 403

background image


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

IExerciserEngine 403

GetDataInProperties

int GetDataInProperties (

short iLayerID,

int nPacketIndexInLayer,

BOOL* pbIsDefineStoreBuffer,

WORD* pyLengthOfDataIn,

int* pnOffsetOfDataIn);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)


int nPacketIndexInLayer

Index of a packet corresponding to layer ID.


BOOL* pbIsDefineStoreBuffer Specifies whether stored Data In feature is defined for a packet

or not.


WORD* pyLengthOfDataIn

Length of stored Data In feature in DWORD format.


int* pnOffsetOfDataIn

Offset of stored Data In feature in DWORD format.


Return Value
Returns the Error Code if an error occurs.

Remark
You can check the payload buffer in Initiator for Input Data using the Check Payload Buffer

block. Returns stored Data In features: feature defined or not, offset and length of data In.
It returns the Error Code if an error occurs.

NOTE: This function can call Read or Bi-Directional commands.

See Also

SetDataInProperties