5 c/c++ libraries, 1 libraries installation, 2 programming guide – ADLINK cPCI-7252 User Manual

Page 39: Naming convention, Libraries installation, Programming guide, 5c/c++ libraries

Advertising
background image

C/C++ Libraries

29

5

C/C++ Libraries

This chapter describes the software libraries for operating this
card. Only functions in the DOS library and Windows 95 DLL are
described. Refer to the PCIS-DASK function reference manual,
which is included in the ADLINK CD, for descriptions of Windows
98/NT/2000/XP DLL functions.

The function prototypes and useful constants are defined in the
header files located in the LIB directory (DOS) and INCLUDE
directory (Windows 95). For the Windows 95 DLL, the developing
environment can be Visual Basic 4.0 or above, Visual C/C++ 4.0
or above, Borland C++ 5.0 or above, Borland Delphi 2.x (32-bit) or
above, or any Windows programming language that allows calls to
a DLL.

5.1 Libraries Installation

Refer to the “Software Installation Guide” for information regarding
software installation of libraries for DOS, Windows 95 DLL, or
PCIS-DASK for Windows 98/NT/2000/XP.

The device drivers and DLL functions for Windows 98/NT/2000/XP
are included in the PCIS-DASK. Refer to the PCIS-DASK user’s
guide and function reference, which is included in the ADLINK CD,
for programming information.

5.2 Programming Guide

Naming Convention

The functions of the NuDAQ PCI or NuIPC CompactPCI card soft-
ware drivers uses full-names to represent the functions' real
meaning. The naming convention rules are:

In a DOS Environment:

_{hardware_model}_{action_name}.

e.g.

_7250_Initial().

All functions in the PCI-7250 driver start with 7250 as
{hardware_model}. All functions in cPCI-7252 driver start with
7252 as {hardware_model}.

Advertising