 jamwheeler
		
			jamwheeler
		
		
		
		
		
		
		
		
	
			
			
    
	
		
		
		03-26-2019
	
		
		05:56 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		11-16-2024
	
		
		05:07 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
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 (https://www.ni.com/en/support/downloads/drivers/download.ni-linux-device-drivers.html#349660). 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
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		11-16-2024
	
		
		05:08 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
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.
 eorivia
		
			eorivia
		
		
		
		
		
		
		
		
	
			
			
    
	
		
		
		03-27-2019
	
		
		10:15 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		11-16-2024
	
		
		05:09 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
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:
https://www.ni.com/en/support/downloads/drivers/download.ni-daqmx-base.html#326059
And its readme file is here:
https://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?
 eorivia
		
			eorivia
		
		
		
		
		
		
		
		
	
			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
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		11-16-2024
	
		
		05:09 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
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 https://www.ni.com/en/support/downloads/drivers/download.ni-daqmx-base.html#326059
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.