9 irecoptions::settracefilename, Irecoptions::settracefilename – Teledyne LeCroy FireInspector Automation Application Programming Interface User Manual
Page 62
Advertising

58
FireInspector Automation User’s Manual
CATC
Version 1.0
2.5.9
IRecOptions::SetTraceFileName
Sets the path to the file where trace will be stored after recording.
Syntax
HRESULT SetTraceFileName (
[in] BSTR file_name );
Parameters
•
file_name
–
string providing the full pathname to the file where recording will be
stored
Return values
Remarks
If specified file does not exist, it will be created; if it does exist, it will be overwritten.
Example
WSH:
CurrentDir = Left(WScript.ScriptFullName,
InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer = WScript.CreateObject("CATC.FwAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
' do the changes of recording options here
RecOptions.Save( CurrentDir & "Input\trace.fdb" )
C++:
Advertising