4 opentracefile(), Race – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual
Page 100

Teledyne LeCroy
Verification Script Engine Reference Manual
Page 100 of 115
20.4 OpenTraceFile()
This function opens a trace file in the application.
Format:
OpenTraceFile (tracefile_path)
Parameters:
tracefile_path
Path to a trace file to open.
Remarks:
If tracefile_path contains just a file name (such as test.usb), VSE looks for a trace file with such a name in the
application folder.
Example:
…
set trace_handle = 0;
…
# Create a trace file in "C:\\data_output.usb".
trace_handle = CreateTraceFile("C:\\data_output.usb");
…
# Add the current trace event (frame) to the trace file.
AddEventToTraceFile(trace_handle);
…
CloseTraceFile(trace_handle); # Close the trace file.
…
# Instruct the application to open the trace file "C:\\data_output.usb".
OpenTraceFile("C:\\data_output.usb");