Closetracefile(), Lose, Race – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual

Page 78: 2 closetracefile()

Advertising
background image

LeCroy Corporation

Verification Script Engine Manual, version 2.2





19.2 CloseTraceFile()


This function closes an open trace file. All attempts to add trace data to a closed trace file are ignored.


Format:

CloseTraceFile( tracefile_handle )


Parameters:

tracefile_handle

Trace File “handle” returned by the CreateTraceFile() function.


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 78 of 95



Advertising