Setifinstructioncondition, Setifinstructionlableid – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 486

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
IExerciserEngine 486
SetIfInstructionCondition
BOOL SetIfInstructionCondition (
int nInstructionIndex,
ConditionEnum eCondition);
Inputs
int nInstructionIndex
Index of an object (all instructions, including Send)
ConditionEnum eCondition
Condition value of If instruction (see
Return Value
Returns result of method, whether called by valid index and instruction type or not.
Remark
Returns condition value of If instruction. Call this method only for the If instruction.
Condition value can be changed based on previous command.
See Also
SetIfInstructionLableId
BOOL SetIfInstructionLableId (
int nInstructionIndex,
short iLabelId);
Inputs
int nInstructionIndex
Index of an object (all instructions, including Send)
short iLabelId
Unique ID of a label assigned to a packet.
Return Value
Returns result of method, whether called by valid index and instruction type or not.
Remark
Sets label ID of If instruction. Call this method only for the If instruction.
See Also