beautypg.com

Remove a trigger pattern, Add trigger pattern, Remove trigger pattern – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 61

background image


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

Using Analyzer API 61

Type ()
SetConditionExprPatternSCSIUse

Hash

Address ()

ID_PATTERN_TYPE_DATA_PATTER

N
(Data Pattern)

SetDataConditionExprPattern ()
SetConditionExprPatternDataOffs

et ()
SetConditionExprPatternDirection

()
SetConditionExprPatternIsNot ()
SetConditionExprPatternParamet

erValue ()

ID_PATTERN_TYPE_PROTOCOL_ER

RORS
(Protocol Errors)

SetProtocolErrorConditionExprPat

tern ()
SetConditionExprPatternDirection

()

SetConditionExprPatternParamet

erValue ()

ID_PATTERN_TYPE_USER_DEFINE
(User Defined)

SetConditionExprPatternDirection

()
SetConditionExprPatternParamet

erValue ()

ID_PATTERN_TYPE_SOFT_RESET
(Soft Reset)

SetConditionExprPatternDirection

()
SetConditionExprPatternParamet

erValue ()

Remove a Trigger Pattern

To remove a trigger pattern/state condition, call the RemoveConditionExprPattern () function

of the Capture Project object with State Index, Condition Index, Expression Token Index, and

Update Resource status-check as its set of parameters, in the same order.

m_pICaptureProject->RemoveConditionExprPattern (nStateIndex,

nConditionIndex, nExprTokenIndex, FALSE);