Using C/C++ Previous topicNext topicFirst topicLast topic

Creating a PCIS-DASK Application Using C/C++

To create a data acquisition application using PCIS-DASK and C/C++, follow these steps:

step 1. Edit the source files.

        Include the header file dask.h in the C/C++ source files that call PCIS-DASK functions. dask.h contains
        all the function declarations and constants that you can use to develop your data acquisition application.
        Incorporate the following statement in your code to include the header file.

                #include  “dask.h”

step 2. Build your application.
        Usingthe appropriated C/C++ compiler (gcc or cc) to compile the program. You should also use the
       -lpci_dask option when linking.

               ex. gcc -o testai testai.c –lpci_dask