Getnumberofconditionexprtoken, Getnumberofstate – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 271
Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ISerialSCSICaptureProject 271
GetNumberOfConditionExprToken
long GetNumberOfConditionExprToken (
int nStateId,
int nConditionIndex);
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).
Return Value
Saves the number of trigger patterns in easy mode or number of tokens in expression of a
condition.
Remark
Returns the number of trigger patterns in easy mode or number of tokens (pattern or timer
token) in expression of a condition.
See Also
GetNumberOfState
int GetNumberOfState ();
Inputs
Return Value
Specifies number of states.
Remark
Returns the number of the state that is defined in the project.
NOTE: This method is only for advanced mode.