A.5. samples for automation – Teledyne LeCroy USB Analyzer Automation Manual User Manual

Page 142

Advertising
background image

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

142

A.5. Samples for Automation

You can test your Automation setup by running a sample script file or executing one of the simple client
applications included on the Automation installation package. The installation package contains three
zipped directories:

cpp - Contains C++ source code files. This directory includes the source code for an application
called analyzerclient.exe. Analyzerclient.exe is a simple interface to the Automation API.
Analyzerclient.exe lets you manage the Analyzer.

html - Contains a directory with an HTML-based client application called analyzer1.html that is
a simple interface to the Automation API.

wsh - This is a directory containing Visual Basic script files. You can run these script files by
double-clicking on them.


To test your Automation setup, execute AnalyzerClient.exe (after compiling it first) or analzyer1.html,
or double-click one of the wsh files. If your setup is correct, execute a Teledyne LeCroy sample script on
the client PC that connects to the Host Controller. Sample script files can be found on the Automation
Installation diskette.

Testing Your Automation Setup with AnalyzerClient.exe

The following steps show you how to test your automation setup using AnalyzerClient.exe. As
mentioned above, you must compile this first from the source code in the cpp directory. Please refer to
the ReadMe file in the Automation package for information about compiling the application.

In the steps below, you execute analyzerclient.exe on a remote PC and establish a connection with the
Host Controller PC. Then, you remotely load a trace file on the Host Controller.


1. Browse to the directory in which you compiled AnalyzerClient.exe.

Advertising