Teledyne-lecroy SAS_SATA Automation API manual Instrukcja Użytkownika Strona 24

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 150
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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;
. . .
Przeglądanie stron 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 149 150

Komentarze do niniejszej Instrukcji

Brak uwag