Data Sheet

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite
9
ANALYZERCOMERROR_UNABLETOMERGEFILES = 0x80040214
ANALYZERCOMERROR_LEVEL_NOT_AVAILABLE = 0x80040300
ANALYZERCOMERROR_VARIANT_TYPE_ERROR = 0x80040301
1.5 Note Regarding VBS Return Values
A recent update to the Microsoft Visual Basic Interpreter causes it to no longer perform the implicit type
conversions that it once did.
There is a very simple workaround for these issues. The "CLng" VBS function does needed conversions
and helps to avoid the runtime errors. Example:
Old Code:
SwVersion = Analyzer.GetVersion(0)
New Code:
SwVersion = CLng(Analyzer.GetVersion(0))
2 Primary Dual Interface for Analyzer
2.1 IUsbAnalyzer Dual Interface
IUsbAnalyzer interface is the primary interface for the UsbAnalyzer object. It derives from the
IAnalyzer interface that implements the common functionality for all Teledyne LeCroy Analyzers.
Class ID: 136D64A4-3CD5-4b41-974A-C7039E3FC292
App ID: CATC.USBTracer
COM server: UsbSuite.exe
IUsbAnalyzer IID: C37E7603-E3E5-48b4-8F79-080DBB543F0C
2.1.1 IAnalyzer::GetVersion
HRESULT GetVersion (
[in] EAnalyzerVersionType version_type,
[out, retval] WORD* analyzer_version );
Retrieves the current version of the specified subsystem.
Parameters
version_type Subsystem whose version is requested;
EAnalyzerVersionType enumerator has the following
values: