beautypg.com

12 itrace::analyzererrors, Itrace::analyzererrors – Teledyne LeCroy USB Analyzer Automation Manual User Manual

Page 59

background image

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite

59

3.1.12 ITrace::AnalyzerErrors


HRESULT AnalyzerErrors (

[in] long error_type,
[out, retval] IAnalyzerErrors** analyzer_errors );

Retrieves trace file errors.

Parameters


long error_type

Type of error collection you want to retrieve; the following values
are valid:

0x00000001

-

Pid Error

0x00000002

-

CRC5 Error

0x00000004

-

CRC16 Error

0x00000008

-

Packet Length Error

0x00000010

-

Stuff Bit Error

0x00000020

EOP Error

0x00000040

Babble Start Error

0x00000080

Babble End Error (LOA)

0x00000100

Frame Length Error

0x00000200

Handshake Timeout Error

0x00000400

Analyzer Internal Error

0x00000800

Data Toggle Error

0x00001000

Microframe Error

0x00002000

Short Byte Error (bits missing)


analyzer_errors

Address of a pointer to the AnalyzerErrors object primary
interface

Return values

ANALYZERCOMERROR_INVALIDERROR

Invalid error type specified

Remarks

AnalyzerErrors object is created via this method call, if call was successful.