beautypg.com

Setcapturepatternparametervaluebyoptionid, Setcapturepatternscsicommandtype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 309

background image


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

ISerialSCSICaptureProject 309

SetCapturePatternParameterValueByOptionId

long SetCapturePatternParameterValueByOptionId (

int nStateId,

long lPatternIndex,

WORD wParameterId,

OptionIdEnum eOptionId);


Inputs
int nStateId

ID for a state in advanced mode and Capture ID

(see

Capture ID definition

) in easy mode.


long lPatternIndex

Target capture pattern index.


WORD wParameterId

Target parameter of the pattern (with index).

(see

Pattern Parameters

)


OptionIdEnum eOptionId

Option ID of a parameter to set value of a parameter

(see

OptionIdEnum

).


Return Value
If method succeeds, return value equals CEI_OK. Otherwise, returns error code (see

API Error

).


Remark
Sets the target parameter option ID of the capture pattern corresponding to value of parameter

and options.
If a parameter was an optional parameter, this function can set the option ID of that parameter

equal to the value of that parameter.

See Also

SetConditionExprPatternParameterOptionId