beautypg.com

Setconditionexprpatterndataoffset, Setconditionexprpatterndirection – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 315

background image


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

ISerialSCSICaptureProject 315

SetConditionExprPatternDataOffset

SetConditionExprPatternDataOffset (

int nStateId,

int nConditionIndex,

int nExprTokenIndex,

long lOffset);


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.


long lOffset

Target Data Pattern trigger pattern offset.


Return Value
None.

Remark
Sets the offset of data parameter of Data Pattern added in trigger items in easy mode or pattern

of a condition in advanced mode.
A Data pattern is defined as a pattern that must be matched in the Data Frame. You can define

an offset to match this pattern.

NOTE
: Call this method only for Data Pattern trigger pattern.

See Also

GetConditionExprPatternDataOffset

SetCapturePatternDataOffset