beautypg.com

Getconditionexprpatternparameteroptionid, Getconditionexprpatternparameteroptionname – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 249

background image


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

ISerialSCSICaptureProject 249

GetConditionExprPatternParameterOptionId

long GetConditionExprPatternParameterOptionId (

int nStateId,

int nConditionIndex,

int nExprTokenIndex,

WORD wParameterId);


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.


WORD wParameterId

Target parameter of the pattern (with index).

(see

Pattern Parameters

)


Return Value
Option ID of a parameter of a pattern in a condition.

Remark
Specifies the target parameter option ID of the Trigger pattern in easy mode or pattern of a

condition in advanced mode corresponding to value of parameter and options.
If a parameter was an optional parameter this function can get option ID of that parameter that

is equal to the value of that parameter.

See Also

GetCapturePatternParameterOptionId