10-22-2012 02:47 PM
Trying to get NIDAQmxBase 3.6 w/ USB support for installed on LINUX RHEL 6.3 x86_x64 WS
USB 6501 OEM,
USB 6009 OEM
running as root:
[root@NIX1 /]# mount
usbfs appears to be mounted.. etc/fstab modified to mount as shown
/dev/mapper/vg_nix1-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
usbfs on /proc/bus/usb type usbfs (rw,devmode=0666)
/dev/sdb1 on /boot type ext4 (rw)
/dev/mapper/vg_nix1-lv_home on /home type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sr0 on /media/NIDAQmxBase360 type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=500,gid=500,iocharset=utf8,mode=0400,dmode=0500)
lsdaq runs and complains about firmware:
[root@NIX1 /]# /usr/local/natinst/nidaqmxbase/bin/lsdaq
--------------------------------
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
Device Error: incompatible firmware. Serial Number: 01646C23
Execute <NI-DAQmx Base directory>/bin/FWUpdate to update.
green light on USB 6501 is blinking steadily
running FWUpdate compains as follows:
--------------------------------
[root@NIX1 /]# /usr/local/natinst/nidaqmxbase/bin/FWUpdate
Can't load library /usr/local/lib/liblvrt.so.12.0
libXinerama.so.1: cannot open shared object file: No such file or directory
To download the LabVIEW Runtime engine, go to http://www.ni.com/rteFinder?dest=lvrte&version=12.0&platform=Linux&lang=en
locating /usr/local/lib/liblvrt.sa.12.0 reports:
[root@NIX1 /]# locate liblvrt.so.12.0
/usr/local/lib/liblvrt.so.12.0
/usr/local/lib/LabVIEW-2012/liblvrt.so.12.0.0
stat on file reports:
[root@NIX1 /]# stat /usr/local/lib/liblvrt.so.12.0
File: `/usr/local/lib/liblvrt.so.12.0' -> `LabVIEW-2012/liblvrt.so.12.0.0'
Size: 30 Blocks: 0 IO Block: 4096 symbolic link
Device: fd00h/64768d Inode: 131699 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-10-22 14:27:59.858557301 -0400
Modify: 2012-10-22 14:27:59.813443661 -0400
Change: 2012-10-22 14:27:59.813443661 -0400
NIDAQmxBase 3.6 installs VISA and "C" interface via .\INSTALL, reports success, looks normal.
cannot successfully run lsdaq, FWUpdate, or anything on the National Instruments Applications Menu (NI-VISA submenu, NI I/O Trace.)
My guess is the permissions are still hosed.
Solved! Go to Solution.
10-22-2012 04:10 PM
libXinerama.so.1 is elf64 x86-64
and is trying to link to /usr/local/lib/liblvrt.so.12.0 which is elf32 i386
(I though only I did that...)
from installed NI-VISA/README
SYSTEM REQUIREMENTS
-------------------
NI-VISA 5.2 for Linux software requires one of the following distributions:
openSUSE 12.1
openSUSE 11.4
Red Hat Enterprise Linux Desktop + Workstation 6
Red Hat Enterprise Linux Desktop + Workstation 5
Scientific Linux 6.x
Scientific Linux 5.x
Currently, only 32-bit applications are supported on the x86-64
architecture.
And in NIDAQmxBase readme:
OPERATING SYSTEM SUPPORT
NI-DAQmx Base 3.6.0 supports:
openSUSE 11.4 and 12.1,
Red Hat Enterprise Linux WS 5 (x86/x86_64) and 6 (x86/x86_64),
Scientific Linux 5.x and 6.x,
and Mac OS X v10.6.x (x86/x86_64) and v10.7.x (x86/x86_64)
Currently, only 32-bit applications are supported on the x86-64 architecture.
So I need to install 32 bit version of libXinerama before running these, because only 64 bit is installed by default.
10-22-2012 04:50 PM
Resolved, and was able to update firmware.
Well explained here... http://digital.ni.com/public.nsf/allkb/93C92D41B25341B286257A4D007BACB8
and useful how-to here. http://h10025.www1.hp.com/ewfrf/wc/document?cc=ca&dlc=en&docname=c01769573&lc=en