1 ipeverificationscript::runverificationscript, Runs a verification script over the recorded trace, Parameters – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual
Page 54: Return values, Remarks, Example, Ipeverificationscript::runverificationscript

Teledyne LeCroy
Automation API for PETracer/PETrainer
49
4.3.1 IPEVerificationScript::RunVerificationScript
HRESULT RunVerificationScript (
[in] BSTR verification_script, 
[out, retval] VS_RESULT *result ) 
 
Runs a verification script over the recorded trace
Parameters 
 
verification_script
Name of the verification script to run
result
Address of a variable where to keep the result of verification;
VS_RESULT is an enumeration type that can have 5 possible 
meanings: 
SCRIPT_RUNNING (-2) -
verification script is running
SCRIPT_NOT_FOUND (-1) -
verification script with the specified
name was not found
FAILED
( 0) -
verification failed
PASSED
( 1) -
verification passed
DONE ( 2) -
verification is done, don’t care about
result
 
Return values 
 
S_OK
If the verification script executed successfully.
Remarks 
 
The name of the verification script is the name of the verification script file (*.pevs). If only the name of
the script, without file extension, is specified, PETracer’s 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. 
Example 
 
For a verification script file named “test.pevs”, the test name would be “test”. Please refer to the PETracer 
Verification Script Engine Manual for more details.
