Isasanalyzer:: stopscenario – Teledyne LeCroy SAS_SATA Automation API manual User Manual
Page 40
![background image](/manuals/353598/40/background.png)
Teledyne LeCroy
SASAnalyzer Object
34
Automation API for Teledyne LeCroy SAS/SATA Protocol Suite
ISASAnalyzer:: StopScenario
HRESULT StopScenario (
[in] int nBoardIndex
[in]int nPortIndex);
This function stops the scenario of the specified port.
Parameters
nBoardIndex Zero based index of board. If you have only one board, this parameter
should be set to zero.
nPortIndex
Port index where scenario should start.
Return Values
ANALYZERCOMERROR_UNABLE_TO_STOP_JAMMER
Software is in simulation mode
Failed to stop the Jammer session
Remarks
Stops scenarios. You must call this function for every port of any board on which you
want to stop scenarios.
Example
C++:
HRESULT hr;
IFCAnalyzer* poFCAnalyzer;
// Create FCAnalyzer object.
if ( FAILED( CoCreateInstance(
CLSID_FCAnalyzer,
NULL, CLSCTX_SERVER,
IID_IFCAnalyzer,
(LPVOID *)&poFCAnalyzer ) )
return;