
TeledyneLeCroy SASAnalyzerObject
30 AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite
ISASAnalyzer::SetScenarioToPort
HRESULT SetScenarioToPort (
[in] int nBoardIndex
[in]int nPortIndex,
[in] BSTR bstrLibraryName,
[in] BSTR bstrScenarioName,
[out, retval] int* pnErrorCode);
Thisfunctionassignsascenariofrommentionedlibrarytoaspecificportoftheboard.
Parameters
nBoardIndex Zerobasedindexofboard.Ifyouhaveonlyoneboard,this
parametershouldbesettozero.
nPortIndex Portindexthatthescenarioshouldassign
bstrLibraryName Specifiesthenameofthelibrary
bstrScenarioName Nameofthescenario thatwill assignedtothespecifiedport.
pnErrorCode Pointertoanintegerwhichcontainsanerrorcodeifoneor
moreerror(s)hasoccurred.
ReturnValues
ANALYZERCOMERROR_UNABLE_TO_START_JAMMERSoftwareisinsimulation
mode
ANALYZERCOMERROR_UNABLESTARTRECORDING
FailedtogetLeCroyScenarioManager
FailedtoopenLeCroyscriptlocalfiledatabase
FailedtogetLeCroyConfigureManager
FailedtocreateLeCroyscriptlocalfiledatabase
Failedtoloadlocalfilescenario
Failedtoloadlocalfilescenariobecauseinvalidscenario
Thereisnoscenarioinlocalfile.
FailedtouploadthescenariotoInFusiondevice
FailedtouploadthescenariotoInFusiondevice
FailedtouploadthescenariotoInFusion
device
FailedtosetselectedthescenariofromInFusiondevice
Cannotfindscenarioinlocalfiledatabase
Remarks
Beforeascenarioisstarted,youmustassignittotheavailableportsusingthisfunction.
Comentarios a estos manuales