1 irecoptions::load, Irecoptions::load – Teledyne LeCroy USB Analyzer Automation Manual User Manual

Page 101

Advertising
background image

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite

101

7.1.1 IRecOptions::Load


HRESULT Load (

[in] BSTR ro_file_name );


Loads recording options from 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


Example


WSH:

CurrentDir = Left(WScript.ScriptFullName, InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer = WScript.CreateObject("CATC.USBTracer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.Load( CurrentDir & "Input\rec_options.rec" )

C++:



























Advertising