Getting Started with Advantech DAQ Device Linux Driver

This chapter provides a step-by-step example to demonstrate how to build an application using Device Driver from scratch.

This example performs a single port digital value reading from the simulated device associated with "/dev/advdaq0" device file.

Advantech Linux Device Driver is a set of dynamic-link library. Following is the list of the necessary files for programming:

File Name Description File Location
advdaq.h Function declaration /usr/include/advdaq.h
advdevice.h Data structure definition /usr/include/advdevice.h
libadvdaq.so Library file for C/C++ /usr/lib/libadvdaq.so