7 ivscriptengine::getscriptvar, Ivscriptengine::getscriptvar – Teledyne LeCroy UWBTracer Automation Manual User Manual
Page 65

LeCroy
UWBTracer Automation API Reference Manual
Manual Version 3.02
61
5.1.7 IVScriptEngine::GetScriptVar
HRESULT GetScriptVar ( [in] BSTR var_name,
[out, retval] VARIANT* var_value )
Returns the value of some verification script variable before/after executing the script. The resulting value
may contain an integer, a string, or an array of VARIANTs (if the requested script variable is a list object –
see the CSL Manual for more details about list objects).
Parameters
var_name
String providing the name of the global variable or constant used in the
verification script being run.
var_value
Address of a VARIANT variable where result will be kept.
Return values
E_PENDING
If this method is called when script running is in progress
Remarks
If there is no such global variable or constant with the name 'var_name', the resulting value contains an
empty VARIANT.