beautypg.com

4 getcurrenttime(), 5 geteventsegnumber(), Urrent – Teledyne LeCroy SierraFC Verification Script Engine Reference Manual User Manual

Page 47: Vent, Umber

background image

Verification Script Engine Reference Manual

42

20.4 GetCurrentTime()

This function returns the string representation of the current system time.


Format :

GetCurrentTime()



Example:

ReportText( GetCurrentTime() ); # will yield “February 10, 2004, 5:49 PM”


20.5 GetEventSegNumber()

In case if a multi-segmented trace is being processed - this function returns the index of the

segment for current event.

NOTE: When multi-segmented trace file ( extension *.mlt ) 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() ) );