2 irecoptions::save, Irecoptions::save – Teledyne LeCroy FireInspector Automation Application Programming Interface User Manual
Page 55
Advertising

51
FireInspector Automation User’s Manual
CATC
Version 1.0
2.5.2
IRecOptions::Save
Saves recording options into specified file.
Syntax
HRESULT Save (
[in] BSTR ro_file_name );
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 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\rec_options.rec" )
C++:
Advertising