beautypg.com

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

Page 296

background image


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

ISerialSCSICaptureProject 296

RemoveState

int RemoveState (

int nStateId);


Inputs
int nStateId

ID for a state in advanced mode.


Return Value
Saves the Error Code if error occurs.

Remark
Removes an added resource from the project based on StateId and returns the error code if an

error occurs.

NOTE: This method is only for advanced mode.

See Also

AddState

Run

long Run ();


Inputs

Return Value
If method succeeds, return value equals CEI_OK. Otherwise, returns error code (see

API Error)

.


Remark
After defining patterns for capture and triggering, use this method to start the capturing

process.