
Digital Input/Output Function Library
123
DLAP-3000/3100-CF
Appendix E Digital Input/Output Function
Library
DI/O provides input/output to support inter-device communica-
tions. Simple programming guides allow easy transmission of digi-
tal signals between the system and attached peripherals.
DI/O with API/Windows
DLAP-3100 DI/O API library files and a demo program (including
source code) can be downloaded from
https://www.adlink-
tech.com/Products/Industrial_PCs_Fanless_Embedded_PCs/
IPCSystems/DLAP-3100-CF_Series
.
To use the DI/O function library for the DLAP-3100 series, include
the header file (GpioLib.h) and linkage library (GpioLib.lib) in the
C++ project. DI/O functions are as follows.
GPIO_Init
This API checks if the GPIO driver handle is valid.
char GPIO_Init ()
Return values:
GPIO_OK
on success.
GPIO_ERROR
on failure.
GPI_Read
This API reads the digital input (DI) pin status:
char GPI_Read(UCHAR GpioNum, PUCHAR data)
Arguments:
GpioNum
: The number of a digital input pin (0-3)
data
: The digital input pin status will be copied to this
address reference
Return values:
GPIO_OK
on success.
GPIO_ERROR
on failure.
Summary of Contents for DLAP-3000 Series
Page 8: ...viii List of Tables Leading EDGE COMPUTING This page intentionally left blank...
Page 10: ...x List of Figures Leading EDGE COMPUTING This page intentionally left blank...
Page 14: ...4 Introduction Leading EDGE COMPUTING This page intentionally left blank...
Page 34: ...24 Specifications Leading EDGE COMPUTING This page intentionally left blank...
Page 64: ...54 System Layout Leading EDGE COMPUTING This page intentionally left blank...
Page 69: ...Getting Started 59 DLAP 3000 3100 CF Left side screws Right side screws...
Page 130: ...120 BIOS Setup Leading EDGE COMPUTING This page intentionally left blank...
Page 140: ...130 Consignes de S curit Importante Leading EDGE COMPUTING This page intentionally left blank...