beautypg.com

4 ivscriptengine::runvscriptex, Parameters, Return values – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual

Page 125: Remarks, Ivscriptengine::runvscriptex

background image

Teledyne LeCroy

Automation API for PETracer/PETrainer

120

9.1.4 IVScriptEngine::RunVScriptEx

HRESULT RunVScriptEx(

[in] BSTR script_name,
[out, retval] int* pResult )


Changes the current verification script name and runs verification script .

Parameters

script_name

Name of the verification script to initialize the script verification engine

pResult

Address of a variable where the results of a verification is kept

Return values


Remarks

This method makes a “synchronous” call – which means that this method doesn’t return until the script

stops running.

The name of verification script is the name of verification script file (*.pevs). If only the name of the script

without file extension is specified, the PETracer server is going to search for the named script among the scripts
loaded from the \Scripts\VFScripts folder under PETracer installation folder. If the full path to the script is
specified, then the server is going to attempt loading the script from the specified path prior to running it. See
IPEVerificationScript::RunVerificationScript method, Page 43, for details.