Ivscriptengine::stop – Teledyne LeCroy SAS_SATA Automation API manual User Manual
Page 127
Advertising
Automation API for Teledyne LeCroy SAS/SATA Protocol Suite
121
SASVScriptEngine Object
Teledyne LeCroy
IVScriptEngine::Stop
HRESULT Stop ( )
Stops the verification script previously launched by
.
Parameters
Return Value
Remarks
Example
C++:
// This example uses wrapper functions provided by the
#import directive.
ISASTrace* sas_trace;
. . .
ISASVerificationScript* sas_vscript = NULL;
sas_trace->QueryInterface( IID_ISASVerificationScript,
(void**)&sas_vscript ) )
assert( sas_vscript != NULL );
IVScriptEngine* sas_vsengine = NULL;
sas_vsengine = sas_vscript ->
GetVScriptEngine("Test_1");
assert( sas_vsengine != NULL );
VS_RESULT result = sas_vsengine ->LaunchVScript();
. . .
if( NotEnoughResourcesToProcessVS )
sas_vsengine ->Stop();
. . .
Advertising