Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Instrukcja Użytkownika Strona 61

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 64
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 60
Verification Script Engine Reference Manual
56
26 Miscellaneous functions
26.1 ScriptForDisplayOnly()
Specifies that the script is designed for displaying information only and that its author doesn’t
care about verification script result. Such a script will have a result <DONE> after execution.
Format : ScriptForDisplayOnly ()
Example:
ScriptForDisplayOnly();
26.2 Sleep()
Asks VSE not to send any events to a script until the timestamp of the next event is greater
than
timestamp of current event plus sleeping time.
Format : Sleep( time )
Parameters:
time - VSE time object specifying sleep time
Example:
Sleep ( Time(1000) ); # Don’t send any event occurred during 1 ms from the current event
26.3 ConvertToHTML()
This function replaces spaces with “&nbsp” and carriage return symbols with “<br>” in a text
string.
Format : ConvertToHTML( text_string )
Parameters:
text_string - text string
Example:
str = “Hello world !!!\n”;
str += “How are you today?”;
html_str = ConvertToHTML ( str );
# html_string = “Hello&nbspworld&nbsp!!!<br>How&nbspare&nbspyou&nbsptoday?”
NOTE : Some other useful miscellaneous functions can be found in the file : VSTools.inc
Przeglądanie stron 60
1 2 ... 56 57 58 59 60 61 62 63 64

Komentarze do niniejszej Instrukcji

Brak uwag