
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"
Komentarze do niniejszej Instrukcji