Programming The Board

The following topics provide information about how to program the switching instruments using the GXPRES driver. The GXPRES driver contains functions to initialize, reset, and control the switching instruments. A brief description of the functions, as well as how and when to use them, is included in this chapter. FunctionsReference and the specific instrument User’s Guide contain a complete and detailed description of the available programming functions.

The driver supports many development tools. Using these tools with the driver is described in this chapter. In addition, the GX1164 directory contains examples written for these development tools. Refer to Installation And Connection for a list of the available examples.

An example using the DLL driver with Microsoft Visual C++ is included at the end of the section Programming The Board. Since the driver functions and parameters are identical for all operating systems and development tools, the example can serve as an outline for other programming languages, programming tools, and other GX1164 driver types.

The following topics are available:

 

The GX1164 Driver

Programming Using C/C++ Tools

Programming Using Visual Basic

Programming Using Pascal/Delphi

Programming GXPRES Boards Using ATEasy®

Programming Using LabView and LabView/Real Time

Using and Programming under Linux

Using the GXPRES driver functions

Distributing the Driver

Sample Programs

Sample Program Listing