beautypg.com

Getconditionexprpatterncommandspectype, Getconditionexprpatterndataoffset – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 242

background image


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

ISerialSCSICaptureProject 242

GetConditionExprPatternCommandSpecType

SCSISpecEnum GetConditionExprPatternCommandSpecType (

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
Specifies spec type of SCSI Command (see

SCSISpecEnum

)


Remark
Returns spec type of a SCSI Command pattern added in trigger items in easy mode or pattern of

a condition in advanced mode, for example, MMC, SSC, and SPC.

NOTE: Call this method only for SCSI Command capture patterns.

See Also

GetCapturePatternCommandSpecType