Python


Module include

- External function library module

To call the functions in our shared library with Python program, the external function library module (ctypes) is required.
Therefore, import the external function library module in the source code.
And, our shared library uses Windows-specific types, so please also import ctypes.wintypes

Description example :

import ctypes
import ctypes.wintypes
 

- API-AIO(WDM) definition module

To use the API-AIO(WDM) functions in Python, the caio.Py file is required.
Copy the API-AIO(WDM) definition module (AIOWDM/sample/Inc/caio.py) to the directory containing the program to be created.
Import the API-AIO(WDM) definition module in the source code.

Description example :

import caio
 

For more information, refer to the sample program source code.