Createtracefile() - LeCroy USB Protocol Suite Reference Manual

Verification script engine
Table of Contents

Advertisement

LeCroy Corporation

19.1 CreateTraceFile()

This function creates a trace file.
Format:
CreateTraceFile( file_path )
Parameters:
file_path
Return Values:
The "handle" to the trace file to be used in other trace-file-related functions.
Remarks:
If file_path contains just a file name (such as test.usb), the trace file is created 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);
...
Full path to the trace file to be created. (For
Verification Script Engine Reference Manual
'\'
use
# Close the file.
'\\'
)
Page 89 of 107

Advertisement

Table of Contents
loading

Table of Contents