Teledyne-lecroy Verification Script Engine (VSE) Manual Manuel d'utilisateur Page 105

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 115
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 104
Teledyne LeCroy Verification Script Engine Reference Manual
Page 105 of 115
Note: Although the dialog box input text parser tries to determine a type of list item automatically, text enclosed
in quote signs " " is always considered to be a string.
Remark:
This function works only for VS Engines controlled via a GUI. For VSEs controlled by COM/Automation™ clients,
it does nothing.
This function "locks" the application, which means that there is no access to other application features until the
dialog box is closed. To prevent too many InputBox calls (in case a script is not written correctly), VSE keeps
track of all function calls demanding user interaction and does not show dialog boxes if some customizable limit
is exceeded. (In that case, it returns a null object.)
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);
}
Vue de la page 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 114 115

Commentaires sur ces manuels

Pas de commentaire