beautypg.com

Getconditionexprpatterndataoffset, Getconditionexprpatterndirection – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 243

background image


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

ISerialSCSICaptureProject 243

GetConditionExprPatternDataOffset

long GetConditionExprPatternDataOffset (

int nStateId,

int nConditionIndex,

int nExprTokenIndex);


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.


Return Value
Specifies the target Data Pattern trigger pattern offset.

Remark
Determines offset of data parameter of Data Pattern added in trigger items in easy mode or

pattern of a condition in advanced mode.
Data pattern defined a pattern that must be matched in Data Frame. This offset can match this

pattern.

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

See Also

SetConditionExprPatternDataOffset

GetCapturePatternDataOffset