beautypg.com

Setatacommandconditionexprpattern – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 302

background image


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

ISerialSCSICaptureProject 302

SetATACommandConditionExprPattern

SetATACommandConditionExprPattern (

int nStateId,

int nConditionIndex,

int nExprTokenIndex,

CommandTypeEnum eCommandType);


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.


CommandTypeEnum eCommandType

Type of command for target trigger pattern.

(see

CommandTypeEnum

)


Return Value
None.

Remark
Sets the ATA Command type for an added ATACommand trigger pattern (or expression pattern

of a condition).

NOTE
: When added ATACommand pattern default CommandType is any command, this method

can change the type of command and parameters for the command (corresponding to

the

command-related field defined as a parameter).


NOTE: Call this method only for an ATACommand capture pattern.

See Also

SetATACommandCapturePattern