
TeledyneLeCroy SASRecOptionsObject
88 AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite
IRecOptions::Save
HRESULT Save (
[in] BSTR ro_file_name );
Savesrecordingoptionsintothespecifiedfile.
Parameters
ro_file_name Stringthatprovidesthefullpathnametotherecordingoptionsfile
ReturnValue
ANALYZERCOMERROR_UNABLEOPENFILE Unabletoopenfile
Remarks
Ifthespecifiedfiledoesnotexist,itwillbecreated.Ifitexists,itwillbeoverwritten.
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++:
Komentáře k této Příručce