beautypg.com

Getfieldstream, Getgotoinstructionlableid – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 416

background image


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

IExerciserEngine 416

GetFieldStream

BOOL GetFieldStream (

short iLayerID,

int nPacketIndexInLayer,

int nFieldIndex,

RadixEnum eRadix,

DpDirect eDataDirection,

int nByteSeparated,

int nStartByte,

unsigned long* pulMaxByteCount,

BSTR* bstrFieldStream,

BOOL* bRetVal);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

int nFieldIndex

Index of a field in packet.

RadixEnum eRadix

Radix to set for the value of parameter.(see

RadixEnum

)

DpDirect eDataDirection

Direction of bstrFieldStream parameter.

int nByteSeparated

Dummy parameter.

int nStartByte

Dummy parameter.

unsigned long* pulMaxByteCount Dummy parameter.
BSTR* bstrFieldStream

Value of a field in string format with a radix.


Return Value
Returns result of method, whether called by valid index and layer ID or not.

Remark
Returns value of a field of a packet in a Radix, in string format, corresponding to

nPacketIndexInLayer and iLayerID parameters.

See Also

GetPacketProperties