Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Manuel d'utilisateur Page 62

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 97
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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() );
Vue de la page 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 96 97

Commentaires sur ces manuels

Pas de commentaire