1 irecoptions::load – Teledyne LeCroy SAS_SATA Tracer_Trainer Automation API Manual User Manual

Page 50

Advertising
background image

LeCroy Corporation

Automation API for SAS/SATATracer/Trainer

Manual Version 1.11

50

5.1.1 IRecOptions::Load


HRESULT Load (

[in] BSTR ro_file_name );


Loads recording options from the specified file.

Parameters

ro_file_name

String that provides 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("LeCroy.SASAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.Load( CurrentDir & "Input\rec_options.rec" )

C++:

Advertising