beautypg.com

Addconditionexprtimertoken, Addstate – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 211

background image


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

ISerialSCSICaptureProject 211

AddConditionExprtimerToken

int AddConditionExprTimerToken (

int nStateId,

int nConditionIndex);

Inputs
int nStateId

ID for a state in advanced mode.


int nConditionIndex Index for a condition in advanced mode.

Return Value
Index of added token for next use.

Remark
Adds a timer token to trigger items in a state condition in advanced mode and returns the new

added token index for next use.
If you set the timer in the previous state and want to check if that timer has expired or not, use

this function to add a timer token. You can change the timer ID after adding a Timer Token

using the SetConditionExprTimerId function.

NOTE: This method is only for advanced mode.

See Also

AddCapturePattern

AddConditionExprPattern

SetConditionExprTimerId

GetConditionExprTimerId