Setautoupdateproperties, Setdatablock – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 471

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
IExerciserEngine 471
SetAutoUpdateProperties
int SetAutoUpdateProperties (
short iLayerID,
int nPacketIndexInLayer,
BOOL bIsDefineAutoUpdate,
BYTE yIncrementType,
VARIANT vtLBAUpperLimit,
VARIANT vtLBALowerLimit);
Inputs
short iLayerID
Layer ID of a packet (see
int nPacketIndexInLayer
Index of a packet corresponding to layer ID.
BOOL bIsDefineAutoUpdate Specifies whether auto update feature is defined for a packet or
not.
BYTE yIncrementType
Type of auto update feature:
Increment, Decrement, or Random LBA
VARIANT vtLBAUpperLimit
Upper limit of LBA in random LBA type.
VARIANT vtLBALowerLimit
Lower limit of LBA in random LBA type.
Return Value
Returns the Error Code if an error occurs.
Remark
Auto-increment feature provides a way to change the LBA address of commands after each
successful execution.
Sets auto update features: feature is defined or not, type of auto update, random LBA type or
not, upper and lower limit LBA values. It returns the Error Code if an error occurs.
NOTE: This function can call Read, Write, or Bi-Directional commands.
See Also