beautypg.com

Getconditionexprpatternprimitivetype, Getconditionexprpatternprotocoltypeprotocoltype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 252

background image


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

ISerialSCSICaptureProject 252

GetConditionExprPatternPrimitiveType

PrimitiveTypeEnum GetConditionExprPatternPrimitiveType (

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
Type of primitive (see

PrimitiveTypeEnum

).


Remark
Returns the primitive type of the Primitive pattern added in trigger items in easy mode or

pattern of a condition in advanced mode.

NOTE
: Call this method only for a Primitive trigger pattern.

See Also

GetCapturePatternPrimitiveType