2 irecoptions::save, Irecoptions::save – Teledyne LeCroy USB Analyzer Automation Manual User Manual
Page 102

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
102
7.1.2 IRecOptions::Save
HRESULT Save (
[in] BSTR ro_file_name );
Saves recording options into the specified file.
Parameters
ro_file_name
String providing the full pathname to the recording options file
Return values
ANALYZERCOMERROR_UNABLEOPENFILE
Unable to open file
Remarks
If the 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\rec_options.rec" )
C++: