beautypg.com

Getifinstructionconditionproperties, Getifinstructionlableid – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 421

background image


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

IExerciserEngine 421

GetIfInstructionConditionProperties

BOOL GetIfInstructionConditionProperties (

int nInstructionIndex,

int nConditionIndex,

ConditionEnum* peCondition,

BSTR* pbstrConditionDescription);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

int nConditionIndex

Index of a condition.

ConditionEnum* peCondition

Condition type of If instruction (see

ConditionEnum

).

BSTR* pbstrConditionDescription

Condition name of If instruction.


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

Remark
Returns Condition properties (Condition value, Condition Description) of If instruction.
Call this method only for the If instruction.

GetIfInstructionLableId

BOOL GetIfInstructionLableId (

int nInstructionIndex,

short* piLabelId);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

short* piLabelId

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
Returns label ID of If instruction.Call this method only for the If instruction.
See Also

SetIfInstructionLableId