beautypg.com

Getconditionexpressiontokentype, Getconditionexpressiontype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 237

background image


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

ISerialSCSICaptureProject 237

GetConditionExpressionTokenType

ExpressionTokenTypeEnum GetConditionExpressionTokenType (

int nStateId,

int nConditionIndex,

int nExprTokenIndex);


Inputs
int nStateId

ID for a state in advanced mode.


int nConditionIndex Index for a condition.

int nExprTokenIndex Index for a token added for this condition in advanced mode.

Return Value
Shows type of the token that is Timer or Pattern token (see

ExpressionTokenTypeEnum

).


Remark
Returns the Token type (Pattern, Timer) in the state and condition.
In each condition, you can add a PatternToken or a TimerToken (to check that defined timer has

expired or not).

NOTE: This method is only for advanced mode.