Teledyne-lecroy Automation API for Bluetooth Analyzers Instrukcja Użytkownika Strona 47

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 110
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 46
41
Automation API for CATC Bluetooth Analyzers
CATC Ver. 1.40
Example
WSH:
Set Analyzer = WScript.CreateObject("CATC.Merlin")
CurrentDir = Left(WScript.ScriptFullName, InstrRev(WScript.ScriptFullName,
"\"))
Set Trace = Analyzer.MakeRecording (CurrentDir & "Input\test_ro.rec")
Trace.ReportErrorSummary CurrentDir & "Output\error_summary.txt"
C++:
IBTTrace* bt_trace;
TCHAR file_name[_MAX_PATH];
. . .
try
{
bt_trace->ReportErrorSummary( file_name );
}
catch ( _com_error& er)
{
if (er.Description().length() > 0)
::MessageBox( NULL, er.Description(), _T("BTAnalyzer client"),
MB_OK );
else
::MessageBox( NULL, er.ErrorMessage(), _T("BTAnalyzer client"),
MB_OK );
return 1;
}
Przeglądanie stron 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 109 110

Komentarze do niniejszej Instrukcji

Brak uwag