Erinjgetnumberoffieldsofframe – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 550

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
IExerciserEngine 550
ErInjGetNumberOfFieldsOfFrame
ErInjGetNumberOfFieldsOfFrame (
short iLayerId,
int nCommand,
int* pnNumberOfFields ,
int* pnRetVal);
Inputs
short iLayerId
Layer ID of a packet (see
int nCommand
Index of a packet corresponding to layer ID.
int* pnNumberOfFields
Number of available fields, to destroy it.
int* pnRetVal
Result of method, whether called by valid index and layer ID or not
or other errors.
Return Value
Returns number of all available field IDs, for destroying them, for an outgoing frame of a
command with ErInjSetFrameInvalidField method.
You can retrieve this list with the ErInjGetInvalidFieldOfFrameAttribute method.
See Also
ErInjGetInvalidFieldOfFrameAttribute