Fireinspector automation api, 1 introduction, Chapter 2 fireinspector automation api – Teledyne LeCroy FireInspector Automation Application Programming Interface User Manual

Page 7: Introduction

Advertising
background image

3

FireInspector Automation User’s Manual

CATC

Version 1.0

2. FireInspector Automation API

This chapter describes the commands in the FireInspector Automation API.

2.1 Introduction

The CATC FireInspector Automation API exposes the following objects and interfaces:

Only

FwAnalyzer

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

CoCreateInstance

call).

Instantiation of an object of other classes requires API calls. The following diagram repre-
sents object dependence:

All interfaces are dual interfaces, which allows simple use from typeless languages as well
as from C++.

All objects implement

ISupportErrorInfo

interface for easy error handling from the client.

The examples of C++ code given in this document assume using “import” technique of
creating COM clients:

#import "FwAutomation.tlb" no_namespace named_guids

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

CLSID_FWAnalyzer and IID_IFwAnalyzer can then be used to create an instance of
IFwAnalyzer.

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

Objects

Interfaces

Description

FwAnalyzer

IFwAnalyzer

Primary analyzer interface

_IAnalyzerEvents

Analyzer event source

FwTrace

IFwTrace

Trace file interface

FwRecOptions

IFwRecOptions

Recording options interface

AnalyzerErrors

IAnalyzerErrors

Error collection interface

Advertising