Irecoptions::load – Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 93

Advertising
background image

 

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

87

SASRecOptions Object

Teledyne LeCroy

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 Value

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.sac" )

C++:

Advertising