beautypg.com

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

Page 223

background image


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

ISerialSCSICaptureProject 223

GetCapturePatternId

long GetCapturePatternId (

int nStateId,

long lPatternIndex);

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
Identifier of target capture pattern.

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

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

versa.

See Also

GetConditionExprPatternId

GetCapturePatternIndex