beautypg.com

12 irecoptions::settracefilename, Irecoptions::settracefilename – Teledyne LeCroy Automation API for Bluetooth Analyzers User Manual

Page 67

background image

61

Automation API for CATC Bluetooth Analyzers

CATC

Ver. 1.40

2.5.12 IRecOptions::SetTraceFileName

Sets the path to the file where trace will be stored after recording

Parameters

file_name

-

string providing the full pathname to the file where recording wiil be

stored

Return values

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\trace.blt" )

C++:

HRESULT SetTraceFileName (

[in] BSTR file_name );