beautypg.com

2 automation api description, Utomation, Escription – Teledyne LeCroy UWBTracer Automation Manual User Manual

Page 6: Automation api description

background image

LeCroy

UWBTracer Automation API Reference Manual

Manual Version 3.02

2

2

Automation API Description


LeCroy UwbAnalyzer API exposes the following objects and interfaces:

Objects

Interfaces Description

UwbAnalyzer

IUwbAnalyzer

Primary analyzer interface

_IAnalyzerEvents

Analyzer event source

UwbTrace

IUwbTrace

Trace file interfaces

IUwbTrace2

IUwbTrace3

IUwbVerificationScript


Only

UwbAnalyzer

object is creatable at the top level (that is, via

CoCreateInstance

COM API

function

or other COM object creation methods), instantiation of objects of other classes requires API

calls. The following diagram represents the objects dependencies:










Figure 2-1 API Interfaces


All interfaces are dual interfaces, which allows simple use from typeless languages (i.e. VB/Java Script)
as well as from C++.

All objects implement

ISupportErrorInfo

interface allowing easy error handling on the client side.


Some examples of C++ code given in this document assume using “import” (Microsoft

®

C++ - specific)

technique of creating COM clients; that means the corresponding include is used:

#include "UwbAutomation.tlb" no_namespace named_guids

and appropriate wrapper classes are created in .tli or .tlh files by the compiler.

The samples of WSH, VBScript and C++ client applications are provided.

NOTE: This reference gives descriptions ONLY for implemented properties and methods of the
interfaces.

UwbAnalyzer

UwbTrace

UwbRecOptions

VScriptEngine