2 irecoptions::save – Teledyne LeCroy SierraFC Automation API User Manual
Page 47

LeCroy Corporation
SierraFC M8-4 API Reference Manual
Manual Version 1.00
47
5.1.2 IRecOptions::Save
HRESULT Save (
[in] BSTR ro_file_name );
Saves recording options into the specified file.
Parameters
ro_file_name
String that provides the full pathname to the recording options file
Return values
ANALYZERCOMERROR_UNABLEOPENFILE –
unable to open file
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\rec_options.rec" )
C++: