beautypg.com

Teledyne LeCroy WaveExpert 100H Operators Manual User Manual

Page 197

background image

Wave Expert

WE-OM-E Rev A

195

Setup -- Case 1

This scenario assumes that you have developed your application on a PC.

1. Compile your application on your PC
2. Copy the compiled file onto the scope, using a memory stick or network drive.
3. Open the Command Prompt window (Start --> Programs --> Accessories --> Command

Prompt) and run your application.

Setup -- Case 2

This scenario assumes that you have Visual C++ loaded on the scope.

y

Use the Visual C++ editor to develop and run your application.

Setup -- Case 3

This scenario assumes that you are using a compiler other than Visual C++ (such as GNU's
MinGW). It should be noted that the optimizer in the GNU C Compiler (GCC) is less efficient than
that in Visual C++ and will result in lower performance.

1. Save your application in a text file, and copy it onto memory stick or network drive.
2. Using Windows Explorer, copy the text file to the scope.
3. Download and install the compiler onto the scope.
4. Configure Environmental Variables as follows:

A. Open Start --> Settings --> Control Panel --> System.

B. Click the "Advanced" tab, then the Environmental Variables button.

C. In the "System variables" window, click Path, then the Edit button.

D. At the end of the "Variable Value" string, append ;C:\MinGW\bin for the case of the

GNU C Compiler (GCC) for example.

E. Click

OK.

5. Open the Command Prompt window (Start --> Programs --> Accessories --> Command

Prompt) and compile your application.

6. Run your application.

Operational Notes

Once FastWavePort is selected, the right-hand dialog shows the current settings. The first of these
is critical, and indicates the base name of the memory window and the two events, which are global
within the Windows O/S. This should be left at its default value and only changed if multiple
FastWavePort functions are used in parallel. Note that this name must match the base name used
in the client application.