Teledyne-lecroy SAS_SATA Automation API manual Uživatelský manuál Strana 24

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 150
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 23
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;
. . .
Zobrazit stránku 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 149 150

Komentáře k této Příručce

Žádné komentáře