LeCroy Corporation
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
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"
If this parameter is present and not equal to 0, the returned value
may be used as part of the filename.
Verification Script Engine Reference Manual
Page 76 of 107