Instruction manual

Table Of Contents
PC215E Page 58
6.6 Windows and DOS Library Functions
Details are given of each of the functions provided in the supplied Windows Dynamic Link
Library (DLL) and DOS 'C' Library.
6.6.1 Initialisation Functions
6.6.1.1 Register a Board with the Library - registerBoard
Registers a board with the library. This function returns a Board Handle (positive integer)
which must be used in all subsequent calls to library functions for this board. No more than
eight boards can be registered at any one time.
i = registerBoard (model, ba, irq)
where
model Integer: Board’s model number. The following
pre-defined constants may be used for the
boards supported:-
PC214E = 214
PC215E = 215
PC272E = 272
PC212E = 212
PC218E = 218
ba Integer: Board’s base address. Factory default
is 300 hex. See section 2.6.1 for details on
selecting the board's base address.
irq Integer: Board’s Interrupt level. Factory default
is 5. See section 2.6.3 for details on selecting
the board's interrupt level.
Returns Integer:
Board handle to be used in all subsequent function calls for that
board.
or ERRSUPPORT
ERRBASE
ERRIRQ
Prior Calls none
See Also freeBoard