Teledyne-lecroy SATracer 3G Verification Script Engine manual Manual de usuario Pagina 51

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 68
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 67 68

Comentarios a estos manuales

Sin comentarios