
TeledyneLeCroy SASAnalyzerObject
34 AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite
ISASAnalyzer:: StopScenario
HRESULT StopScenario (
[in] int nBoardIndex
[in]int nPortIndex);
Thisfunctionstopsthescenarioofthespecifiedport.
Parameters
nBoardIndex Zerobasedindexofboard.Ifyouhaveonlyoneboard,thisparameter
shouldbesettozero.
nPortIndex Portindexwherescenarioshouldstart.
ReturnValues
ANALYZERCOMERROR_UNABLE_TO_STOP_JAMMER
Softwareisinsimulationmode
FailedtostoptheJammersession
Remarks
Stopsscenarios.Youmustcallthisfunctionforeveryportofanyboardonwhichyou
wanttostopscenarios.
Example
C++:
HRESULT hr;
IFCAnalyzer* poFCAnalyzer;
// Create FCAnalyzer object.
if ( FAILED( CoCreateInstance(
CLSID_FCAnalyzer,
NULL, CLSCTX_SERVER,
IID_IFCAnalyzer,
(LPVOID *)&poFCAnalyzer ) )
return;
Comentarios a estos manuales