Erinjsetcodeviolationanddisparityerrorattribute, Erinjsetcodeviolationerror – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 555

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
IExerciserEngine 555
ErInjSetCodeViolationAndDisparityErrorAttribute
ErInjSetCodeViolationAndDisparityErrorAttribute (
short iLayerId,
int nCommand,
short iOffsetFromStartFrame,
short iCountOfError,
int* pnRetVal);
Inputs
short iLayerId
Layer ID of a packet (see
int nCommand
Index of a packet corresponding to layer ID.
short iOffsetFromStartFrame Offset of frame for generating code violation or disparity error.
short iCountOfError
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
Sets 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
ErInjGetCodeViolationAndDisparityErrorAttribute