LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

example C code for USB6008

Hello

Prior to buying the USB 6008 DAQ board, I would like to see some sample codes to program it in ANSI-C in Linux environment.

I can't find it on the NI website.

1- Can anyone suply me some sample code?

2 - How easy is it to program it? Any comments from users who did it are appreciated

3 - How do you access the NI libraries? Does one only need to make an #include on the begining of the code?

 

Thanx, regards

 

0 Kudos
Message 1 of 2
(3,358 Views)

Hello,

 

As you are using Linux, only NI-DAQmx 8.0 and NI-DAQmx Base are officially supported. Once you have installed these libraries, you will get C examples with it (in C:\Program Files\National Instruments\NI-DAQmx Base\Examples). I have attached one of the examples given with NI-DAQmx Base.

I would say it is not hard to program it but have a look by yourself.

 

Regards,

0 Kudos
Message 2 of 2
(3,317 Views)