LeCroy Corporation
Verification Script Engine Reference Manual
Page 91 of 107
19.3 AddEventToTraceFile()
This function adds the current trace event (such as frames) to the trace file.
Format:
AddEventToTraceFile ( tracefile_handle )
Parameters:
tracefile_handle
Trace File “handle” returned by the CreateTraceFile() function.
Remarks:
If this function is called multiple times for the same event, only the first call adds an event to the trace file. All the
other calls are ignored.
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 file.
…