beautypg.com

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

Page 322

background image


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

ISerialSCSICaptureProject 322

SetConditionExprTimerId

int SetConditionExprTimerId (

int nStateId,

int nConditionIndex,

int nExprTokenIndex,

BYTE yTimerId);


Inputs
int nStateId

ID for a state in advanced mode.


int nConditionIndex

Index for a condition in advanced mode.


int nExprTokenIndex

Trigger pattern index in easy mode or index for a token added for this

condition in advanced mode.


BYTE yTimerId

Shows timer ID of the timer expression for a condition.


Return Value
Saves the Error Code if an error occurs.

Remark
Sets the timer ID of an expression that was added as a Timer expression token and returns the

error code if error occurs.
Each advanced project can define three timers in each state and set expiration time of each

timer.

NOTE: This method is only for advanced mode.

See Also

GetConditionExprTimerId