A.2 di/o with api/windows, Gpio_init, Gpi_read() – ADLINK MXE-200i User Manual
Page 50: Di/o with api/windows
36
Watchdog Timer (WDT) & DI/O Function Libraries
FALSE
if watchdog timer fails to stop.
A.2 DI/O with API/Windows
Matrix DI/O API library files and a demo program (incl. source
code) are located on the included driver CD or downloaded from
http://www.adlinktech.com.
To use the DI/O function library for MXE-200 series, include the
header file matrix_dio.h and linkage library matrix_dio.lib in the
C++ project.
DI/O functions are as follows.
GPIO_Init
Reserves system resources for digital input/output API ser-
vice.It is necessary to call this function before using other MXE-
200 DI/O functions.
@ Syntax
C/C++
I16 GPIO_Init(void)
@ Parameters
None
@ Return code
NoError
ErrorOpenDriverFailed
ErrorDeviceIoctl
GPI_Read()
Reads the digital logic state of the digital input line..
@ Syntax
C/C++
I16 GPI_Read(U16 *pwState)
@ Parameters
pwState