Ivscriptengine::runvscriptex – Teledyne LeCroy SAS_SATA Automation API manual User Manual
Page 124

Teledyne LeCroy
SASVScriptEngine Object
118
Automation API for Teledyne LeCroy SAS/SATA Protocol Suite
IVScriptEngine::RunVScriptEx
HRESULT RunVScriptEx (
[in] BSTR script_name,
[out, retval] int* pResult )
Changes the current verification script name and runs the verification script.
Parameters
script_name
Name of the verification script to initialize the script verification engine
pResult
Address of the variable where the results of the verification are kept
Return Value
Remarks
This method makes a “synchronous” call, which means that this method does not return
until the script stops running.
The name of the verification script is the name of the verification script file (*.pevs). If
only the script name, without a file extension, is specified, the Sierra/STX server searches
for the named script among the scripts loaded from the \Scripts\VFScripts folder under
the SAS/SATA Protocol Suite installation folder. If the full path to the script is specified,
then the server attempts to load the script from the specified path prior to running it.