beautypg.com

Setdatainproperties, Setdelayinstructiontime – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 473

background image


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

IExerciserEngine 473

SetDataInProperties

int SetDataInProperties (

short iLayerID,

int nPacketIndexInLayer,

BOOL bIsDefineStoreBuffer,

WORD yLengthOfDataIn,

int nOffsetOfDataIn);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

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

or not.

WORD yLengthOfDataIn

Length of stored Data In feature in DWORD format.

int nOffsetOfDataIn

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.
Sets stored Data In features: feature is 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

GetDataInProperties