Setconditionexprpatternparametervaluebyoptionid, Setconditionexprpatternscsicommandtype, Setconditionexprpatternparameteroptionid – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 320
Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ISerialSCSICaptureProject 320
SetConditionExprPatternParameterValueByOptionId
long SetConditionExprPatternParameterValueByOptionId (
int nStateId,
int nConditionIndex,
int nExprTokenIndex,
WORD wParameterId,
OptionIdEnum eOptionId);
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 that was
added for this condition in advanced mode.
WORD wParameterId
Target parameter of the pattern (with index).
(see
OptionIdEnum eOptionId
Option ID of a parameter to set value of a parameter.
Return Value
If method succeeded, return value is equal to CEI_OK. Otherwise, returns error code (see
API
Error
).
Remark
Sets the target parameter option ID of Trigger items in easy mode or pattern of a condition in
advanced mode corresponding to the values of parameter and options.
If a parameter is an optional parameter, this function can set option ID for that parameter equal
to the value of that parameter.
See Also
GetConditionExprPatternParameterOptionId