Getconditionexprpatternindex, Getconditionexprpatternname – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 247

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ISerialSCSICaptureProject 247
GetConditionExprPatternIndex
long GetConditionExprPatternIndex (
int nStateId,
int nConditionIndex,
long lPatternId);
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
Target trigger pattern index.
Remark
Returns the index of a Trigger pattern corresponding to the lPatternId value. This ID is unique in
all trigger patterns in easy mode or patterns of a condition in advanced mode.
If you have the ID of trigger patterns, you can get index of that pattern and vice versa.
See Also