beautypg.com

Information functions, Gettracename(), Race – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual

Page 64: 16 information functions, 1 gettracename()

background image

LeCroy Corporation

Verification Script Engine Manual, version 2.2





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 UWB Traces\Data.uwb"

# GetTraceName(1) returns "D_Some UWB Traces_Data.uwb"

Page 64 of 95