beautypg.com

Getcapturepatternindex, Getcapturepatternname – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 224

background image


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

ISerialSCSICaptureProject 224

GetCapturePatternIndex

Long GetCapturePatternIndex (

int nStateId,

long lPatternId);

Inputs
int nStateId

ID for a state in advanced mode and

Capture ID (see

Capture ID definition

) in easy mode.


long lPatternIndex

Target capture pattern index.


Return Value
Specifies the target capture pattern index.

Remark
Returns the index of a capture pattern corresponding to lPatternId value. This ID is unique in all

capture patterns.
If you have ID of capture patterns, this method can get index of that pattern, and vice versa.

See Also

GetConditionExprPatternIndex

GetCapturePatternId