Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Manual de usuario Pagina 62

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 97
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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() );
Vista de pagina 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 96 97

Comentarios a estos manuales

Sin comentarios