Teledyne-lecroy Verification Script Engine (VSE) Manual Uživatelský manuál Strana 88

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 115
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 87
Teledyne LeCroy Verification Script Engine Reference Manual
Page 88 of 115
18 Navigation Functions
18.1 GotoEvent()
This function forces the application to jump to some trace event and shows it in the main trace view.
Format: GotoEvent(level, index)
GotoEvent()
Parameters:
level Transaction level of the event to jump
index Transaction index of the event to jump
Remarks:
If no parameters were specified, the application jumps to the current event being processed by VSE.
If wrong parameters were specified (for example, index exceeding the maximal index for the specified
transaction level), the function does nothing and an error message is sent to the output window.
Example:
if(Something == interesting) GotoEvent(); # Go to the current event.
if(SomeCondition)
{
interesting_level = in.Level;
interesting_index = in.Index;
}
OnFinishScript()
{
# Go to the interesting event.
GotoEvent(interesting_level, interesting_index);
}
Zobrazit stránku 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 114 115

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

Žádné komentáře