Getfielddata, Getfielddescription – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 410

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
IExerciserEngine 410
GetFieldData
BOOL GetFieldData (
short iLayerID,
int nPacketIndexInLayer,
int nFieldIndex,
int nStartByte,
long* plDatLength,
VARIANT* pFieldData);
Inputs
short iLayerID
Layer ID of a packet (see
int nPacketIndexInLayer
Index of a packet corresponding to layer ID.
int nFieldIndex
Index of a field in packet.
int nStartByte
Dummy parameter.
long* plDatLength
Length of a field of packet.
VARIANT* pFieldData Data of a packet in byte array format.
LSB byte of data puts in first cell of byte array.
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 Byte array format, corresponding to nPacketIndexInLayer
and iLayerID parameters.
See Also