Table of Contents
API (Application Programming Interface) is a set of functions that can be called from your application to operate GPIO-24 adapter. The functions can be divided into two groups: initialization functions and device communication functions.
Initialization functions are used:
to initialize gpio_24.dll library and to uninitialize it ( GPIO_Init() and GPIO_Uninit());
to get the number of adapters connected currently to the computer ( GPIO_GetDeviceCount());
to open an adapter (GPIO_OpenDevice() ;
to close a specified adapter or all of them (GPIO_CloseDevice() and GPIO_CloseAllDevices()).
Device communication functions are used:
to send asynchronous commands to the adapter (GPIO_SendCommand());
to send synchronous commands to the adapter (GPIO_Transaction());
to get events or responses sent by a specified GPIO-24 adapter (GPIO_GetEvent()).