03-26-2019 05:56 PM
Hello,
What version of ni-daqmx (base?) do I need to install in order to talk to the NI 9215-USB (BNC) on CentOS7? I finally got my GPIB working using a third-party library (https://github.com/vddvss/linux-gpib-packaging/issues/2), but I haven't been able to list the device using the most recent ni-daqmx installed using yum from the rpms provided here (http://www.ni.com/download/ni-linux-device-drivers-2018/7664/en/). It doesn't seem like they're supported, from what I see in the README.
Solved! Go to Solution.
03-26-2019 11:54 PM
http://www.ni.com/product-documentation/6913/en/
It says that the USB 9215 should be supported, but then when I click on the Linux driver, it says that it isn’t supported. Clarification would be nice.
03-27-2019 10:15 AM - edited 03-27-2019 10:19 AM
I believe this knowledge article could be of use:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NhFSAU&l=en-US
For what I see, your best bet would be to go with DAQmx base 15.0. In its readme file it enlist CentOS 7 as compatible and your USB-9215 is also listed. You can download it here:
http://www.ni.com/download/ni-daqmx-base-15.0/5644/en/
And its readme file is here:
http://download.ni.com/support/softlib//multifunction_daq/nidaqmxbase/15.0/linux/README.txt
I hope that helps!
03-27-2019 10:59 AM
Mine is a 9215, not a 9215A... does that make a difference do you think?
03-27-2019 11:47 AM
I believe it does, but in the txt readme file (link attached to my previous response) one of the entries for "Changes from previous versions" list the support for USB-9215 added since version 1.3.1
03-27-2019 12:06 PM
Gotcha. Thanks.
I think I had tried this using the ni-daqmx included in the most recent CentOS .rpm repository yesterday, and then tried installing ni-daqmx v18 fom the .iso image, but without luck.
I will try the version that you have recommended this afternoon (Pacific time)
03-27-2019 02:08 PM
Now I am getting this error:
$ lsdaq
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
/usr/local/bin/lsdaq: /etc/natinst/nidaqmxbase/bin/daqmxbase_listdevices: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Steps to reproduce:
1. Install CentOS7
2. Install NIKAL using NI-VISA 16 (because: https://forums.ni.com/t5/Linux-Users/NI488-2-15-1-1-fails-to-install-on-Centos-7-3-1611/gpm-p/356876...)
3. Install NI-DAQmx Base 15.0 from http://www.ni.com/download/ni-daqmx-base-15.0/5644/en/
03-27-2019 02:15 PM
Next, I ran:
sudo yum install glibc.i686 libstdc++.so.6
Now I get this error:
$ lsdaq
--------------------------------
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
/usr/local/bin/lsdaq: line 7: 7413 Aborted (core dumped) /etc/natinst/nidaqmxbase/bin/daqmxbase_listdevices
# updateNIDrivers
bash: updateNIDrivers: command not found...
03-27-2019 03:06 PM
I did a yum update, then I uninstalled nivisa16, then I installed nivisa17, then I uninstalled nivisa17, then I installed nivisa18 through the rpm -i sudo rpm -i rpm_RHEL7CentOS7.rpm, sudo yum install ni-visa.
lsusb works, but lsdaq still does not.
03-27-2019 05:59 PM
I got it. I had to install NIKAL v 17.5 for Linux in addition to the previous updates. After a reboot, I was able to see my device via lsdaq.
Because this is nidaqmx-base, and not nidaqmx, I don't have access to all the shiny features of the nidaqmx python library. However, PyDAQmx seems to do the job.