11 itrace::analyzererrors, Parameters, Return values – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual
Page 50: Remarks, Itrace::analyzererrors

Teledyne LeCroy
Automation API for PETracer/PETrainer
45
4.1.11 ITrace::AnalyzerErrors
 
HRESULT AnalyzerErrors ( 
[in] long error_type, 
[out, retval] IAnalyzerErrors** analyzer_errors ) 
 
Retrieves trace file errors. Returns an interface pointer to the PETraceErrors object.
Parameters 
 
error_type
Type of error collection you want to retrieve; the following values are 
valid: 
0x00000001 Invalid Code
 0x00000002 Running Disparity Error 
 0x00000003 Skip Late 
 0x00000004 Idle Data Error (not D0.0) 
 0x00000005 Unexpected K/D Code 
 0x00000006 Bad Packet Length 
 0x00000007 Alignment Error 
 0x00000008 Skew Error 
 0x00000009 Ordered Set Format Error 
 0x0000000A Delimiter Error 
 0x0000000B DLLP: Invalid Encoding 
 0x0000000C DLLP: Bad CRC16 
 0x0000000D DLLP: Reserved Field not 0 
 0x0000000E DLLP: FC Initialization Error 
 0x0000000F TLP: Invalid Encoding 
 0x00000010 TLP: Bad LCRC 
 0x00000011 TLP: Bad ECRC 
 0x00000012 TLP: Reserved Field not 0 
 0x00000013 TLP: Payload/Length Error 
 0x00000014 TLP: Length Error (not 1) 
 0x00000015 TLP: TC Error (not 0) 
 0x00000016 TLP: Attr Error (not 0) 
 0x00000017 TLP: Byte Enables Violation 
 0x00000018 Memory TLP: Address/Length Crosses 4K 
 0x00000019 Mem64 TLP: Used Incorrectly 
 0x0000001A Cfg TLP: Register Error 
 0x0000001B Msg TLP: Invalid Routing 
 0x0000001C Invalid Packet 
 0x0000001D FC: Invalid Advertisement 
 0x0000001E FC: Insufficient Credits 
 0x0000001F Gen3 TLP: Bad Len CRC/Parity 
 0x00000020 TLP: AT Error (not 0) 
analyzer_errors
Address of a pointer to the PETraceErrors object interface
Return values
ANALYZERCOMERROR_INVALIDERROR
Invalid error type specified
Remarks
PETraceErrors object is created via this method call if the call was successful.
