
TeledyneLeCroy SASAnalyzerObject
18 AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite
ISASAnalyzer::MakeRecording
HRESULT MakeRecording (
[in] BSTR ro_file_name,
[out, retval] IDispatch** trace );
Makesrecordingwiththespecifiedrecordingoptionsfi le.
Parameters
ro_file_name Stringprovidingthefullpathnametoarecordingoptionsfi le.
trace AddressofapointertotheSASTraceobjectinterface
ReturnValues
ANALYZERCOMERROR_UNABLESTARTRECORDINGUnabletostartrecording
Remarks
ThismethodactsliketheStartRecordingmethodbutwillnotreturnuntilrecordingis
completed.TheSASTraceobjectiscre atedviathismethodcall,ifthecallwassuccessful.
Therecordingoptionsfileisthefilewithextension.saccreatedbytheSAS/SATA
Protocol Suiteapplication.YoucancreatethisfilewhenyouselectFile–>Protocol
Analyzer…fromtheSASProtocolSuiteapplicationmenu,changetherecordingoptionsin
theProtocol Analyzerproject,andselecttheSave…button.
Example
WSH:
CurrentDir = Left(WScript.ScriptFullName,
InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer =
WScript.CreateObject("Lecroy.SASAnalyzer")
Set Trace = Analyzer.MakeRecording (CurrentDir &
"Input\test_ro.sac")
C++:
IDispatch* trace;
ISASAnalyzer* sas_analyzer;
BSTR ro_file_name;
HRESULT hr;
. . .
Komentarze do niniejszej Instrukcji