beautypg.com

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

Page 308

background image


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

ISerialSCSICaptureProject 308

SetCapturePatternParameterValue

long SetCapturePatternParameterValue (

int nStateId,

long lPatternIndex,

WORD wParameterId,

BSTR bstrValue,

RadixEnum eRadix);


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

)


RadixEnum eRadix

Radix for the value of the parameter.


BSTR bstrParamValue

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


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

(see

API Error

).


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

items as a string in eRadix format.

See Also

SetConditionExprPatternParameterValue

GetCapturePatternParameterValue