Instruction manual
Table Of Contents
- INTRODUCTION
- GETTING STARTED
- MAKING THE CONNECTIONS
- USING THE PC215E
- STRUCTURE AND ASSIGNMENTS OF THE REGISTERS
- Register Assignments
- Register Groups
- The Register Details
- Programmable Peripheral Interface PPI-X Data Register Port A
- Programmable Peripheral Interface PPI-X Data Register Port B
- Programmable Peripheral Interface PPI-X Data Register Port C
- Programmable Peripheral Interface PPI-X Command Register
- Programmable Peripheral Interface PPI-Y Data Register Port A
- Programmable Peripheral Interface PPI-Y Data Register Port B
- Programmable Peripheral Interface PPI-Y Data Register Port C
- Programmable Peripheral Interface PPI-Y Command Register
- Z1 Counter 0 Data Register
- Z1 Counter 1 Data Register
- Z1 Counter 2 Data Register
- Counter/Timer Z1 Control Register
- Z1 Counter/Timer Status Register
- Z2 Counter 0 Data Register
- Z2 Counter 1 Data Register
- Z2 Counter 2 Data Register
- Counter/Timer Z2 Control Register
- Z2 Counter/Timer Status Register
- Group Z Clock Connection Register
- Group Z Gate Connection Register
- Interrupt Source Selection Register
- Interrupt Status Register
- PROGRAMMING THE PC215E
- Copyright
- Files installed from the Distribution Diskette
- Windows DLL and Examples
- DOS 'C' Library and Examples
- Using the Dynamic Link Library
- Windows and DOS Library Functions
- Initialisation Functions
- Interrupt Control Functions
- Data Buffer Functions
- Timer/Counter Functions
- Differential Counter Functions
- Frequency Generation Functions
- Millisecond Stopwatch Functions
- Frequency Input and Output Functions
- Digitally- and Voltage-Controlled Oscillator Functions
- Digital Input/Output Functions
- Switch Scanner Matrix Functions
- Bi-Directional Data Bus Functions
- PC215E Library Error Codes
- PC215E Interface Guide For LABTECH NOTEBOOK
- Guide to User Programming
- Signal Centre
- CONTENTS
- DECLARATION OF CONFORMITY

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