10 irecoptions::settracefilename, Irecoptions::settracefilename – Teledyne LeCroy USB Analyzer Automation Manual User Manual
Page 110

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
110
7.1.10 IRecOptions::SetTraceFileName
HRESULT SetTraceFileName (
[in] BSTR file_name );
Sets the path to the file where the trace is stored after recording.
Parameters
file_name
String providing the full pathname to the file where recording is stored
Return values
Remarks
If specified file does not exist, it is created. If it exists, it is overwritten.
Example
WSH:
CurrentDir = Left(WScript.ScriptFullName, InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer = WScript.CreateObject("CATC.USBTracer")
Set RecOptions = Analyzer.GetRecordingOptions
' Do the changes of recording options here.
RecOptions.Save( CurrentDir & "Input\trace.usb" )
C++: