beautypg.com

Removeconditionexprpattern, Removestate – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 295

background image


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

ISerialSCSICaptureProject 295

RemoveConditionExprPattern

BOOL RemoveConditionExprPattern (

int nStateId,

int nConditionIndex,

int nExprTokenIndex,

BOOl bUpdateResource);


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.


BOOL bUpdateResource

TRUE if you want to update Resource. Otherwise, FALSE.


Return Value
Saves TRUE if remove was successful. Otherwise, FALSE.

Remark
Removes a Pattern from trigger items (or expression pattern of a condition), specified by its

index, and returns the result.
If you add a pattern to trigger items and do not call UpdateHardwareResource to assign

resource, to remove the added pattern, bUpdateResource must be FALSE. Otherwise, FALSE.

See Also

RemoveCapturePattern