Setprotocolerrorconditionexprpattern, Setsamecaptureingasstate0 – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 342

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ISerialSCSICaptureProject 342
SetProtocolErrorConditionExprPattern
SetProtocolErrorConditionExprPattern (
int nStateId,
int nConditionIndex,
int nExprTokenIndex,
ProtocolTypeEnum eProtocolType);
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.
ProtocolTypeEnum eProtocolType
Protocol type of Protocol Error (see
Return Value
None.
Remark
Sets the protocol type for the added Protocol Error trigger pattern or expression pattern of a
condition.
NOTE: When the added Protocol Error pattern default Protocol Type is All, this method can
change the protocol type and parameters for the Protocol Error.