Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Linux, DAQmx -- where is the documentation?

On Cent7, I added the repository and yum installed ni-daqmx just fine.  /usr/include/NIDAQmx.h exists.  Where are the example files?  Is there a PDF, HTML, or other documentation package available for the C API?  I've been going round and round on ni.com for an hour and not found anything, the windows paths are always referenced.

 

The directory /usr/local/natinst only contains a 'share' folder and not anything for daqmx as I've found (ancient, daqmx v8) references to.

0 Kudos
Message 1 of 2
(1,968 Views)

You can find examples at http://www.ni.com/download/ni-linux-device-drivers-2018/7664/en/. There's a file called NI-DAQmx 18.1 Linux C Examples.zip. This contains examples in C with Makefiles provided. Have you successfully run "dkms autoinstall" after installing the NI drivers? That will tell you if all of the necessary packages have been installed. If that worked then you should be able to browse to one of the examples and just run "make" to build the example.

0 Kudos
Message 2 of 2
(1,866 Views)