Setfield, Setfieldbyoption – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 479

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
IExerciserEngine 479
SetField
int SetField (
short iLayerID,
int nPacketIndexInLayer,
int nFieldIndex,
BSTR strValue,
RadixEnum eRadix,
DpDirect eDataDirection);
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.
BSTR strValue
Value of a field in packet in string format with a radix.
RadixEnum eRadix
Radix to set for the value of parameter. (see
DpDirect eDataDirection
Direction of bstrFieldStream parameter.
Return Value
Returns result of method, whether called by valid index and layer ID or not.
Remark
Sets value of a field of a packet corresponding to nPacketIndexInLayer and iLayerID parameters
in a Radix, in string format.
See Also