beautypg.com

2 irecoptions::save, Irecoptions::save – Teledyne LeCroy Automation API for Bluetooth Analyzers User Manual

Page 57

background image

51

Automation API for CATC Bluetooth Analyzers

CATC

Ver. 1.40

2.5.2 IRecOptions::Save

Saves recording options into 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 specified file does not exists it will be create, if it exists it will be overwritten.

Example

WSH:

CurrentDir = Left(WScript.ScriptFullName, InstrRev(WScript.ScriptFullName,

"\"))

Set Analyzer = WScript.CreateObject("CATC.Merlin")

Set RecOptions = Analyzer.GetRecordingOptions

' do the changes of recording options here

RecOptions.Save( CurrentDir & "Input\rec_options.rec" )

C++:

HRESULT Save (

[in] BSTR ro_file_name );