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

  • 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 50
LeCroy Corporation Verification Script Engine Reference Manual Version 1.01
15.4 GetCurrentTime()
This function returns the string representation of the current system time.
Format : GetCurrentTime()
Example:
ReportText( GetCurrentTime() ); # will yield “February 10, 2006 5:49 PM”
15.5 GetEventSegNumber()
In case if a multi-segmented trace is being processed, this function returns the index of the
segment for the current event.
NOTE: When a multi-segmented trace file (extension *.smt or *.smat) is processed by VSE – different trace events in
different segments of the same trace file may have the same indexes (value stored in in.Index input context members)
– but they will have different segment numbers.
Format : GetEventSegNumber()
Example:
ReportText( Format( “Current segment = %d”, GetEventSegNumber() ) );
15.6 GetTriggerPacketNumber()
This function returns the number of the trigger packet in the trace. In case no trigger event was
recorded in the trace, a value of 0xFFFFFFFF is returned.
Format : GetTriggerPacketNumber()
Example:
ReportText( FormatEx( “Trigger packet # : %i”, GetTriggerPacketNumber() );
46
Zobrazit stránku 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 67 68

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

Žádné komentáře