From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx-base not installed after aparently successfull ./INSTALL

Hi,
I am a college student working on a process control lab, and I have to set up USB 6009 daq for some data collection.
I'm running Fedora Core 7, I know it is not supported but I have read of people successfuly installing drivers on this distro.
I need to install NI DAQmx-base (for the usb support). First I installed NIKAL-1.6. It installed just fine. The problem is in installing the DAQmx-base driver. When I try and install it (./INSTALL) it starts the installation procedure but once finished I notice that most of the drivers were not installed: here is the result of the install script:

[root@linux-lec driver]# ./INSTALL

  ***************************************
  * NI-DAQmx Base 2.1.0-f0 for Linux/x86 *
  ***************************************

National Instruments products support the following Linux distributions:
   Mandriva Linux Official
   SUSE Linux
   Red Hat Enterprise Linux WS
Refer to README for the latest information at the time of release.
Refer to www.ni.com/linux for the most recent information about Linux
support at National Instruments.

Continue? [Yn]

Do you want to install NI-DAQmx Base for C? [Yn]

Do you want to install NI-DAQmx Base USB Device Support? [Yn]

The following NI-DAQmx Base components will be installed:
NI-DAQmx Base for C
NI-DAQmx Base USB Device Support

NI-DAQmx Base 2.1.0-f0 requires NI-DAQmx Base PCI/PXI Support 2.1.0-f0.
This component has been selected automatically.

NI-DAQmx Base 2.1.0-f0 requires NI-DAQmx Base Common Utilities 2.1.0-f0.
This component has been selected automatically.

NI-DAQmx Base 2.1.0-f0 requires NI-VISA 4.0.0.
This component has been selected automatically.

Continue install? [Yn]


Running the NI-VISA installer...


  **********************************
  * NI-VISA 4.0.0 for Linux/x86
  **********************************

rpm 4.4.2 will be used with a default installation path

National Instruments products support the following Linux distributions:
   Mandriva Linux
   SUSE Linux
   Red Hat Enterprise Linux WS
Refer to readme.txt for the latest information at the time of release.
Refer to www.ni.com/linux for the most recent information about Linux
support at National Instruments.

This software is covered by the included license file (LICENSE.txt).
By installing this software you are acknowledging acceptance of the
terms of the license.

Searching for installed components ...

NI-VISA Development 4.0.0 requires CVI Runtime 8.0.
NI-VISA Configuration 4.0.0 requires CVI Runtime 8.0.
This component has been selected automatically.

NI-VISA Runtime 4.0.0 requires NI-ORB 1.5.0.
PXI Services 1.6.0 requires NI-ORB 1.5.0.
This component has been selected automatically.

PXI Services 1.6.0 requires NI-DIM 1.5.0.
This component has been selected automatically.

NI-ORB 1.5.0 requires NI-RPC 3.3.0.
This component has been selected automatically.

NI-VISA Runtime 4.0.0 requires NI-PAL 1.11.1.
PXI Services 1.6.0 requires NI-PAL 1.11.1.
NI-DIM 1.5.0 requires NI-PAL 1.11.1.
NI-ORB 1.5.0 requires NI-PAL 1.11.1.
This component has been selected automatically.

NI-PAL 1.11.1 requires NI-KAL 1.4.0.
sort: open failed: +0: No such file or directory
NI-KAL 1.4.0 (f0) is newer than installed version 1.6.0 (f0).
NI-KAL 1.4.0 will be installed over the existing version.

NI-VISA Development 4.0.0 requires LabVIEW Runtime 8.0.1.
NI Spy 2.4.0 requires LabVIEW Runtime 8.0.1.
LabVIEW Runtime 8.0.1 (1) already installed.

The following components will be installed using rpm:
  NI-VISA Runtime 4.0.0              5703 KB  (in /usr/local/vxipnp)
  NI-VISA Development 4.0.0          4477 KB  (in /usr/local/vxipnp)
  NI-VISA Configuration 4.0.0         658 KB  (in /usr/local/vxipnp)
  NI-VISA Server 4.0.0                227 KB  (in /usr/local/vxipnp)
  PXI Services 1.6.0                  791 KB  (in /usr/local/natinst/nipxi)
  NI Spy 2.4.0                       2171 KB  (in /usr/local/natinst/nispy)
  CVI Runtime 8.0                    8510 KB  (in /usr/local/natinst/cvirte)
  NI-ORB 1.5.0                        459 KB  (in /usr/local/natinst/.nicore)
  NI-DIM 1.5.0                        594 KB  (in /usr/local/natinst/.nicore)
  NI-RPC 3.3.0                        102 KB  (in /usr/local/natinst/.nicore)
  NI-PAL 1.11.1                      1768 KB  (in /usr/local/natinst/nipal)
  NI-KAL 1.4.0                        229 KB  (in /usr/local/natinst/nikal)
Total space required:               25689 KB
Space available:                  6200104 KB

sort: open failed: +0: No such file or directory
Installing selected components ...

Preparing...                ########################################### [100%]
        package nikali-1.6.0-f0 (which is newer than nikali-1.4.0-f0) is already installed

Running NI-KAL Post Installation Script ...


***********************************************************************
* A reboot is required before attempting to use the NI-VISA software. *
***********************************************************************

Installation completed successfully.

Please reboot manually before attempting to use NI-VISA software.

error: Failed dependencies:
        nivisa >= 4.0.0 is needed by nidaqmxbase-board-support-2.1.0-f0.i386
error: Failed dependencies:
        nidaqmxbase-board-support >= 2.1.0 is needed by nidaqmxbase-common-2.1.0-f0.i386
        nivisa >= 4.0.0 is needed by nidaqmxbase-common-2.1.0-f0.i386
error: Failed dependencies:
        nidaqmxbase-board-support >= 2.1.0 is needed by nidaqmxbase-cinterface-2.1.0-f0.i386
        nidaqmxbase-common >= 2.1.0 is needed by nidaqmxbase-cinterface-2.1.0-f0.i386
        nivisa >= 4.0.0 is needed by nidaqmxbase-cinterface-2.1.0-f0.i386
error: Failed dependencies:
        nivisa >= 4.0.0 is needed by nidaqmxbase-usb-support-2.1.0-f0.i386
        nidaqmxbase-common >= 2.1.0 is needed by nidaqmxbase-usb-support-2.1.0-f0.i386

Finished installing NI-DAQmx Base 2.1.0-f0.

Please reboot manually before attempting to use your NI drivers and products.


============================================================

And I notice that none of the proposed drivers were actually installed:

[root@linux-lec driver]# ls -al /usr/local/natinst/
total 32
drwxrwxr-x  4 root root 4096 2007-10-17 14:17 .
drwxr-xr-x 12 root root 4096 2007-10-17 13:42 ..
drwxrwxr-x  5 root root 4096 2007-10-17 14:17 nikal
drwxr-xr-x  5 root root 4096 2007-10-17 14:24 share


What should I do? Im about to give up on fedora core and go to open SuSe 10.3

Thanks in advance,
--
Donato Azevedo
Process Control Lab - UFMG - Brazil
0 Kudos
Message 1 of 7
(5,565 Views)
0 Kudos
Message 2 of 7
(5,540 Views)
donatoaz,

I am less familiar with installing NI-DAQmx Base onto unsupported distributions than NI-DAQmx, but I think you still may be able to be successful.  One thing you could try is to install NI-VISA 4.2 for Linux before attempting to install DAQmx Base 2.1.  This is a newer version than the version that ships with the driver, and looking at the error message in the script it would seem to indicate that there were errors during the VISA installation and this prevented DAQmx Base from installing properly.  You can get NI-VISA 4.2 at:

http://joule.ni.com/nidu/cds/view/p/id/852/lang/en

Getting VISA to install correctly would be a great start.  In fact, I think if you got NI-VISA to install you would be a good way there.  If the NI-VISA 4.2 installation still reports errors I would start digging into the INSTALL script.  Often errors are due to various parts of the distro that are in different places from the supported distributions and you can edit the Installation script to reflect these differences or add links between where the files are and where the installation script is expecting them.  Note that the installation script calls other scripts in the various subfolders so finding the problems may require some digging.  Hopefully NI-VISA 4.2 will just install on Fedora Core 7.

Let me know how it goes.  If you are successful in getting it to install please post back to the forum what you had to do so other users can benefit.

Regards,

Neil S.
Product Support Engineer
Multifunction DAQ
National Instruments

Message Edited by Neil S. on 10-19-2007 07:37 AM

0 Kudos
Message 3 of 7
(5,538 Views)
Mr Neil,
I was successful in installing DAQmx-base using this new version of NI-VISA (4.2)
I followed all the procedures according to the README, meaning:
I installed NIKAL-1.6 using the provided INSTALL script, then I installed the NI-VISA-4.2.0 using its INSTALL script and following that I installed the nidaqmxbase-2.1.0 driver using the provided INSTALL script.

I cannot tell you if this would work on a fresh install of FC7 for I have done some changes (reading some of the posts from other FC users) like adding UTS_RELEASE to the version.h kernel source file and linking the asm-offsets.h file to asm_offsets.h

Anyway, after the installation I did a lsdaq and got the following:
[root@linux-lec daq]# lsdaq
--------------------------------
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
NI USB-6009: "Dev1"    (USB0::0x3923::0x717B::00E18217::RAW)
--------------------------------

And after this I ran nidatalogger which opened up just fine.

Thank you very much for your help, I really appreciated the speed of response and the attention!

--
Donato Azevedo
0 Kudos
Message 4 of 7
(5,523 Views)
Awesome.  I am glad you were successful.

Regards,

Neil S.
0 Kudos
Message 5 of 7
(5,519 Views)

Hi,

 

I am experiencing problems very similar to this post.

 

I am using CentOS 4.7.

Linux dhcp0.lab 2.6.9-89.0.23.EL #1 Wed Mar 17 06:22:05 EDT 2010 i686 i686 i386 GNU/Linux

 

I am attempting to install NI-DAQmx Base 3.2.0f1 and (as a prerequisite) NI-VISA 4.4.

 

I used yum to get  /usr/src/kernels/2.6.9-89.0.23.EL-i686.  At first I was getting an error about the kernel-source being missing but I edited nikal/src/configure because I believe that the kernel source that I have corresponds to the one on the system.

 

When I run the ni-visa INSTALL, I get an error about nipal/nipalk.ko being missing:

NI-VISA Runtime 4.4.0 requires NI-VISA Runtime Kernel 4.4.0.
This component has been selected automatically.

NI-VISA Development 4.4.0 requires CVI Runtime 8.0.
NI-VISA Configuration 4.4.0 requires CVI Runtime 8.0.
This component has been selected automatically.

NI-VISA Runtime 4.4.0 requires NI-ORB 1.9.0.
PXI Services 1.6.0 requires NI-ORB 1.9.0.
NI-ORB 1.9.0 (f0) already installed.

PXI Services 1.6.0 requires NI-DIM 1.9.0.
NI-DIM 1.9.0 (f0) already installed.

NI-ORB 1.9.0 requires NI-RPC 4.0.0.
NI-RPC 4.0.0 (f1) already installed.

NI-VISA Runtime 4.4.0 requires NI-PAL 2.3.0.
PXI Services 1.6.0 requires NI-PAL 2.3.0.
NI-DIM 1.9.0 requires NI-PAL 2.3.0.
NI-ORB 1.9.0 requires NI-PAL 2.3.0.
NI-PAL 2.3.0 (f1) already installed.

NI-PAL 2.3.0 requires NI-PAL Kernel Support 2.3.0.
NI-PAL Kernel Support 2.3.0 (f1) already installed.

NI-PAL 2.3.0 requires NI-KAL 1.8.0.
NI-KAL 1.8.0 (f0) already installed.

NI-VISA Development 4.4.0 requires LabVIEW Runtime 8.2.1.
NI Spy 2.6.0 requires LabVIEW Runtime 8.2.1.
LabVIEW Runtime 8.2.1 (2) already installed.

The following components will be installed using rpm:
  NI-VISA Runtime 4.4.0              3113 KB  (in /usr/local/vxipnp)
  NI-VISA Runtime Kernel 4.4.0        109 KB  (in /usr/local/vxipnp)
  NI-VISA Development 4.4.0          9685 KB  (in /usr/local/vxipnp)
  NI-VISA Configuration 4.4.0         500 KB  (in /usr/local/vxipnp)
  NI-VISA Server 4.4.0                236 KB  (in /usr/local/vxipnp)
  CVI Runtime 8.0                    8555 KB  (in /usr/local/natinst/cvirte)
Total space required:               22198 KB
Space available:                222036856 KB

Continue? [Yn] y

Installing selected components ...

Preparing...                ########################################### [100%]
   1:nicvirte               ########################################### [ 17%]
   2:nivisak                ########################################### [ 33%]
   3:nivisa                 ########################################### [ 50%]
   4:nivisa-devel           ########################################### [ 67%]
   5:nivisa-config          ########################################### [ 83%]
   6:nivisaserver           ########################################### [100%]

Running NI-VISA Runtime Kernel Post Installation Script ...

Running NI-VISA Runtime Post Installation Script ...

error: /lib/modules/2.6.9-89.0.23.EL/kernel/natinst/nipal/nipalk.ko not found
error: Please compile and install nipalk.ko by running
error:  updateNIDrivers

 

When I run updateNIDrivers, I see that nikal/nikal.ko is generated, but no nipal directory or nipal/nipalk.ko exists.

 

How can I obtain nipalk.ko?  Why isn't it being generated?

 

Thank you in advance for your help.

0 Kudos
Message 6 of 7
(4,518 Views)

Hi!

I've the same problem.

Have you find a solution?

 

 

Or... There's someone who find a solution?

0 Kudos
Message 7 of 7
(4,237 Views)