Irecoptions::save – Teledyne LeCroy SAS_SATA Automation API manual User Manual
Page 94
![background image](/manuals/353598/94/background.png)
Teledyne LeCroy
SASRecOptions Object
88
Automation API for Teledyne LeCroy SAS/SATA Protocol Suite
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 Value
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.sac" )
C++: