beautypg.com

Setconditionexprpatternscsicommandtype, Setconditionexprtimerid – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 321

background image


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

ISerialSCSICaptureProject 321

SetConditionExprPatternSCSICommandType

SetConditionExprPatternSCSICommandType (

int nStateId,

int nConditionIndex,

int nExprTokenIndex,

SCSICommandsEnum eSCSICommands);


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.


SCSICommandsEnum eSCSICommands

Type of SCSI Command (see

SCSICommandsEnum

)


Return Value
None.

Remark
Sets the type of SCSI Command pattern that was added in trigger patterns in easy mode or a

pattern of a condition in advanced mode.
Each SCSI command has a unique ID that is defined in SCSICommandsEnum. You must call all

related functions using it.

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

See Also

GetConditionExprPatternSCSICommandType

SetCapturePatternSCSICommandType