Addeventtotracefile() - LeCroy USB Protocol Suite Reference Manual

Verification script engine
Table of Contents

Advertisement

LeCroy Corporation

19.3 AddEventToTraceFile()

This function adds the current trace event (such as frames) to the trace file.
Format:
AddEventToTraceFile ( tracefile_handle )
Parameters:
tracefile_handle
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);
...
Trace File "handle" returned by the CreateTraceFile() function.
Verification Script Engine Reference Manual
# Close the file.
Page 91 of 107

Advertisement

Table of Contents
loading

Table of Contents