Erinjgetcodeviolationanddisparityerrorattribute, Erinjgetcodeviolationerror – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 531
Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
IExerciserEngine 531
ErInjGetCodeViolationAndDisparityErrorAttribute
ErInjGetCodeViolationAndDisparityErrorAttribute (
short iLayerId,
int nCommand,
short* piOffsetFromFrameStart,
short* piCountOfError,
int* pnRetVal);
Inputs
short iLayerId
Layer ID of a packet (see
int nCommand
Index of a packet corresponding to layer ID.
short* piOffsetFromFrameStart
Offset of frame for generating code violation or disparity
error.
short* piCountOfError
Count value for generating code violation or disparity
error.
int* pnRetVal
Result of method, whether called by valid index and layer
ID or not or other errors.
Return Value
None.
Remark
Returns offset from start of frame and count value for generating code violation or disparity
error for an outgoing frame of a command.
NOTE: Call this method only for the SCSI, SMP, Task, or ATA command packet and transport
packet.
See Also
ErInjSetCodeViolationAndDisparityErrorAttribute