beautypg.com

Getconditionexprpatternid, Getconditionexprpatternindex – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 246

background image


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

ISerialSCSICaptureProject 246

GetConditionExprPatternId

long GetConditionExprPatternId (

int nStateId,

int nConditionIndex,

int nExprTokenIndex);


Inputs

int nStateId

ID for a state in advanced mode (it is "don’t care" in easy mode).


int nConditionIndex

Index for a condition in advanced mode

(it is "don’t care" in easy mode).


int nExprTokenIndex Trigger pattern index in easy mode or index for a token

added for this condition in advanced mode.


Return Value
Identifier of target trigger pattern.

Remark
Returns ID of the Trigger pattern corresponding to the lPatternIndex value. This ID is unique in

all trigger patterns in easy mode or patterns of a condition in advanced mode.
If you have the index of the trigger patterns, you can get ID of that pattern and vice versa.

See Also

GetConditionExprPatternIndex