NI Linux Device Drivers Fails to Install DAQmx

Updated May 4, 2023

Reported In

Driver

  • NI Linux Device Drivers
  • NI-DAQmx

Operating System

  • Linux

Issue Details

I installed NI Linux Device Drivers (July 2019) for using DAQmx in CentOS7. But, DAQmx version was not being updated in version 9.7 after installation. (The document states that 19.1 should be installed.) Why? 

 

 

Solution

NI Linux Device Drivers contain several drivers, including DAQmx. The list and version of the drivers being installed can be found in the Readme document or Description on the download page.

If there is a problem when checking DAQmx version after installation, you should check the error log. Possible error logs are as follows :

ERROR:
   SMAP is enabled on this system and is not supported by NI-DAQmx.
   SMAP can be disabled by adding 'nosmap' to the kernel parameters
   as part of your boot configuration. Please consult your boot manager
   on how to update the kernel parameters.

   Aborting installation. To allow the installation to proceed,
   either disable SMAP or run 'touch /tmp/smap_install_ni_anyway', and
   then retry the installation command.


There are two solutions as shown in the log.

  1. Disable SMAP of Linux. (refer to: External Link- How can I enable/disable SMAP)
  2. Run command "touch /tmp/smap_install_ni_anyway"

Once the installation is complete, the DAQmx device cannot be recognized until the PC is rebooted.