Teledyne-lecroy UWBTracer Verification Script Engine Manual Uživatelský manuál Strana 69

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 95
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 68
LeCroy Corporation Verification Script Engine Manual, version 2.2
17.2 SetMarker()
This function sets a marker for some trace event.
Format: SetMarker(marker_text)
SetMarker(marker_text, level, index)
Parameters:
marker_text Text of the marker
level Transaction level of the event to jump (possible values _FRM)
index Transaction index of the event to jump
Remarks:
If no parameters were specified, other than marker_text, the application sets the marker 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:
# Set marker to the current event.
if(Something == interesting) SetMarker("!!! Something cool !!!");
if(SomeCondition)
{
interesting_level = in.Level;
interesting_index = in.Index;
}
OnFinishScript()
{
# Set marker to the interesting event.
SetMarker(" !!! Cool Marker !!! ", interesting_level, interesting_index);
# Go to the interesting event.
GotoEvent(interesting_level, interesting_index);
}
Page 69 of 95
Zobrazit stránku 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 94 95

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

Žádné komentáře