beautypg.com

Getconditionexprpatternfisdataoffset, Getconditionexprpatternid – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 245

background image


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

ISerialSCSICaptureProject 245

GetConditionExprPatternFISDataOffset

long GetConditionExprPatternFISDataOffset (
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
Target Data FIS trigger pattern offset.

Remark
Determines the offset of the data parameter of the Data FIS pattern added in trigger items in

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

define an offset to match this pattern.

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

See Also

SetConditionExprPatternFISDataOffset

GetCapturePatternFISDataOffset