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

Page 319

Advertising
background image


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

ISerialSCSICaptureProject 319

SetConditionExprPatternParameterValue

long SetConditionExprPatternParameterValue (

int nStateId,

int nConditionIndex,

int nExprTokenIndex,

WORD wParameterId,

BSTR bstrValue,

RadixEnum eRadix);


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

)


BSTR bstrParamValue

Value of a target parameter for Trigger pattern in eRadix format.


RadixEnum eRadix

Radix to get value of parameter.


Return Value
If method succeeded, the return value is equal to CEI_OK. Otherwise, returns the error.

Remark
Sets the value of the parameter (with eParameterId) in pattern that was added in trigger items

in easy mode or pattern of a condition in advanced mode.

See Also

SetCapturePatternParameterValue

GetConditionExprPatternParameterValue

Advertising