Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Ansi C examples for Nidaq devices with traditional nidaq drivers

Hello,
I have a program in labview that makes data acquisition from a daq device
But  this program is very slow and we want to make it faster, by programming with anci C. I have
traditional NiDaq drivers, and i want to continue with those drivers
because we have some other applications written with those and we don't
want to change them.So the program we want include retregerable pulse
generation,pulse generation every N source count,
Continuous Analog output, Continuous analog input.
Can you send me some examples to start with and some instuctions how to run
them?For example which libraries and heading files to use. In my computer i don't have any example in ansi C for traditional nidaq, i have only for nidaqmx. Is there any way to find and install them in my computer?
0 Kudos
Message 1 of 2
(3,465 Views)

Hi eugenia,

There are tons of examples that should be located on your computer when you install the Traditional NI-DAQ driver.  However the process is not always intuitive.  There are a few KBs that outline how to install these examples depending on your driver version.  If you are using Traditional NI-DAQ 6.5, 6.6 or 6.7, then use this KB.  If you are using Traditional NI-DAQ 6.8 or higher, then use this KB.  Here is a great resource for finding help with all of the Traditional NI-DAQ functions.   

The only include file that you needs to be added besides the usual libraries is nidaqex.h.

Respectfully,

Rob F
Test Engineer
Condition Measurements
National Instruments
0 Kudos
Message 2 of 2
(3,437 Views)