beautypg.com

16 information functions, 1 gettracename(), Information functions – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 78: Race

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 78 of 115



16 Information Functions



16.1 GetTraceName()


This function returns the filename of the trace file being processed by VSE.


Format:

GetTraceName(filepath_compatible)


Parameters:

filepath_compatible

If this parameter is present and not equal to 0, the returned value
may be used as part of the filename.


Example:

ReportText("Trace name = " + GetTraceName());

File = OpenFile("C:\\My Files\\" + GetTraceName(1) + "_log.log");


# For trace file with path "D:\Some Traces\Data.usb"

# GetTraceName(1) returns "D_Some Traces_Data.usb"