Teledyne-lecroy SAS_SATA Automation API manual Instrukcja Użytkownika Strona 129

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 150
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 149 150

Komentarze do niniejszej Instrukcji

Brak uwag