Teledyne-lecroy SATracer 3G Verification Script Engine manual Uživatelský manuál Strana 61

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 68
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 60
LeCroy Corporation Verification Script Engine Reference Manual Version 1.01
Remark:
This function works only for VS Engines controlled via the GUI. For VSEs controlled by
COM/Automation clients, it does nothing.
This function "locks" the SASTracer/SATracer application, which means that there is no access to
other application features until the dialog box is closed. In order to prevent too many InputBox calls—
in the case of a script not written correctly—VSE keeps track of all function calls demanding user
interaction and doesn't show dialog boxes if a customizable limit was exceeded (returns null object in
that case).
Example:
if( Something )
{
v = InputBox( "Enter the list", "Some stuff", "Hello world !!!, 0x12AAA,
Some, 34" );
ReportText ( FormatEx( "input = %s, 0x%X, %s, %d", v[0],v[1],v[2],v[3]
) );
… # Go on…
str = InputBox( "Enter the string", "Some stuff", "<your string>",
_IB_STRING );
ReportText( str );
}
56
Zobrazit stránku 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 67 68

Komentáře k této Příručce

Žádné komentáře