NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Development on NI Linux RT

I'm trying to use NI Linux RT (4.14.87) on a cRIO-9054 with GCC language tools for DAQmx application development.  "Hello World" is fine.  I successfully installed ni-daqmx 19.6.0, but the only '*mx.h' on the cRIO are unrelated.  Nothing satisfies libnidaqmx-devel like [this post].  Is there a way to program DAQmx apps on NI Linux RT/cRIO?

0 Kudos
Message 1 of 5
(2,554 Views)

Currently, I don't believe NI Drivers have *-devel or *-dev packages in the Linux Real-Time repos. For DAQmx specifically, I know of a couple cases where simply copying the nidaqmx.h file from a Windows or Linux Desktop system to the proper location in Linux RT has been sufficient. 

 

That being said, I'm not sure if there are any limitations to doing so. 

Charlie J.
National Instruments
0 Kudos
Message 2 of 5
(2,488 Views)

Do you think the DAQmx installer should put the header on the cRIO?

0 Kudos
Message 3 of 5
(2,475 Views)

Not necessarily. Adding files into the driver packages means that those drivers take up more space on the cRIO for every installation (whether they're using the extra items or not). Given the limited space on embedded devices in general, that's likely not an "optimal" solution.

Charlie J.
National Instruments
0 Kudos
Message 4 of 5
(2,471 Views)

That's fair, so what's the path for getting them through an optional -devel package?

0 Kudos
Message 5 of 5
(2,467 Views)