
TeledyneLeCroy SASVScriptEngineObject
118 AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite
IVScriptEngine::RunVScriptEx
HRESULT RunVScriptEx (
[in] BSTR script_name,
[out, retval] int* pResult )
Changesthecurrentverificationscriptnameandrunstheverificationscript.
Parameters
script_name Nameoftheverificationscripttoinitializethescriptverificationengine
pResult Addressofthevariablewheretheresultsoftheverificationarekept
ReturnValue
Remarks
Thismethodmakesa“synchronous”call,whichmeansthatthismethoddoesnotreturn
untilthescriptstopsrunning.
Thenameoftheverificationscriptisthenameoftheverificationscriptfile(*.pevs).If
onlythescriptname,withoutafileextension,isspecified,theSierra/STXserversearches
forthenamedscriptamongthescriptsloadedfromthe\Scripts\VFScriptsfolderunder
theSAS/SATAProtocolSuiteinstallationfolder.Ifthefullpathtothescriptisspecified,
thentheserverattemptstoloadthescriptfromthespecifiedpathpriortorunningit.
SeetheISASVerificationScript::RunVerificationScriptmethodfordetails.
Comentários a estes Manuais