Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQ 6211 firmware download under Linux

Hello,

I am trying to get a few NI-DAQ USB 6211 to work under Ubuntu (I am aware Debian/Ubuntu is not officially supported by NI but I managed earlier to install NI-DAQmx Base v3.1.0 in it -- see my post at http://forums.ni.com/ni/board/message?board.id=250&thread.id=36713). For some reason, after performing a new clean install of Ubuntu and NI-DAQmx Base, I'm still experiencing some trouble. Here is my system version:

robot601@rle-063:~$ uname -a
Linux rle-063 2.6.20-16-generic #2 SMP Tue Dec 18 05:45:12 UTC 2007 i686 GNU/Linux

I should mention first that all the nidaq libraries and tools (lsdaq, dmxbUSBfirmware.sh etc.) appear to have been correctly installed; here are some directory listings:
robot601@rle-063:~$ ls /usr/local/natinst/nidaqmxbase/bin/ -l
total 59824
lrwxrwxrwx 1 root root       34 2008-02-03 17:59 bin -> /usr/local/natinst/nidaqmxbase/bin
-rwxr-xr-x 1 root root     4408 2008-01-21 12:46 daqmxbase_listdevices
-rwxr-xr-x 1 root root      160 2008-01-21 12:49 dmxbUSBfirmware.sh
-rwxr-xr-x 1 root root   579615 2008-01-21 12:49 FWUpdate
-rwxr-xr-x 1 root root      284 2008-01-21 12:46 lsdaq
-rwxr-xr-x 1 root root      189 2008-01-21 12:46 mxbaseconfig
-rwxr-xr-x 1 root root  3641798 2008-01-21 12:46 mxbaseconfiglv
-rwxr-xr-x 1 root root      182 2008-01-21 12:46 nidatalogger
-rwxr-xr-x 1 root root 56888040 2008-01-21 12:46 nidataloggerlv
-rwxr-xr-x 1 root root    42244 2008-01-21 12:49 niusb9162dlfw
drwxr-xr-x 2 root root     4096 2008-02-03 17:59 support
robot601@rle-063:~$ ls /usr/local/lib/*ni* -l
lrwxrwxrwx 1 root root 43 2008-02-02 17:13 /usr/local/lib/libnianlys.so -> /usr/local/natinst/cvirte/lib/libnianlys.so
lrwxrwxrwx 1 root root 21 2008-02-03 17:59 /usr/local/lib/libnidaqmxbaselv.so -> libnidaqmxbaselv.so.3
lrwxrwxrwx 1 root root 25 2008-02-03 17:59 /usr/local/lib/libnidaqmxbaselv.so.3 -> libnidaqmxbaselv.so.3.1.0
lrwxrwxrwx 1 root root 60 2008-02-03 17:59 /usr/local/lib/libnidaqmxbaselv.so.3.1.0 -> /usr/local/natinst/nidaqmxbase/lib/libnidaqmxbaselv.so.3.1.0
lrwxrwxrwx 1 root root 19 2008-02-03 17:59 /usr/local/lib/libnidaqmxbase.so -> libnidaqmxbase.so.3
lrwxrwxrwx 1 root root 23 2008-02-03 17:59 /usr/local/lib/libnidaqmxbase.so.3 -> libnidaqmxbase.so.3.1.0
lrwxrwxrwx 1 root root 58 2008-02-03 17:59 /usr/local/lib/libnidaqmxbase.so.3.1.0 -> /usr/local/natinst/nidaqmxbase/lib/libnidaqmxbase.so.3.1.0
lrwxrwxrwx 1 root root 29 2008-02-02 17:15 /usr/local/lib/libnidimu.so -> /usr/local/lib/libnidimu.so.1
lrwxrwxrwx 1 root root 33 2008-02-02 17:15 /usr/local/lib/libnidimu.so.1 -> /usr/local/lib/libnidimu.so.1.8.0
lrwxrwxrwx 1 root root 49 2008-02-02 17:15 /usr/local/lib/libnidimu.so.1.8.0 -> /usr/local/natinst/.nicore/lib/libnidimu.so.1.8.0
lrwxrwxrwx 1 root root 29 2008-02-02 17:15 /usr/local/lib/libniorbu.so -> /usr/local/lib/libniorbu.so.1
lrwxrwxrwx 1 root root 33 2008-02-02 17:15 /usr/local/lib/libniorbu.so.1 -> /usr/local/lib/libniorbu.so.1.8.0
lrwxrwxrwx 1 root root 49 2008-02-02 17:15 /usr/local/lib/libniorbu.so.1.8.0 -> /usr/local/natinst/.nicore/lib/libniorbu.so.1.8.0
lrwxrwxrwx 1 root root 29 2008-02-02 17:15 /usr/local/lib/libnipalu.so -> /usr/local/lib/libnipalu.so.2
lrwxrwxrwx 1 root root 18 2008-02-02 17:13 /usr/local/lib/libnipalu.so.1 -> libnipalu.so.2.2.0
lrwxrwxrwx 1 root root 33 2008-02-02 17:15 /usr/local/lib/libnipalu.so.2 -> /usr/local/lib/libnipalu.so.2.2.0
lrwxrwxrwx 1 root root 47 2008-02-02 17:15 /usr/local/lib/libnipalu.so.2.2.0 -> /usr/local/natinst/nipal/lib/libnipalu.so.2.2.0
lrwxrwxrwx 1 root root 31 2008-02-02 17:15 /usr/local/lib/libnipxirmu.so -> /usr/local/lib/libnipxirmu.so.1
lrwxrwxrwx 1 root root 35 2008-02-02 17:15 /usr/local/lib/libnipxirmu.so.1 -> /usr/local/lib/libnipxirmu.so.1.6.0
lrwxrwxrwx 1 root root 49 2008-02-02 17:15 /usr/local/lib/libnipxirmu.so.1.6.0 -> /usr/local/natinst/nipxi/lib/libnipxirmu.so.1.6.0
lrwxrwxrwx 1 root root 28 2008-02-02 17:15 /usr/local/lib/libnirpc.so -> /usr/local/lib/libnirpc.so.3
lrwxrwxrwx 1 root root 32 2008-02-02 17:15 /usr/local/lib/libnirpc.so.3 -> /usr/local/lib/libnirpc.so.3.4.1
lrwxrwxrwx 1 root root 48 2008-02-02 17:15 /usr/local/lib/libnirpc.so.3.4.1 -> /usr/local/natinst/.nicore/lib/libnirpc.so.3.4.1
lrwxrwxrwx 1 root root 17 2008-02-03 17:59 /usr/local/lib/libniusb9162.so -> libniusb9162.so.3
lrwxrwxrwx 1 root root 36 2008-02-03 17:59 /usr/local/lib/libniusb9162.so.3 -> /usr/local/lib/libniusb9162.so.3.1.0
lrwxrwxrwx 1 root root 56 2008-02-03 17:59 /usr/local/lib/libniusb9162.so.3.1.0 -> /usr/local/natinst/nidaqmxbase/lib/libniusb9162.so.3.1.0
robot601@rle-063:~$ lsmod | grep ni
nipxirmk              124756  1
nidimk                382880  2 nipxirmk
niorbk                128212  2 nipxirmk,nidimk
nipalk               1430160  5 nipxirmk,nidimk,niorbk
nikal                  79328  3 nipalk
usbcore               134280  5 nikal,usbhid,ehci_hcd,uhci_hcd

However, when I plug my NI 6211 USB, the LED does not blink which I believe means the firmware has not been downloaded. This is confirmed by displaying /proc/bus/usb/devices:

....
T:  Bus=04 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  6 Spd=480 MxCh= 0
😧  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=3923 ProdID=7269 Rev= 0.00         # <-------------------- this indicates that the firmware has not been downloaded
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 0 Alt= 1 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
....

I have checked that the appropriate scripts are set up in udev, so the firmware downlaoder is indeed started upon connection of the NI-DAQ. For some reason however it fails; below is what I get when I manually start it:

robot601@rle-063:~$ sudo bash /usr/local/natinst/nidaqmxbase/bin/dmxbUSBfirmware.sh
/usr/local/natinst/nidaqmxbase/bin/dmxbUSBfirmware.sh: line 9:  6814 Aborted                 (core dumped) /etc/natinst/nidaqmxbase/bin/niusb9162dlfw


I have tried reinstalling the driver several times as well as running updateNIDrivers, but this has not fixed the issue. Any assistance would be greatly appreciated.

Thanks.
0 Kudos
Message 1 of 2
(4,333 Views)

Hi klt-

Can you run other NI-DAQmx Base utilities with success?  For example, can you run lsdaq from the command line?  What about the NI-DAQmx Base Task Configuration Utility (mxbaseconfig)? 

As a bit of background information, all of the tools I mentioned (lsdaq, mxbaseconfig, dmxbUSBfirmware.sh/niusb9162dlfw) rely on the LabVIEW run-time engine on some level.  So, I would like to verify that other LabVIEW-based utilities work correctly before we assume that there is a lower-level problem.

Thanks-

Tom W
National Instruments
0 Kudos
Message 2 of 2
(4,323 Views)