Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Instrukcja Użytkownika Strona 62

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 97
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 61
62
16.4 GetCurrentTime()
This function returns the string representation of the current system time.
Format : GetCurrentTime()
Example
ReportText( GetCurrentTime() ); # For example, will report
#"February 10, 2006 5:49 PM"
16.5 GetEventSegNumber()
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() ) );
16.6 GetTriggerPacketNumber()
This function returns the index of a link packet for which a Trigger was set. 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() );
Przeglądanie stron 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 96 97

Komentarze do niniejszej Instrukcji

Brak uwag