Functional Overview Of The 32 Bit Driver; Naming Conventions; Definitions - PEP CP380 Manual

Digital i/o board for compactpci applications
Table of Contents

Advertisement

CP380
5. Function Reference

5.1 Functional Overview of the 32 Bit Driver

The 32-bit driver for the boards of the CP380 family was developed for Windows NT 4.0
and consists of the following components:
Kernel driver (ME9x_32.SYS) for Windows NT, loaded automatically on power up.
API-DLL (ME9x_32.DLL) with the driver functions for the CP380 family.
Dialogue DLL (MEDLG32.DLL) with dialogue functions.
The installation program for the CP380 family registers every new board with the operat-
ing system. Upon every startup, the driver searches for a registered CompactPCI board
and checks that it physically exists. After the driver is successfully loaded, the board can
be accessed via the API functions.
The API functions allow convenient access to the hardware. Every function that
accesses a CP380 board requires an integer value for identification of the board. In the
following description of the functions this parameter is referred to as iBoardNumber.

5.2 Naming Conventions

These functions were written specifically for the CP380 board family. For Visual C and
Delphi (Pascal) every API function starts with an underscore "_" (this is not so in Borland
C and BASIC). The function names were selected to be as descriptive as possible. Each
function name consists of a board type specific prefix and several elements which stand
for the corresponding sections (e. g. "DI" for "Digital In").
_me94...
_me95...
_me96...
_me9x...

5.3 Definitions

All pre-defined constants and macros for Visual C++ will be found in the file MEDEFS.H,
for Delphi in the file MEDEFS.PAS and for Visual Basic in the file MEDEFS.BAS. By linking
the appropriate definition file into your project you can pass many parameters in the
form of predefined constants (e. g. MEINPUT, AO_PLUS_10). As an alternative, you can
pass the matching Hex value at any time.
ID 19313, Rev. 0100
Function valid for board CP380-I
Function valid for board CP380-O
Function valid for board CP380-I/O
Function valid for the boards
CP380-I/O
® PEP Modular Computers GmbH
Function Reference
CP380-I, CP380-O,
Page 5 - 3

Advertisement

Table of Contents
loading

Table of Contents