beautypg.com

Setconditionexprpatternparameterlength, Setconditionexprpatternparametervalue – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 318

background image


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

ISerialSCSICaptureProject 318

SetConditionExprPatternParameterLength

SetConditionExprPatternParameterLength (

int nStateId,

int nConditionIndex,

int nExprTokenIndex,

WORD wParametersId,

long lMinLength,

long lMaxLength);


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

)


long MinLength

Minimum length of the parameter.


long MaxLength

Maximum length of the parameter.


Return Value
None.

Remark
Sets the minimum length and maximum length of the parameter in Trigger pattern in easy

mode or pattern of a condition in advanced mode.