Teledyne-lecroy SAS_SATA Automation API manual Manual de usuario Pagina 129

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 150
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 128
AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite 123
SASVScriptEngineObject
TeledyneLeCroy
sas_vsengine->GetScriptVar( _bstr_t("MyVar"), &my_var
);
if( my_var.vt == VT_BSTR ) ProcessString(
my_var.bstrVal );
. . .
WSH:
. . .
Set Trace = Analyzer.OpenFile( TraceName ) ' Open the
trace.
Set VSEngine = Trace.GetVScriptEngine( VScript ) ' Get
VS Engine object.
Result = VSEngine.RunVScript
MyIntVar = VSEngine.GetScriptVar( "MyIntVar" )
' Suppose that MyIntVar contains an integer.
MyStrVar = VSEngine.GetScriptVar( "MyStrVar" )
' Suppose that MyStrVar contains a string.
MsgBox " MyIntVar = " & CStr(MyIntVar) & ", MyStrVar = "
& MyStrVar
Vista de pagina 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 149 150

Comentarios a estos manuales

Sin comentarios