APCI-/CPCI-1500 Technical
description Chapter 9
38
9.3
Software functions (API)
Remark:
The
CPCI-1500
board is entirely compatible with the
APCI-1500
board regarding the software installation and the device driver. The program
ADDIREG will thus make no difference between the systems (PCI board or
Compact PCI
board).
The API functions of the device driver are also the same.
9.3.1
Base address and interrupt
1) i_APCI1500_InitCompiler (..)
Syntax:
<Return value> = i_APCI1500_InitCompiler (BYTE b_CompilerDefine)
Parameters:
- Input:
BYTE
b_CompilerDefine
The user has to choose the language
under Windows in which he/she wants to
program
- DLL_COMPILER_C:
The user programs in C.
-
DLL_COMPILER_VB:
The user programs in Visual Basic for
Windows.
-
DLL_COMPILER_VB_5:
The user programs in Visual Basic 5 for
Windows NT or Windows 95/98.
-
DLL_COMPILER_PASCAL:
The user programs in Pascal or Delphi.
- DLL_LABVIEW :
The user programs in Labview.
- Output:
No output signal has occurred.
Task:
If you want to use the DLL functions, parameter in the language which you want
to program in. This function must be the first to be called up.
IMPORTANT!
This function is only available with a Windows environment.
Calling convention:
ANSI
C
:
int
i_ReturnValue;
i_ReturnValue = i_APCI1500_InitCompiler (DLL_COMPILER_C);
Return value:
0: No error
-1: Compiler parameter is wrong