beautypg.com

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

Page 210

background image


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

ISerialSCSICaptureProject 210

long* plErrorCode

Saves the Error Code if error occurs.


Return Value
None.

Remark
Adds a pattern to trigger items in easy mode, or a state condition in advanced mode, specified

by its ID, and returns the new added pattern index and error code if error occurs.
To change the default strategy of triggering on (Snapshot), use this function to add a pattern to

the trigger item. You can change the parameter value after adding a pattern by other functions,

and then call UpdateHardwareResource to assign the related resources to the added pattern.

NOTE: After using the AddConditionExprPattern method and changing all parameter values AND

direction of pattern to a value, call the UpdateResouce method.

See Also

AddCapturePattern