beautypg.com

Getconditionexprpatternscsicommandtype, Getconditionexprpatternsmpfunctiontype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 254

background image


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

ISerialSCSICaptureProject 254

GetConditionExprPatternSCSICommandType

SCSICommandsEnum GetConditionExprPatternSCSICommandType (

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 SCSI Command (see

SCSICommandsEnum

)


Remark
Returns the type of SCSI Command pattern added in trigger patterns in easy mode or pattern of

a condition in advanced mode.
Each SCSI command has a unique ID that is defined in SCSICommandsEnum, and you must call

all related functions using it.

NOTE: Call this method only for a SCSI Command trigger pattern.

See Also

SetConditionExprPatternSCSICommandType

GetCapturePatternSCSICommandType