beautypg.com

Setscsicommandcapturepattern, Setscsicommandconditionexprpattern – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 344

background image


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

ISerialSCSICaptureProject 344

SetSCSICommandCapturePattern

SetSCSICommandCapturePattern (

int nStateId,

long lPatternIndex,

SCSISpecEnum eSCSISpec,

SCSICommandsEnum eCommandType);


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.


SCSISpecEnum eSCSISpec

Type of SCSI spec (see

SCSISpecEnum

)


SCSICommandsEnum eCommandType Type of SCSI command (see

SCSICommandsEnum

)


Return Value
None.

Remark
Sets the spec type and command type for an added SCSI command capture pattern.

NOTE
: When the added SCSI command pattern default Type is MMC and Blank command, this

method can change the type of SCSI Command and parameters for the SCSI command.

See Also

SetSCSICommandConditionExprPattern