2 irecoptions::save – Teledyne LeCroy SAS_SATA Tracer_Trainer Automation API Manual User Manual
Page 51
LeCroy Corporation
Automation API for SAS/SATATracer/Trainer
Manual Version 1.11
51
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.SASAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
' do the changes of recording options here
RecOptions.Save( CurrentDir & "Input\rec_options.rec" )
C++: