beautypg.com

8 irecoptions::settracefilename – Teledyne LeCroy SierraFC Automation API User Manual

Page 53

background image

LeCroy Corporation

SierraFC M8-4 API Reference Manual

Manual Version 1.00

53

5.1.8 IRecOptions::SetTraceFileName


HRESULT SetTraceFileName (

[in] BSTR file_name );


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

Parameters


file_name

String that provides the full file pathname to where the recording
will be stored

Return values

Remarks

If the specified file does not exist, it will be created. If it exists, it will be overwritten.

Example


WSH:

CurrentDir = Left(WScript.ScriptFullName, InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer = WScript.CreateObject("LeCroy.FCAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
' do the changes of recording options here
RecOptions.Save( CurrentDir & "Input\trace.sat" )

C++: