Teledyne-lecroy FireInspector Automation Application Programming I Manual do Utilizador Página 42

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 92
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 41
38
FireInspector Automation User’s Manual
CATC Version 1.0
2.4.7 ITrace::ReportErrorSummary
Saves trace error summary information into specified text file.
Syntax
HRESULT ReportErrorSummary (
[in] BSTR file_name );
Parameters
file_name string providing the full pathname to file where error summary report is
created
Return values
ANALYZERCOMERROR_UNABLESAVE unable to create trace information report
Remarks
Creates error summary file if necessary. Stores error summary in specified file. Here is an
example of data stored using this method call:
Error report for Errors.fdb recording file.
_______|___________________________________________________
Bad Transaction Codes (1):
_______| 0.4;
_______|___________________________________________________
Bad Header CRCs (1):
_______| 0.0;
_______|___________________________________________________
Bad Data CRCs (1):
_______| 0.1;
_______|___________________________________________________
Bad PHY Packets (2):
_______| 0.6; 0.7;
_______|___________________________________________________
Bad Acknowledges (1):
_______| 0.3;
_______|___________________________________________________
Data Length/Payload Mismatches (0):
_______|___________________________________________________
Bad Reserved Fields (not all 0's) (1):
_______| 0.2;
_______|___________________________________________________
Example
WSH:
Set Analyzer = WScript.CreateObject("CATC.FwAnalyzer")
CurrentDir = Left(WScript.ScriptFullName,
InstrRev(WScript.ScriptFullName, "\"))
Set Trace = Analyzer.MakeRecording (CurrentDir &
"Input\test_ro.rec")
Trace.ReportErrorSummary CurrentDir &
"Output\error_summary.txt"
Vista de página 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 91 92

Comentários a estes Manuais

Sem comentários