Createtracefile(), Reate, Race – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual
Page 77: 1 createtracefile()

LeCroy Corporation
Verification Script Engine Manual, version 2.2
19.1 CreateTraceFile()
This function creates a UWBTracer trace file.
Format:
CreateTraceFile( file_path )
Parameters:
file_path
Full path to the trace file to be created. (For
‘\’
use
‘\\’
)
Return Values:
The “handle” to the trace file to be used in other trace-file-related functions.
Remarks:
If file_path contains just a file name (such as test.uwb), the trace file is created in the UWBTracer
application folder.
Example:
…
set trace_handle = 0;
…
# Create a trace file in "C:\\data_output.uwb".
trace_handle = CreateTraceFile(“C:\\data_output.uwb”);
…
# Add the current trace event (frame) to the trace file.
AddEventToTraceFile(trace_handle);
…
CloseTraceFile(trace_handle); # Close the file.
…
Page 77 of 95