beautypg.com

Opentracefile(), Race, 4 opentracefile() – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual

Page 80

background image

LeCroy Corporation

Verification Script Engine Manual, version 2.2





19.4 OpenTraceFile()


This function opens a UWBTracer trace file in the UWBTracer 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.uwb), VSE looks for a trace file with such a

name 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 trace file.

# Instruct the application to open the trace file "C:\\data_output.uwb".

OpenTraceFile("C:\\data_output.uwb");

Page 80 of 95