Data Sheet

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
45
2.7 IUsbAnalyzer8 interface
The IUsbAnalyzer8 interface is the eightth interface for the UsbAnalyzer object. It inherits and extends
some analyzer-related functionality exposed via the IUsbAnalyzer interface.
IID : 3A362B48-4222-403A-9B65-CED0E0A59DE8
2.7.1 IUsbAnalyzer8::GetHardwareInfo
HRESULT GetHardwareInfo (
[out, retval] int* info)
The method returns the product hardware type. The UsbAnalyzer software and automation API is
capable of working with different types of USB analyzer hardware. However, because some capablities
are different between different products and analyzer hardware, API users may use this method to find
what analyzer hardware is connected.
Parameters
info Pointer to int value indicates the analyzer hardware type.
The value enumeration is:
TARGETANALZYER_5K = 0,
TARGETANALZYER_2500 = 1,
TARGETANALZYER_2500H = 2,
TARGETANALZYER_ADVISOR = 3,
TARGETANALZYER_MOBILE_HS = 4,
TARGETANALZYER_MOBILE_T2 = 5,
TARGETANALZYER_VOYAGER = 6,
TARGETANALZYER_ADVISOR_T3 = 7,
TARGETANALZYER_VOYAGER_M3X = 8,
TARGETANALZYER_VOYAGER_M310 = 9,
TARGETANALZYER_reserved = 10,
TARGETANALZYER_MERCURY_T2 = 11,
TARGETANALZYER_ECLIPSE_X34 = 12,
TARGETANALZYER_VOYAGER_M310C= 13,
TARGETANALZYER_MERCURY_T2C = 14
Return values
ANALYZERCOMERROR_INVALIDVERSIONTYPE If there is no connected unit, or more than
one unit connected, or the connected hardware could not be identified.
Remarks
If there is no connected device, the method returns an error.
If there is more than one device, the API should call the BindUnit() method to bind the object to a specific
device before calling this method, otherwise the methods returns an error.