Getloopinstructioncounter, Getloopinstructiontype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 431

Advertising
background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

IExerciserEngine 431

GetLoopInstructionCounter

BOOL GetLoopInstructionCounter (

int nInstructionIndex,

__int64* pnCounter);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

__int64* pnCounter

Counter value of start loop instruction


Return Value
Returns result of method, whether called by valid index and instruction type or not.

Remark
Returns counter value of Start Loop instruction. Call this method only for the Start Loop

instruction.

See Also

SetLoopInstructionCounter

GetLoopInstructionType

BOOL GetLoopInstructionType (

int nInstructionIndex,

LoopTypeEnum* peLoopType);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

LoopTypeEnum* peLoopType

Type of start loop instruction (see

LoopTypeEnum

).


Return Value
Returns result of method, whether called by valid index and instruction type or not.

Remark
Returns type of Start Loop instruction. Call this method only for the Start Loop instruction.
See Also

SetLoopInstructionType

Advertising