beautypg.com

6 ivscriptengine::stop, Ivscriptengine::stop – Teledyne LeCroy UWBTracer Automation Manual User Manual

Page 64

background image

LeCroy

UWBTracer Automation API Reference Manual

Manual Version 3.02

60

5.1.6 IVScriptEngine::Stop

HRESULT Stop();

Stops verification script previously launched by

IVScriptEngine::LaunchVScript

method.

Parameters


Return values


Remarks


Example


C++: // In this example we use wrapper functions provided by #import directive
//
IUwbTrace*

uwb_trace;


. . .

IUwbVerificationScript* uwb_vscript = NULL;

uwb_trace->QueryInterface( IID_ IUwbVerificationScript, (void**)&uwb_vscript ) )

assert( uwb_vscript != NULL );

IVScriptEngine* uwb_vsengine = NULL;
uwb_vsengine = uwb_vscript -> GetVScriptEngine("Test_1");
assert( uwb_vsengine != NULL );

VS_RESULT result = uwb_vsengine ->

LaunchVScript

();

. . .


if( NotEnoughResourcesToProcessVS )

uwb_vsengine

->Stop();

. . .